/* ========================================
   Coach Ramiro's Water Polo Performance Lab
   Clean, modern, sporty design
   ======================================== */

:root {
  --blue-deep: #0a1628;
  --blue-dark: #0f2444;
  --blue-mid: #1a5276;
  --blue-bright: #2e86de;
  --blue-light: #d6eaf8;
  --blue-pale: #eaf2f8;
  --gold: #f39c12;
  --gold-light: #fdebd0;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #868e96;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --red: #e74c3c;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
.hidden { display: none !important; }

/* Container */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 680px; margin: 0 auto; padding: 0 24px; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('https://images.unsplash.com/photo-1572209126554-965c8665a4fb?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920') center center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.75) 0%, rgba(10,22,40,0.55) 50%, rgba(10,22,40,0.8) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 40px 24px;
}
.hero-tag {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--blue-deep);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: #e67e22;
  border-color: #e67e22;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-full { width: 100%; }
.btn-submit { width: 100%; font-size: 1.1rem; padding: 16px 32px; }
.btn-row { display: flex; gap: 12px; margin-top: 8px; }
.btn-row .btn { flex: 1; }

/* ---- SECTIONS ---- */
.section { padding: 80px 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--blue-deep); color: var(--white); }
.section-blue { background: var(--blue-dark); color: var(--white); }

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue-bright);
  margin-bottom: 12px;
}
.section-tag-light { color: var(--gold); }

