/* =========================================================
= Reserve Page (scoped to .res-page)
  - Dark dotted hero to match the site
  - Clean card form with 2-col grid
========================================================= */

.res-page { --maxw: 1280px; }

/* Shared container */
.res-page .res-container{
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------------------
   HERO (index style, a bit shorter)
----------------------------*/
.res-page .res-hero{
  position: relative;
  min-height: clamp(48vh, 58vh, 64vh);
  display: flex;
  align-items: center;
  padding: clamp(72px, 12vh, 110px) 0;
  overflow: hidden;
}
.res-page .res-hero .res-hero-bg{
  position:absolute; inset:0; z-index:-2;
  background: #000 center/cover no-repeat;
  background-image: var(--res-hero-image, url('/images/hero-about.jpg'));
  transform: scale(1.02);
}
/* dark overlay */
.res-page .res-hero::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background: rgba(12,18,28,0.92);
}
/* dotted texture + vignettes */
.res-page .res-hero::after{
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0),
    radial-gradient(120% 120% at 15% 40%, rgba(0,0,0,0.20), transparent 60%),
    radial-gradient(120% 120% at 85% 60%, rgba(0,0,0,0.25), transparent 65%);
  background-size: 20px 20px, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat;
  background-position: 0 0, center, center;
}

.res-page .res-hero .hero-inner{ color:#fff; text-align: center; }
.res-page .res-hero h1{
  margin: 0 0 10px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -1.5px;
}
.res-page .res-hero .lead{
  margin: 0 auto 8px;
  max-width: 70ch;
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  line-height: 1.7;
}
.res-page .res-hero .note{
  margin: 0;
  opacity: .9;
  font-size: 14px;
}

/* ---------------------------
   STACK (rounded container)
----------------------------*/
.res-page .res-stack{
  background: var(--surface, #f8fafc);
  border-radius: 40px 40px 0 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
  box-shadow: 0 1px 0 var(--line, #e5e7eb);
  padding: clamp(40px, 5vw, 72px) 0;
}

/* ---------------------------
   FORM CARD
----------------------------*/
.res-page .res-card{
  background: #fff;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 18px;
  box-shadow: var(--shadow, 0 8px 24px rgba(0,0,0,.08));
  padding: clamp(18px, 2.5vw, 28px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 24px);
}

/* Full-width on smaller screens */
@media (max-width: 900px){
  .res-page .res-card{
    grid-template-columns: 1fr;
  }
}

.res-page .res-card .span-2{ grid-column: 1 / -1; }

.res-page .field{ display:flex; flex-direction: column; gap: 8px; }
.res-page label{
  font-weight: 600;
  font-size: 14px;
  color: var(--ink, #202020);
}
.res-page label .muted{
  font-weight: 400;
  color: var(--muted, #6b7785);
}

.res-page input[type="text"],
.res-page input[type="email"],
.res-page input[type="date"],
.res-page input[type="time"],
.res-page textarea,
.res-page select{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line, #e5e7eb);
  background: #fff;
  font: inherit;
  color: var(--ink, #202020);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.res-page textarea{ resize: vertical; }

.res-page input:focus,
.res-page textarea:focus,
.res-page select:focus{
  border-color: rgba(10,53,91,.35);
  box-shadow: 0 0 0 3px rgba(10,53,91,.12);
}

/* Radios */
.res-page fieldset.radios{
  border: 0;
  padding: 0;
  margin: 4px 0 0;
}
.res-page fieldset.radios legend{
  font-weight: 600;
  margin-bottom: 10px;
}
.res-page .radio{
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0;
  color: var(--muted, #6b7785);
}
.res-page .radio input{ margin-top: 4px; }

/* Submit */
.res-page .actions{ margin-top: 6px; }
.res-page .btn.submit{
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  /* Choose your button color:
     - Defaults to site accent
     - To mimic the screenshot’s amber, set --reserve-accent: #b66c24 on .res-page */
  background: var(--reserve-accent, var(--accent, #0a355b));
  color: #fff;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.res-page .btn.submit:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
  background: var(--reserve-accent, var(--accent-2, #07243f));
}
/* ============================================
   Reserve — unified width & comfy side paddings
   ============================================ */
.res-page{
  --res-maxw: 1280px;
  --res-pad: clamp(28px, 7vw, 64px);
}
.res-page .res-container{
  max-width: var(--res-maxw);
  margin-inline: auto;
  padding-inline: var(--res-pad) !important;
}

/* tiny phones: a touch more breathing room */
@media (max-width: 420px){
  .res-page{ --res-pad: max(32px, 8vw); }
}
/* very wide desktops: steady gutters like About */
@media (min-width: 1400px){
  .res-page{ --res-pad: 72px; }
}

/* =======================
   Section vertical rhythm
   ======================= */
.res-page .res-stack{
  padding: clamp(44px, 6vw, 80px) 0; /* match other pages */
}

/* ==============================
   Form card — tidy & consistent
   ============================== */
.res-page .res-card{
  background: #fff;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 18px;
  box-shadow: var(--shadow, 0 8px 24px rgba(0,0,0,.08));
  padding: clamp(18px, 2.5vw, 28px);

  /* desktop: 2-col like Contact page */
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(14px, 2vw, 20px);
}
.res-page .res-card .span-2{ grid-column: 1 / -1; }

/* buttons full-width on small screens */
@media (max-width: 980px){
  .res-page .res-card{
    grid-template-columns: 1fr; /* single column on mobile */
  }
  .res-page .res-card .actions .btn{
    width: 100%;
    justify-content: center;
  }
}

/* =======================
   Hero container spacing
   ======================= */
.res-page .res-hero .res-container{
  max-width: var(--res-maxw);
  margin-inline: auto;
  padding-inline: var(--res-pad) !important;
}
