

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&family=Urbanist:wght@400;600;700;800&display=swap");

/* ========================================
   ROOT TOKENS
======================================== */
:root {
  --green-700: #5ea731;
  --green-600: #78C841;
  --green-500: #8fd058;
  --gray-100: #f2f4f3;
  --gray-200: #e4e7e5;
  --gray-400: #9aa29f;
  --ink: #1e2a24;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(18, 36, 24, 0.18);
  --guest-bg-image: url("../image/image9.png");
  --guest-bg-position: center center;
  --guest-bg-size: cover;

  /* Brand theming — overridden per-restaurant for premium accounts */
  --brand-header:       #78C841;
  --brand-text:         #ffffff;
  --brand-card-bg:      #ffffff;
  --brand-card-text:    #1e2a24;
  --brand-btn:          #78C841;
  --brand-popover-bg:   #eefbee;
  --brand-footer-text:  #ffffff;
}

/* ========================================
   BASE RESET
======================================== */
* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden; /* fallback for Safari iOS < 16 */
  overflow-x: clip;   /* true clip — no scroll container side-effects */
}

.hidden {
  display: none !important;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--guest-bg-image) var(--guest-bg-position) / var(--guest-bg-size) no-repeat;
  pointer-events: none;
  z-index: -2;
  /* GPU compositing layer — prevents background jitter on iOS Safari during scroll */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 14, 0.45);
  pointer-events: none;
  z-index: -1;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

/* ========================================
   PAGE FRAME
======================================== */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

/* ========================================
   HEADER / HERO
======================================== */
.hero {
  padding: 20px 8vw 16px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* ========================================
   NAVIGATION
======================================== */
.guest-nav {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 22px;
  min-height: 78px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.guest-nav-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.38rem;
  padding: 0.3rem 0;
  text-decoration: none;
  color: rgba(244, 251, 245, 0.78);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  border: none;
  background: none;
  transition: color 0.2s ease, gap 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.guest-nav-link:hover,
.guest-nav-link:focus-visible {
  color: #ffffff;
  gap: 0.56rem;
  outline: none;
}

.guest-nav-link:focus {
  color: #ffffff;
}

.guest-nav-link:active {
  color: rgba(244, 251, 245, 0.6);
}

.guest-nav-link-right {
  justify-self: end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #f4fbf5;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 8px;
}

/* ========================================
   TYPOGRAPHY
======================================== */
.tag {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  color: var(--green-600);
  margin: 0 0 12px;
}

h1 {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--white);
  padding: 0.65rem 0.5rem 0.5rem 0.5rem;
}

.subtitle {
  max-width: 540px;
  font-size: 1.45rem;
  color: var(--brand-text);
  margin: 0 auto;
  text-align: center;
  padding: 0 0.5rem 2rem 0.5rem;
}

.subtitle-small {
  max-width: 520px;
  margin: 0.3rem auto 0;
  padding: 0 0.5rem 1rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #2b3b32;
  text-align: center;
  opacity: 1;
}

.page-links {
  margin: 0 auto;
  color: #e9f7eb;
  text-align: center;
  font-weight: 600;
}

.page-links a {
  color: #e9f7eb;
  text-decoration: none;
}

.page-links a:hover {
  text-decoration: underline;
}

.hero-content {
  text-align: center;
  margin: 0 auto;
  width: min(100%, 1120px);
}

.hero-content h1 {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
  color: var(--brand-header);
}

.hero-content p {
  letter-spacing: 0.01em;
  color: var(--brand-text);
}

/* ========================================
   BOOKING LAYOUT
======================================== */
.booking {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 32px;
  padding: 0 8vw 110px;
}

.card {
  background: var(--brand-card-bg);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: 0 32px 72px rgba(18, 36, 24, 0.22), 0 2px 8px rgba(18, 36, 24, 0.08);
  width: min(860px, 100%);
  border: 1px solid rgba(120, 200, 65, 0.12);
  color: var(--brand-card-text);
}

.card h4 {
  margin: 0 0 8px;
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  padding: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

.hint {
  margin: 0 0 24px;
  color: var(--gray-400);
  text-align: center;
}

/* ========================================
   FORM CONTROLS
======================================== */
.field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #2b3b32;
  letter-spacing: 0.01em;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--gray-200);
  font-size: 1rem;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: white;
  color: #1e2a24;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--green-600);
  background: #fafffe;
  box-shadow: 0 0 0 3px rgba(120, 200, 65, 0.18);
}

input.is-valid {
  border-color: #78c841;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378c841' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
}

.visually-hidden-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.select {
  position: relative;
}

.select-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid #cfe2d6;
  font-size: 1rem;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: white;
  color: #1e2a24;
  cursor: pointer;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.select-trigger:focus-visible {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(61, 155, 95, 0.2);
  background: var(--white);
}