.section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.text-white { color: var(--white); }
.text-light { color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.section-intro { color: var(--gray-600); max-width: 600px; margin-bottom: 40px; }

/* ---- SPLIT LAYOUT ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4/3;
}

/* ---- CARDS ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.card-icon {
  color: var(--gold);
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}
.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}

/* ---- IMAGE BREAK ---- */
.image-break {
  height: 400px;
  overflow: hidden;
  position: relative;
}
.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.image-break-short { height: 300px; }

/* ---- PRICING ---- */
.time-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.time-block {
  background: var(--blue-pale);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.time-block-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-mid);
  margin-bottom: 4px;
}
.time-block-time {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-deep);
}
.time-block-ages {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-top: 4px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.price-card {
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.price-card:hover {
  border-color: var(--blue-bright);
  transform: translateY(-2px);
}
.price-card-featured {
  border-color: var(--gold);
  background: var(--gold-light);
}
.price-card-featured:hover { border-color: #e67e22; }
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--blue-deep);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-freq {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1;
}
.price-period {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 4px;
}
.price-detail {
  font-size: 0.85rem;
  color: var(--blue-bright);
  font-weight: 600;
  margin-top: 12px;
}
.pricing-note {
  font-size: 0.9rem;
  color: var(--gray-500);
  text-align: center;
}
.bonuses {
  margin-top: 48px;
  text-align: center;
}
.bonuses-title {
  font-size: 1.4rem;
  color: var(--blue-dark);
  font-weight: 700;
}
.bonuses .cards {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.bonuses .card {
  background: var(--blue-deep);
  border: 2px solid var(--gold);
  color: var(--white);
}
.bonuses .card h3 {
  color: var(--gold);
}
.bonuses .card p {
  color: var(--gray-200);
}
.bonuses .card-icon {
  color: var(--gold);
}

/* ---- FORM ---- */
.form-progress {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
}
.progress-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  transition: all var(--transition);
}
.progress-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.progress-step.active {
  background: rgba(243,156,18,0.15);
  color: var(--gold);
}
.progress-step.active span {
  background: var(--gold);
  color: var(--blue-deep);
}
.progress-step.done {
  background: rgba(46,134,222,0.15);
  color: var(--blue-bright);
}
.progress-step.done span {
  background: var(--blue-bright);
  color: var(--white);
}

.form-step { display: none; }
.form-step.active { display: block; }

.form-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}
.field label small {
  font-weight: 400;
  color: rgba(255,255,255,0.5);
}
.req { color: var(--gold); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field textarea,
.field select {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Radio & Checkbox Cards */
.radio-group, .checkbox-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.radio-group-stack, .checkbox-group-stack {
  flex-direction: column;
}

.radio-card, .check-card {
  position: relative;
  cursor: pointer;
}
.radio-card input, .check-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio-card span, .check-card span {
  display: block;
  padding: 10px 20px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
  text-align: center;
}
.radio-card-wide span, .check-card-wide span {
  text-align: left;
  padding: 14px 20px;
}
.radio-card input:checked + span,
.check-card input:checked + span {
  background: rgba(243,156,18,0.15);
  border-color: var(--gold);
  color: var(--white);
}
.radio-card:hover span, .check-card:hover span {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9);
}

/* Success */
.form-success {
  text-align: center;
  padding: 40px 0;
}
.success-icon { color: var(--gold); margin-bottom: 20px; }
.form-success h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.form-success p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--blue-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.footer-small {
  font-size: 0.75rem;
  margin-top: 8px;
  color: rgba(255,255,255,0.3);
}
.footer a { color: rgba(255,255,255,0.5); }
.footer a:hover { color: rgba(255,255,255,0.8); }

/* ---- WEEKEND TIME BLOCK ---- */
.time-block-weekend {
  background: var(--gold-light);
  border: 2px solid var(--gold);
}
.time-block-weekend .time-block-label {
  color: var(--gold);
}
.time-block-weekend .time-block-time {
  color: var(--blue-deep);
}

/* ---- WEEKEND INFO BOX (form) ---- */
.weekend-info {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(243,156,18,0.1);
  border: 1px solid rgba(243,156,18,0.3);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
}
.weekend-info-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.weekend-info strong {
  color: var(--gold);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 4px;
}
.weekend-info p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* ---- ERROR STATES ---- */
.field-error input,
.field-error textarea {
  border-color: var(--red) !important;
}
.error-msg {
  font-size: 0.8rem;
  color: var(--red);
  margin-top: 4px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split-image { order: -1; }
  .cards { grid-template-columns: 1fr; }
  .time-blocks { grid-template-columns: 1fr 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-progress {
    flex-wrap: wrap;
  }
  .progress-step {
    font-size: 0.7rem;
    padding: 10px 12px;
    gap: 6px;
  }
  .hero { min-height: 80vh; }
  .section { padding: 60px 0; }
  .image-break { height: 250px; }
  .image-break-short { height: 200px; }
  .btn-row { flex-direction: column; }
  .radio-group { flex-direction: column; }
  .checkbox-group:not(.checkbox-group-stack) {
    flex-direction: row;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .section h2 { font-size: 1.5rem; }
  .price-amount { font-size: 2rem; }
}

/* ── Waiver Page ──────────────────────────────────────────────── */

.waiver-header {
  background: var(--blue-deep);
  padding: 60px 0 40px;
  text-align: center;
}
.waiver-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.waiver-subtitle {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.waiver-meta {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}
.waiver-version {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  margin-top: 4px;
}
.waiver-instructions {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-top: 16px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.waiver-field-note {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-bottom: 16px;
  line-height: 1.4;
}
.waiver-back-link {
  display: inline-block;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-decoration: none;
  transition: color 0.2s;
}
.waiver-back-link:hover {
  color: var(--gold);
}

.waiver-section {
  background: var(--blue-dark);
  padding-bottom: 80px;
}

/* Required asterisk */
.required { color: var(--gold); }

/* Date inputs inherit same style as text inputs */
.field input[type="date"] {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
  color-scheme: dark;
}
.field input[type="date"]:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}

/* Form blocks */
.waiver-form-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 24px;
}
.waiver-form-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.waiver-note {
  background: rgba(243,156,18,0.1);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

/* Waiver form block text (ensure readability on dark bg) */
.waiver-form-block p,
.waiver-signature-block p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Legal sections */
.waiver-legal {
  margin: 32px 0;
}
.waiver-legal-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.waiver-legal-section:last-child {
  border-bottom: none;
}
.waiver-legal-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.waiver-legal-section p {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 10px;
}
.waiver-legal-section ul {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  line-height: 1.7;
  padding-left: 20px;
  margin-bottom: 12px;
}
.waiver-legal-section ul li {
  margin-bottom: 4px;
}
.waiver-legal-section strong {
  color: var(--white);
}

/* Risk list */
.waiver-risk-list {
  columns: 2;
  column-gap: 24px;
}
@media (max-width: 600px) {
  .waiver-risk-list { columns: 1; }
}

/* Optional badge */
.waiver-optional-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 8px;
}

/* Media release options */
.waiver-media-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}
.waiver-media-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.waiver-media-option:hover {
  border-color: rgba(255,255,255,0.2);
}
.waiver-media-option input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}
.waiver-media-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.waiver-media-label strong {
  color: var(--white);
  font-size: 0.95rem;
}
.waiver-media-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.83rem;
  line-height: 1.5;
}
.waiver-media-note {
  font-size: 0.83rem !important;
  color: rgba(255,255,255,0.5) !important;
  font-style: italic;
}
.waiver-media-note a {
  color: var(--gold);
}

/* Medical checkboxes */
.waiver-medical-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .waiver-medical-checks { grid-template-columns: 1fr; }
}
.waiver-medical-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  transition: border-color 0.2s;
}
.waiver-medical-check:hover {
  border-color: rgba(255,255,255,0.2);
}
.waiver-medical-check input[type="checkbox"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
}

