/* ========================
   REZERWACJA PAGE
======================== */

/* Active nav link */
.nav__active {
  color: var(--yellow) !important;
}
.nav__active::after {
  transform: scaleX(1) !important;
}

/* ========================
   HERO REZERWACJA
======================== */
.rez-hero {
  min-height: 65vh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 40px 80px;
  position: relative;
  overflow: hidden;
}

.rez-hero::before {
  content: 'REZERWACJA';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(60px, 14vw, 180px);
  font-weight: 900;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -4px;
}

.rez-hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,216,48,0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* Particles */
.rez-hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0;
  animation: float-up var(--duration, 6s) var(--delay, 0s) infinite ease-out;
}

@keyframes float-up {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 0.7; transform: translateY(-20px) scale(1); }
  90% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-400px) scale(0.3); }
}

.rez-hero__content {
  position: relative;
  z-index: 2;
}

.rez-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.rez-hero__title em {
  font-style: italic;
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
  display: block;
}

.rez-hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ========================
   USER BAR
======================== */
.user-bar {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
}

.user-bar__logged-out,
.user-bar__logged-in {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.user-bar__icon {
  color: rgba(255,255,255,0.4);
  display: flex;
}

.user-bar__logged-out > span,
.user-bar__logged-in > span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  flex: 1;
}

.user-bar__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.user-bar__btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.user-bar__btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.2);
}

.user-bar__btn--accent {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.user-bar__btn--accent:hover {
  background: #e6ce28;
  border-color: #e6ce28;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240,216,48,0.3);
}

.user-bar__btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
}
.user-bar__btn--ghost:hover {
  color: var(--white);
}

/* ========================
   BOOKING SECTION
======================== */
.booking-section {
  background: var(--black);
  padding: 80px 80px 120px;
}

.booking-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.calendar-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

/* ========================
   CALENDAR
======================== */
.calendar-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.calendar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), rgba(240,216,48,0.2));
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.cal-month-year {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.cal-month {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.cal-year {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.cal-nav {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.cal-nav:hover {
  background: rgba(240,216,48,0.15);
  border-color: rgba(240,216,48,0.3);
  color: var(--yellow);
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}
.cal-weekdays span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 8px 0;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.2s var(--ease);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  background: rgba(255,255,255,0.04);
}

.cal-day:hover:not(.cal-day--empty):not(.cal-day--busy):not(.cal-day--past) {
  background: rgba(240,216,48,0.15);
  border-color: rgba(240,216,48,0.4);
  color: var(--yellow);
  transform: scale(1.08);
}

.cal-day--empty {
  cursor: default;
  background: transparent;
  border-color: transparent;
}

.cal-day--past {
  color: rgba(255,255,255,0.18);
  background: transparent;
  border-color: transparent;
  cursor: not-allowed;
}

.cal-day--today {
  border-color: rgba(240,216,48,0.4);
  color: var(--yellow);
  font-weight: 700;
}
.cal-day--today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yellow);
}

.cal-day--busy {
  background: rgba(255,60,60,0.12);
  color: rgba(255,100,100,0.7);
  cursor: pointer;
  text-decoration: line-through;
  position: relative;
}
.cal-day--busy::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255,60,60,0.15);
}
/* Tooltip na zajętym terminie */
.cal-day--busy[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1e1e1e;
  color: #f0d830;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  border: 1px solid rgba(240,216,48,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 100;
}
.cal-day--busy[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cal-day--busy:hover {
  background: rgba(255,60,60,0.2);
  color: rgba(255,120,120,0.9);
}

/* Panel zapytania o zajęty termin */
.booking-panel__inquiry {
  padding: 0 4px;
}
.inquiry-info {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(240,216,48,0.06);
  border: 1px solid rgba(240,216,48,0.15);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.5;
}
.inquiry-info svg { flex-shrink: 0; color: #f0d830; margin-top: 1px; }
.inquiry-form .form-group { margin-bottom: 14px; }

.cal-day--free {
  background: rgba(78,205,196,0.08);
  border-color: rgba(78,205,196,0.25);
  color: #e0fffd;
}
.cal-day--free::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4ecdc4;
  opacity: 0.8;
}

.cal-day--selected {
  background: var(--yellow) !important;
  color: var(--black) !important;
  font-weight: 700;
  border-color: var(--yellow) !important;
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(240,216,48,0.4);
  animation: day-select 0.3s var(--ease);
}
.cal-day--selected::after {
  display: none;
}

@keyframes day-select {
  0% { transform: scale(0.85); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1.1); }
}

/* Calendar transition */
.cal-days--fade-out {
  animation: cal-fade-out 0.15s ease-out forwards;
}
.cal-days--fade-in {
  animation: cal-fade-in 0.2s ease-out forwards;
}
@keyframes cal-fade-out {
  to { opacity: 0; transform: translateY(-8px); }
}
@keyframes cal-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Legend */
.cal-legend {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cal-legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}
.cal-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.cal-legend__dot--free { background: #4ecdc4; }
.cal-legend__dot--busy { background: rgba(255,60,60,0.6); }
.cal-legend__dot--selected { background: var(--yellow); }

/* ========================
   BOOKING PANEL
======================== */
.booking-panel {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.booking-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(240,216,48,0.2), var(--yellow));
}

.booking-panel__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 340px;
  gap: 16px;
}

.booking-panel__icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(240,216,48,0.06);
  border: 1px solid rgba(240,216,48,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  margin-bottom: 8px;
  animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.booking-panel__empty h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
}