/* ========================================
   CUSTOM SELECT
======================================== */
.select-trigger::after {
  content: "▾";
  color: var(--green-600);
}

.select-options {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(22, 48, 32, 0.18);
  display: none;
  z-index: 20;
  max-height: none;
  overflow: visible;
}

.select.open .select-options {
  display: grid;
  gap: 4px;
}

.select.open-up .select-options {
  top: auto;
  bottom: calc(100% + 6px);
}

.select-option {
  border: none;
  background: rgb(238, 251, 238);
  color: #1e2a24;
  padding: 10px 12px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.select-option:hover,
.select-option:focus-visible {
  background: #dff0e6;
  color: #1f5b3a;
  outline: none;
}

.select-option.is-selected {
  background: #cfe6d8;
  color: #1f5b3a;
  font-weight: 600;
}

/* ========================================
   DATE PICKER
======================================== */
.date-picker {
  position: relative;
}

.date-popover {
  position: static;
  width: 100%;
  background: var(--brand-popover-bg);
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(61, 155, 95, 0.18);
  margin-top: 12px;
  box-shadow: none;
  overflow-x: auto;
}

.date-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  background: white;
  border: 1px solid rgba(61, 155, 95, 0.12);
}

.date-title {
  font-weight: bold;
  font-size: 1.1rem;
  color: #1f5b3a;
  letter-spacing: 0.02em;
}

.date-header .nav {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: rgba(240, 247, 243, 0.98);
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 800;
  color: #33443b;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.date-header .nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.date-header .nav:hover:not(:disabled) {
  background: #dff0e6;
  color: #1f5b3a;
  border-color: #cfe2d6;
  transform: translateY(-1px) scale(1.02);
  box-shadow: none;
}

.date-header .nav:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}


.date-weekdays,
.date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.date-weekdays span {
  min-width: 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.date-grid {
  margin-top: 8px;
}

.date-day {
  min-width: 0;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(24, 101, 52, 0.14);
  background: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  color: #33443b;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.date-day:focus-visible {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(120, 200, 65, 0.25);
}

.date-day:hover:not(:disabled) {
  background: var(--brand-btn);
  color: var(--white);
  border-color: var(--brand-btn);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(18, 80, 32, 0.22);
}

.date-day.selected,
.date-day.today.selected {
  background: var(--brand-btn);
  color: var(--white);
  border-color: var(--brand-btn);
  box-shadow: 0 4px 12px rgba(18, 80, 32, 0.28);
}

.date-day.today {
  border: 2px solid var(--brand-btn);
  background: var(--brand-card-bg);
  font-weight: 800;
}

.date-day:disabled {
  background: #f2f4f3;
  color: #c3c8c5;
  cursor: not-allowed;
}

/* ========================================
   BOOKING STEPS
======================================== */
.step {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  transition: all 0.6s ease;
  margin-bottom: 0;
}

.step.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 600px;
  margin-bottom: 24px;
  overflow: visible;
}

#time-section.step.active {
  background: linear-gradient(160deg, #f0fdf4, #eafbee);
  border: 1.5px solid rgba(120, 200, 65, 0.22);
  border-radius: 20px;
  padding: 20px;
  margin-top: 14px;
  box-shadow: 0 4px 18px rgba(18, 36, 24, 0.06);
}

#people-section.step.active,
#form-section.step.active {
  background: linear-gradient(160deg, #f0fdf4, #eafbee);
  border: 1.5px solid rgba(120, 200, 65, 0.22);
  border-radius: 20px;
  padding: 20px;
  margin-top: 14px;
  box-shadow: 0 4px 18px rgba(18, 36, 24, 0.06);
}

.muted {
  color: var(--gray-400);
  margin-top: -8px;
}

/* ========================================
   TIME SELECTION
======================================== */
.time-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

.time-section {
  display: grid;
  gap: 12px;
}

.time-heading {
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green-600);
}

.time-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}

.time-button {
  border: 1.5px solid rgba(61, 155, 95, 0.18);
  padding: 10px 6px;
  border-radius: 999px;
  background: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: #33443b;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.time-button::after {
  content: "";
  position: absolute;
  inset: 0;
  left: -110%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transition: left 0.42s ease;
  pointer-events: none;
}

.time-button:hover::after,
.time-button.selected::after {
  left: 110%;
}

.time-button--full,
.time-button--full:hover {
  background: #f5f5f5;
  color: #bbb;
  border-color: #e0e0e0;
  cursor: not-allowed;
  transform: none;
  font-size: 0.78rem;
}

.time-button:hover,
.time-button.selected {
  background: var(--brand-btn);
  color: var(--white);
  border-color: var(--brand-btn);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18, 80, 32, 0.28);
}

