/* ---------------------------------------------
   Tokens
--------------------------------------------- */
:root{
  --bg: #172420;
  --panel: #1E2D26;
  --panel-2: #24362D;
  --ink: #F6F1E4;
  --ink-muted: #A7B7AB;
  --gold: #C9A227;
  --gold-light: #E9C468;
  --rule: rgba(246,241,228,0.14);
  --danger: #E08B7A;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Work Sans", system-ui, sans-serif;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a{ color: inherit; }

/* ---------------------------------------------
   Signature: string-light rule at the very top
--------------------------------------------- */
.lights{
  height: 3px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0 2px,
    transparent 2px 34px
  );
  opacity: .55;
}

/* ---------------------------------------------
   Header
--------------------------------------------- */
.site-header{
  padding: 28px 0 8px;
}
.header-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wordmark{
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: .01em;
}
.wordmark em{
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}
.header-cta{
  text-decoration: none;
  font-size: .85rem;
  border: 1px solid var(--rule);
  padding: 9px 16px;
  border-radius: 999px;
  transition: border-color .2s ease, color .2s ease;
}
.header-cta:hover{ border-color: var(--gold); color: var(--gold-light); }

/* ---------------------------------------------
   Hero
--------------------------------------------- */
.hero{
  padding: 64px 24px 40px;
}
.eyebrow{
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 18px;
}
.hero h1{
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 22px;
  max-width: 14ch;
}
.hero-lead{
  color: var(--ink-muted);
  max-width: 46ch;
  font-size: 1.02rem;
  text-align: justify;
}

/* ---------------------------------------------
   Booking layout
--------------------------------------------- */
.booking{ padding: 20px 0 90px; }
.booking-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 860px){
  .booking-grid{ grid-template-columns: 1fr; }
}

.panel{
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  position: relative;
}
/* Signature: photo-mount corner brackets on each panel */
.panel::before, .panel::after{
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  top: -1px; left: -1px;
  opacity: .8;
}
.panel::after{
  top: auto; left: auto;
  bottom: -1px; right: -1px;
  border-top: none; border-left: none;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.panel h2{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0 0 18px;
}

/* ---------------------------------------------
   Calendar
--------------------------------------------- */
.panel-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panel-head h2{ margin: 0; }
.month-nav{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--ink-muted);
}
.month-nav button{
  background: none;
  border: 1px solid var(--rule);
  color: var(--ink);
  width: 28px; height: 28px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.month-nav button:hover{ border-color: var(--gold); }

.weekdays, .calendar-grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 18px;
}
.weekdays{
  margin-top: 20px;
  margin-bottom: 4px;
  font-size: .72rem;
  color: var(--ink-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.day{
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--ink-muted);
  background: transparent;
  border: 1px solid transparent;
}
.day.empty{ visibility: hidden; }
.day.past{ opacity: .3; }

.day.available{
  color: var(--ink);
  border-color: var(--rule);
  cursor: pointer;
}
.day.available:hover{ border-color: var(--gold); }

/* Signature: catchlight dot — the highlight in a subject's eye,
   used here to mark a day that has open light (availability) */
.day.available::after{
  content: "";
  position: absolute;
  top: 6px; right: 6px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 6px 1px rgba(233,196,104,.6);
}

.day.selected{
  background: var(--gold);
  border-color: var(--gold);
  color: #1A1305;
  font-weight: 600;
}
.day.selected::after{ background: #1A1305; box-shadow: none; }

.legend{
  margin: 18px 2px 0;
  font-size: .8rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend .dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 6px 1px rgba(233,196,104,.6);
  display: inline-block;
}

/* ---------------------------------------------
   Slots + form
--------------------------------------------- */
.slots-hint{ color: var(--ink-muted); font-size: .92rem; margin-top: -6px; }

.slots-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 6px;
}
.slot-btn{
  font-family: var(--sans);
  font-size: .88rem;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--panel-2);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.slot-btn:hover{ border-color: var(--gold); }
.slot-btn.selected{
  background: var(--gold);
  border-color: var(--gold);
  color: #1A1305;
  font-weight: 600;
}

.booking-form{
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.booking-form.hidden{ display: none; }

.booking-form label{
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .85rem;
  color: var(--ink-muted);
}
.booking-form input{
  font-family: var(--sans);
  font-size: .95rem;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  background: var(--panel-2);
  color: var(--ink);
}
.booking-form input:focus{
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.selection-summary{
  font-size: .85rem;
  color: var(--gold-light);
  min-height: 1.2em;
}

.confirm-btn{
  margin-top: 4px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 20px;
  border-radius: 999px;
  border: none;
  background: var(--gold);
  color: #1A1305;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease;
}
.confirm-btn:hover{ background: var(--gold-light); }
.confirm-btn:disabled{ opacity: .55; cursor: not-allowed; }
.confirm-btn:active:not(:disabled){ transform: scale(.98); }

.form-status{
  font-size: .85rem;
  min-height: 1.2em;
  margin: 0;
}
.form-status.error{ color: var(--danger); }
.form-status.success{ color: var(--gold-light); }

.whatsapp-btn{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid #2FA946;
  color: #2FA946;
  background: rgba(47,169,70,.08);
  transition: background .15s ease, color .15s ease;
}
.whatsapp-btn:hover{
  background: #2FA946;
  color: #0E1A12;
}
.whatsapp-btn.hidden{ display: none; }

/* ---------------------------------------------
   Footer
--------------------------------------------- */
.site-footer{
  border-top: 1px solid var(--rule);
  padding: 26px 0 40px;
  color: var(--ink-muted);
  font-size: .85rem;
}
.site-footer p{ margin: 4px 0; }
.footer-fine{ font-size: .78rem; opacity: .75; }

/* ---------------------------------------------
   Accessibility
--------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ transition: none !important; }
}
:focus-visible{
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

@media (max-width: 420px){
  .wrap{ padding: 0 16px; }
  .hero{ padding: 44px 16px 28px; }
  .panel{ padding: 20px 16px 22px; }
}
