:root {
  --manyanet-wine: #8e1537;
  --manyanet-wine-dark: #74102d;
  --manyanet-blue: #003b71;
  --manyanet-blue-dark: #002c55;
  --manyanet-blue-soft: #eaf3fb;
  --ink: #172536;
  --muted: #667789;
  --line: #dbe4ec;
  --surface: rgba(255, 255, 255, 0.96);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #edf3f8;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
}

button,
input {
  font: inherit;
}

.reservation-page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, #ffffff 0 16%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(145deg, #f9fbfd 0%, #edf3f8 54%, #e5edf5 100%);
}

.reservation-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.reservation-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
}

.reservation-glow-blue {
  top: -18vw;
  right: -12vw;
  width: 48vw;
  height: 48vw;
  min-width: 430px;
  min-height: 430px;
  background: radial-gradient(circle, rgba(0, 59, 113, 0.15), rgba(0, 59, 113, 0));
}

.reservation-glow-wine {
  left: -16vw;
  bottom: -24vw;
  width: 50vw;
  height: 50vw;
  min-width: 450px;
  min-height: 450px;
  background: radial-gradient(circle, rgba(142, 21, 55, 0.13), rgba(142, 21, 55, 0));
}

.reservation-watermark {
  position: absolute;
  right: -2vw;
  bottom: -9vh;
  color: rgba(255, 255, 255, 0.62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(320px, 42vw, 720px);
  font-weight: 900;
  line-height: 0.8;
}

.reservation-shell {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 48px 0 32px;
}

.school-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 28px;
}

.school-logo-wrap {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(0, 59, 113, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(0, 45, 87, 0.08);
  backdrop-filter: blur(12px);
}

.school-logo {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.school-name {
  margin: 0;
  color: var(--manyanet-blue);
  font-size: clamp(18px, 3vw, 25px);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.15;
  text-transform: uppercase;
}

.school-tagline {
  margin: 7px 0 0;
  color: #456682;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reservation-card {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(194, 207, 219, 0.72);
  border-radius: 28px;
  background: var(--surface);
  box-shadow:
    0 30px 80px rgba(0, 45, 87, 0.12),
    0 8px 24px rgba(0, 45, 87, 0.06);
  backdrop-filter: blur(18px);
}

.reservation-heading {
  text-align: center;
}

.reservation-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 13px;
  border: 1px solid rgba(0, 59, 113, 0.12);
  border-radius: 999px;
  background: var(--manyanet-blue-soft);
  color: var(--manyanet-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reservation-heading h1 {
  margin: 18px 0 0;
  color: var(--manyanet-blue);
  font-size: clamp(36px, 7vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.reservation-lead {
  max-width: 590px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.62;
}

.reservation-divider {
  width: 76px;
  height: 4px;
  margin: 28px auto 29px;
  border-radius: 999px;
  background: var(--manyanet-wine);
}

.reservation-form-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

.reservation-form-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.reservation-message {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
}

.reservation-message-error {
  border-left: 4px solid var(--manyanet-wine);
  background: #fff2f5;
  color: #71112d;
}

.reservation-message-success {
  border-left: 4px solid var(--manyanet-blue);
  background: #eef7ff;
  color: #174c77;
}

.reservation-form {
  display: grid;
  gap: 13px;
  margin-top: 21px;
}

.reservation-form > label {
  color: #34495d;
  font-size: 13px;
  font-weight: 800;
}

.reservation-field {
  position: relative;
}

.reservation-field svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 17px;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  fill: none;
  stroke: #63809b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.reservation-field input {
  width: 100%;
  min-height: 60px;
  padding: 14px 18px 14px 54px;
  border: 1px solid #cbd8e3;
  border-radius: 14px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.reservation-field input::placeholder {
  color: #91a0af;
}

.reservation-field input:focus {
  border-color: var(--manyanet-blue);
  box-shadow: 0 0 0 4px rgba(0, 59, 113, 0.1);
}

.reservation-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  gap: 10px;
  margin-top: 3px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #07558f, var(--manyanet-blue));
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 59, 113, 0.2);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.reservation-submit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.reservation-submit:hover {
  background: linear-gradient(135deg, #064777, var(--manyanet-blue-dark));
  box-shadow: 0 15px 32px rgba(0, 59, 113, 0.24);
  transform: translateY(-1px);
}

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

.reservation-help {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 19px;
  padding: 13px 15px;
  border: 1px solid #e0e7ed;
  border-radius: 14px;
  background: #f8fafc;
}

.reservation-help svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  fill: none;
  stroke: #637b91;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.reservation-help p {
  margin: 0;
  color: #647587;
  font-size: 12.5px;
  line-height: 1.48;
}

.reservation-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px 0;
  color: #718395;
  font-size: 11.5px;
  text-align: center;
}

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--manyanet-wine);
}

@media (max-width: 640px) {
  .reservation-shell {
    width: min(100% - 24px, 760px);
    padding-top: 24px;
  }

  .school-brand {
    flex-direction: column;
    gap: 11px;
    margin-bottom: 20px;
    text-align: center;
  }

  .school-logo-wrap {
    width: 76px;
    height: 76px;
    border-radius: 21px;
  }

  .school-logo {
    width: 59px;
    height: 59px;
  }

  .school-tagline {
    font-size: 9.5px;
    letter-spacing: 0.15em;
  }

  .reservation-card {
    border-radius: 22px;
  }

  .reservation-heading h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .reservation-footer {
    flex-wrap: wrap;
  }
}

@media (max-width: 390px) {
  .reservation-shell {
    width: min(100% - 16px, 760px);
  }

  .reservation-card {
    padding: 24px 19px;
  }

  .reservation-form-copy h2 {
    font-size: 20px;
  }
}

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