/* ========================================
   ACTIONS
======================================== */
button[type="submit"],
.primary-btn {
  background: var(--brand-btn);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 700;
  font-family: "Inter", "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 26px rgba(18, 80, 32, 0.3);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.make-change-btn {
  background: rgb(168, 1, 1);
  color: white;
  border: none;
}

.final-confirm-btn {
  background: var(--brand-btn);
  color: white;
  border: none;
}


.confirm-btn {
  width: 100%;
  margin-top: 8px;
  max-height: 60px;
  opacity: 1;
}

.is-hidden {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  margin-top: 0;
  overflow: hidden;
}

button[type="submit"]:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(18, 36, 24, 0.28);
  filter: brightness(1.05);
}

button[type="submit"]::after,
.primary-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  left: -120%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%);
  transition: left 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

button[type="submit"]:hover::after,
.primary-btn:hover::after {
  left: 120%;
}

button[type="submit"]:active,
.primary-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 8px 18px rgba(18, 36, 24, 0.22);
}

button[type="submit"]:focus-visible,
.primary-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(61, 155, 95, 0.25), 0 12px 26px rgba(18, 36, 24, 0.22);
}

/* Suppress native tap highlight on interactive elements */
button,
.select-trigger,
.date-day,
.time-button {
  -webkit-tap-highlight-color: transparent;
}

.form-note {
  margin-top: 12px;
  font-weight: 600;
  color: var(--green-600);
}

/* ========================================
   SUMMARY MODAL
======================================== */
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(120, 200, 65, 0.15);
  font-weight: 400;
  gap: 1rem;
}

.summary-row span {
  color: #5a6b61;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.summary-row strong {
  font-weight: 600;
  color: #1e2a24;
  text-align: right;
}

.summary-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.summary-actions .primary-btn {
  flex: 1 1 calc(50% - 6px);
  width: calc(50% - 6px);
}

/* ========================================
   SUMMARY MODAL
======================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 20, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 30;
}

.modal-card {
  width: min(520px, 92vw);
  background: linear-gradient(160deg, #f4fdf5, #eafbee);
  border-radius: 24px;
  border: 1.5px solid rgba(120, 200, 65, 0.25);
  padding: 28px 24px;
  box-shadow: 0 32px 72px rgba(18, 36, 24, 0.28), 0 0 0 1px rgba(120, 200, 65, 0.1);
}

.modal-card h3 {
  margin-top: 0;
  font-family: "Bricolage Grotesque", "Urbanist", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ========================================
   TOAST / FEEDBACK
======================================== */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.toast-card {
  background: linear-gradient(135deg, #f0fdf4, #e8f9ec);
  color: #123523;
  border-radius: 16px;
  padding: 16px 18px;
  border: 1.5px solid rgba(120, 200, 65, 0.3);
  box-shadow: 0 20px 48px rgba(18, 36, 24, 0.22), 0 0 0 1px rgba(120, 200, 65, 0.12);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(440px, 90vw);
}

.toast-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  color: #5ea731;
  line-height: 1;
}

.toast-message {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.45;
  font-weight: 600;
  flex: 1;
}

.toast-close {
  background: transparent;
  border: 1.5px solid rgba(18, 53, 35, 0.4);
  color: #123523;
  border-radius: 999px;
  padding: 5px 14px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: "Inter", "Segoe UI", sans-serif;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.toast-close:hover {
  background: rgba(120, 200, 65, 0.15);
  border-color: rgba(120, 200, 65, 0.5);
}

/* ========================================
   FOOTER
======================================== */
.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-footer {
  position: relative;
  z-index: 1;
  overflow: visible;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 10, 8, 0.46);
  padding: 3.6rem 0 0;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site-footer::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.12));
  opacity: 1;
}

.site-footer::after {
  background: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 2rem;
  padding-bottom: 2.4rem;
}

.footer-col {
  padding: 0.4rem 0.25rem 0.15rem;
}