/* Signature block */
.waiver-signature-block {
  border-color: var(--gold);
  border-width: 2px;
}
.signature-input {
  font-family: 'Inter', cursive, sans-serif;
  font-style: italic;
  font-size: 1.15rem !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Agree label */
.waiver-agree-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 12px 0;
}
.waiver-agree-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
}
.waiver-agree-label span {
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Submit block */
.waiver-submit-block {
  text-align: center;
  margin-top: 32px;
}
.waiver-submit-note {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  margin-top: 12px;
}

/* Select dropdown styling for waiver */
.waiver-form-block select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.waiver-form-block select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}
.waiver-form-block select option {
  background: var(--blue-deep);
  color: var(--white);
}

/* Waiver link in footer / success */
.waiver-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}
.waiver-link:hover {
  text-decoration: underline;
}

/* Error states for waiver-specific fields */
.field-error select,
.field-error input[type="date"] {
  border-color: var(--red) !important;
}

/* ── Printable Signed Waiver ─────────────────────────────────── */

.print-waiver {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 40px 0;
  box-shadow: var(--shadow-lg);
}
.print-waiver-inner {
  padding: 48px 40px;
}
.print-header {
  text-align: center;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--gray-200);
}
.print-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 4px;
}
.print-org {
  color: var(--blue-mid);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.print-entity {
  color: var(--gray-500);
  font-size: 0.82rem;
}
.print-version {
  color: var(--gray-400);
  font-size: 0.78rem;
  margin-top: 4px;
}

/* Sections */
.print-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
}
.print-section:last-of-type {
  border-bottom: none;
}
.print-section h2 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-mid);
  margin-bottom: 12px;
}

/* Info tables */
.print-table {
  width: 100%;
  border-collapse: collapse;
}
.print-table td {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--gray-800);
  vertical-align: top;
}
.print-table td:first-child {
  width: 160px;
  font-weight: 600;
  color: var(--gray-600);
}

/* Legal text in print view */
.print-legal {
  page-break-before: auto;
}
.print-legal-section {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}
.print-legal-section:last-child {
  border-bottom: none;
}
.print-legal-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 8px;
}
.print-legal-section p {
  color: var(--gray-700);
  font-size: 0.82rem;
  line-height: 1.65;
  margin-bottom: 6px;
}
.print-legal-section ul {
  color: var(--gray-700);
  font-size: 0.82rem;
  line-height: 1.65;
  padding-left: 18px;
  margin-bottom: 8px;
}
.print-legal-section strong {
  color: var(--gray-900);
}

/* Signature */
.print-signature-section {
  border-bottom: none;
  margin-top: 32px;
}
.print-sig-block {
  margin-top: 16px;
}
.print-sig-role {
  font-weight: 600;
  color: var(--gray-600);
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.print-sig-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid var(--blue-deep);
  padding-bottom: 4px;
  margin-bottom: 4px;
}
.print-sig-name {
  font-family: 'Inter', cursive, sans-serif;
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blue-deep);
}
.print-sig-date {
  font-size: 0.9rem;
  color: var(--gray-700);
}
.print-sig-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.print-esign-note {
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* Action buttons (screen only) */
.print-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.btn-outline-dark {
  display: inline-block;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-300);
  background: transparent;
  color: var(--gray-700);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all var(--transition);
}
.btn-outline-dark:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
  text-decoration: none;
}

/* ── Print Styles ────────────────────────────────────────────── */

@media print {
  /* Hide everything except the signed waiver */
  .waiver-header,
  .footer,
  .waiver-back-link,
  .no-print {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 11pt;
  }

  .waiver-section {
    background: white !important;
    padding: 0 !important;
  }

  .container-narrow {
    max-width: 100%;
    padding: 0;
  }

  .print-waiver {
    box-shadow: none;
    border-radius: 0;
    margin: 0;
  }

  .print-waiver-inner {
    padding: 0;
  }

  .print-header {
    border-bottom-color: #000;
  }

  .print-header h1 {
    color: #000;
  }

  .print-section h2 {
    color: #333;
  }

  .print-table td {
    color: #000;
  }

  .print-table td:first-child {
    color: #555;
  }

  .print-legal-section h3 {
    color: #000;
  }

  .print-legal-section p,
  .print-legal-section ul {
    color: #333;
  }

  .print-legal-section strong {
    color: #000;
  }

  .print-sig-line {
    border-bottom-color: #000;
  }

  .print-sig-name {
    color: #000;
  }

  /* Page breaks */
  .print-legal {
    page-break-before: always;
  }

  .print-signature-section {
    page-break-before: always;
  }

  .print-legal-section {
    page-break-inside: avoid;
  }
}