.booking-panel__empty p {
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  max-width: 260px;
  line-height: 1.6;
}

/* Date display */
.booking-panel__date-display {
  background: rgba(240,216,48,0.06);
  border: 1px solid rgba(240,216,48,0.15);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bpd-label {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 600;
}

.bpd-date {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
}

/* Auth wall */
.booking-panel__auth-wall {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 12px 0;
}

.auth-wall__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.booking-panel__auth-wall h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
}

.booking-panel__auth-wall p {
  color: rgba(255,255,255,0.4);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 280px;
}

.auth-wall__btn {
  margin-top: 8px;
  width: 100%;
}

.auth-wall__login-link {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-body);
  font-size: 0.82rem;
  cursor: pointer;
  transition: color 0.2s;
  padding: 8px;
}
.auth-wall__login-link:hover {
  color: var(--yellow);
}

/* Booking form */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(240,216,48,0.5);
  background: rgba(240,216,48,0.04);
  box-shadow: 0 0 0 3px rgba(240,216,48,0.08);
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option {
  background: var(--dark);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 70px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Deposit notice */
.deposit-notice {
  display: flex;
  gap: 12px;
  background: rgba(240,180,40,0.06);
  border: 1px solid rgba(240,180,40,0.18);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.deposit-notice__icon {
  color: #f0b428;
  flex-shrink: 0;
  margin-top: 1px;
}

.deposit-notice strong {
  display: block;
  font-size: 0.82rem;
  color: #f0c030;
  margin-bottom: 4px;
}

.deposit-notice p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}

.deposit-notice p strong {
  display: inline;
  font-size: inherit;
  color: var(--white);
}

.booking-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}

/* Success */
.booking-panel__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 340px;
  gap: 12px;
}

.success-checkmark {
  margin-bottom: 8px;
}

.success-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: stroke-draw 0.6s ease-out forwards;
}

.success-check {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: stroke-draw 0.4s 0.4s ease-out forwards;
}

@keyframes stroke-draw {
  to { stroke-dashoffset: 0; }
}

.booking-panel__success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--yellow);
}

.booking-panel__success p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.6;
}

/* ========================
   AUTH MODAL
======================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  padding: 40px;
  position: relative;
  animation: modal-in 0.3s var(--ease);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.modal__close:hover { color: var(--white); }

.modal__header {
  text-align: center;
  margin-bottom: 28px;
}

.modal__logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(240,216,48,0.08);
  border: 1px solid rgba(240,216,48,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal__header h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.modal__header p {
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
}

.modal__form {
  display: flex;
  flex-direction: column;
}

.modal__submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.modal__error {
  color: #ff6b6b;
  font-size: 0.82rem;
  text-align: center;
  margin-top: 12px;
  min-height: 20px;
}

.modal__switch {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
}

.modal__switch button {
  background: none;
  border: none;
  color: var(--yellow);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.modal__switch button:hover {
  opacity: 0.8;
}

/* ========================
   HOW IT WORKS
======================== */
.how-it-works {
  background: var(--dark);
  padding: 120px 80px;
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: 'EASY';
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 900;
  color: rgba(255,255,255,0.015);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hiw-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hiw-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 72px;
  letter-spacing: -1px;
}
.hiw-title em {
  font-style: italic;
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.hiw-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.hiw-step {
  flex: 1;
  max-width: 280px;
  padding: 32px 24px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.hiw-step:hover {
  transform: translateY(-6px);
  border-color: rgba(240,216,48,0.2);
}

.hiw-step__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hiw-step__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(240,216,48,0.06);
  border: 1px solid rgba(240,216,48,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--yellow);
}

.hiw-step h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.hiw-step p {
  color: rgba(255,255,255,0.4);
  font-size: 0.88rem;
  line-height: 1.65;
}

.hiw-step__connector {
  display: flex;
  align-items: center;
  padding-top: 80px;
  flex-shrink: 0;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1100px) {
  .booking-section { padding: 60px 48px 100px; }
  .calendar-wrapper {
    grid-template-columns: 1fr 360px;
    gap: 24px;
  }
  .how-it-works { padding: 100px 48px; }
}

@media (max-width: 900px) {
  .calendar-wrapper {
    grid-template-columns: 1fr;
  }
  .booking-panel {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .rez-hero { padding: 120px 28px 60px; min-height: 55vh; }
  .booking-section { padding: 48px 20px 80px; }
  .calendar-card { padding: 20px; }
  .booking-panel { padding: 24px; }

  .hiw-steps { flex-direction: column; align-items: center; gap: 16px; }
  .hiw-step__connector { display: none; }
  .hiw-step { max-width: 100%; width: 100%; }
  .how-it-works { padding: 72px 28px; }

  .user-bar { flex-direction: column; }
  .user-bar__logged-out,
  .user-bar__logged-in {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .cal-legend { flex-wrap: wrap; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }

  .modal { padding: 28px; max-width: 100%; }
}

@media (max-width: 480px) {
  .rez-hero__title { font-size: 2.4rem; }
  .cal-month { font-size: 1.4rem; }
  .cal-day { font-size: 0.82rem; }
}

/* ========================
   PRELIMINARY NOTICE BANNER
======================== */
.prelim-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(240,216,48,0.07);
  border: 1px solid rgba(240,216,48,0.25);
  border-left: 3px solid var(--yellow);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
}
.prelim-notice__icon {
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 1px;
}
.prelim-notice__text strong {
  color: var(--white);
}