.footer-title {
  margin-bottom: 0.62rem;
  color: var(--brand-footer-text);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.footer-logo {
  display: block;
  max-height: 70px;
  width: auto;
  margin: 0 0 1.25rem;
  border-radius: 8px;
  object-fit: contain;
}

.footer-col:first-child .footer-title {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.footer-desc {
  color: var(--brand-footer-text) !important;
  opacity: 0.75;
  font-size: 1.085rem !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.5;
}

.footer-demo-note {
  font-size: 1.085rem;
  opacity: 0.55;
  margin-top: 0.5rem;
  font-style: italic;
}

.footer-grid p {
  margin: 0 0 0.4rem;
  color: var(--brand-footer-text);
  opacity: 0.88;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.footer-powered {
  margin-top: 0.85rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--brand-footer-text);
  opacity: 0.88;
  line-height: 1.7;
  font-size: inherit;
}

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact-icon {
  width: 1.1rem;
  display: inline-flex;
  justify-content: center;
  color: var(--brand-footer-text);
  opacity: 0.82;
  font-size: 0.95rem;
  line-height: 1;
}

.footer-contact-icon i {
  font-size: 1rem;
  line-height: 1;
}

.footer-grid a {
  display: inline-block;
  position: relative;
  color: var(--brand-footer-text);
  text-decoration: none;
  transition: color 0.25s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-grid a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--brand-footer-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease, opacity 0.28s ease;
  opacity: 0.75;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--brand-footer-text);
}

.footer-grid a:hover::after,
.footer-grid a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.2rem 0 1.8rem;
  background: rgba(0, 0, 0, 0.18);
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.footer-bottom-link,
.footer-bottom-link:visited,
.footer-bottom-link:active,
.footer-bottom-link:hover {
  color: inherit;
  text-decoration: underline;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
======================================== */
@media (max-width: 600px) {
  .step + .step {
    margin-top: 16px;
  }

  .step.active {
    max-height: none;
    overflow: visible;
  }

  .summary-actions .primary-btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .toast-card {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-col {
    padding: 0.2rem 0 0.1rem;
  }

  .footer-title {
    font-size: 1.25rem;
  }

  .footer-col:first-child .footer-title {
    font-size: 2rem;
  }

  .footer-contact-line {
    gap: 0.4rem;
  }

  .footer-contact-line a,
  .footer-contact-line span:last-child {
    min-width: 0;
  }
}


@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-accent {
    height: 180px;
    order: -1;
  }

  .brand-logo {
    height: 45px;
  }

  .booking {
    grid-template-columns: 1fr;
  }

  .card {
    width: 100%;
  }

  .hero-content h1 {
    width: 100%;
  }
}

@media (max-width: 760px) {
  body {
    background: none;
    background-color: #0c1210;
  }

  .page {
    min-height: 100svh;
  }

  :root {
    --guest-bg-image: url("../image/image9.png");
    --guest-bg-position: center center;
    --guest-bg-size: cover;
  }

  .hero {
    padding: 12px 6vw 18px;
  }

  .guest-nav {
    width: 100%;
    margin-bottom: 12px;
    min-height: 64px;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.4rem;
  }

  .guest-nav-link {
    font-size: 0.9rem;
  }

  .brand {
    font-size: 1.25rem;
    justify-self: center;
  }

  .brand-logo {
    height: 42px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 8px 6vw 16px;
  }

  .guest-nav {
    width: 100%;
    margin-bottom: 8px;
    min-height: 56px;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.2rem;
  }

  .guest-nav-link {
    font-size: clamp(0.78rem, 2.6vw, 0.9rem);
    white-space: nowrap;
  }

  .guest-nav-link-left {
    justify-self: start;
  }

  .guest-nav-link-right {
    justify-self: end;
  }

  .brand {
    font-size: clamp(1rem, 3.2vw, 1.2rem);
    gap: 0.28rem;
  }

  .brand-logo {
    height: clamp(34px, 7vw, 42px);
  }


  .booking {
    padding: 0 3vw 60px;
  }

  .card {
    padding: 28px 22px;
    width: 100%;
  }

  .date-popover {
    padding: 12px;
  }

  .date-weekdays,
  .date-grid {
    gap: 7px;
  }

  .date-weekdays span {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .date-day {
    height: 35px;
    font-size: 0.88rem;
  }

  .time-subgrid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .guest-nav {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.18rem;
    min-height: 52px;
  }

  .guest-nav .brand {
    justify-self: center;
  }

  .guest-nav-link-left {
    justify-self: start;
    text-align: left;
  }

  .guest-nav-link-right {
    justify-self: end;
    text-align: right;
  }

  .guest-nav-link {
    font-size: clamp(0.72rem, 3.1vw, 0.82rem);
  }

  .brand-logo {
    height: clamp(28px, 8vw, 36px);
  }

  .subtitle {
    font-size: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .subtitle-small {
    font-size: 0.92rem;
    padding-bottom: 1rem;
  }

  .booking {
    padding: 0 2vw 50px;
  }

  .card {
    padding: 22px 16px;
    border-radius: 18px;
  }

  #time-section.step.active,
  #people-section.step.active,
  #form-section.step.active {
    padding: 16px;
  }

  .date-popover {
    padding: 10px;
  }

  .date-weekdays,
  .date-grid {
    gap: 5px;
  }

  .date-weekdays span {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
  }

  .date-day {
    height: 30px;
    font-size: 0.8rem;
    border-radius: 8px;
  }

  .time-subgrid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
  }
}
