body {
  margin: 0;
  background: oklch(98% 0.006 60);
  font-family: 'Work Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: oklch(48% 0.2 25);
  text-decoration: none;
}
a:hover {
  color: oklch(40% 0.2 25);
}
* {
  box-sizing: border-box;
}
input,
textarea,
select {
  font-family: 'Work Sans', sans-serif;
}
button {
  font-family: 'Work Sans', sans-serif;
}
input:focus,
textarea:focus,
select:focus,
button:focus-visible {
  outline: 2px solid oklch(48% 0.2 25);
  outline-offset: 1px;
}
.field-error {
  border-color: oklch(55% 0.2 25) !important;
}
.error-msg {
  color: oklch(48% 0.2 25);
  font-size: 13px;
  margin: 6px 0 0;
}
.success-panel {
  background: oklch(96% 0.03 150);
  border: 1px solid oklch(80% 0.08 150);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.success-panel h3 {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
  color: oklch(30% 0.08 150);
}
.success-panel p {
  font-size: 14.5px;
  line-height: 1.6;
  color: oklch(35% 0.03 150);
  margin: 0;
}
[hidden] {
  display: none !important;
}

/* ===== Mobile navigation ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid oklch(85% 0.01 30);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: oklch(30% 0.01 30);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: oklch(99% 0.004 60);
  border-bottom: 1px solid oklch(90% 0.01 30);
  padding: 4px 20px 16px;
}
.mobile-nav a {
  padding: 13px 4px;
  font-size: 15.5px;
  font-weight: 600;
  color: oklch(28% 0.01 30);
  border-bottom: 1px solid oklch(94% 0.008 30);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.is-open { display: flex; }

@media (max-width: 860px) {
  .nav-links { display: none !important; }
  .header-cta { display: none !important; }
  .hamburger { display: flex !important; }
}

/* ===== Responsive spacing & type ===== */
@media (max-width: 860px) {
  .header-inner {
    padding: 14px 20px !important;
    flex-wrap: wrap;
    row-gap: 8px;
  }
  section { padding: 48px 20px !important; }
  footer { padding: 32px 20px 20px !important; }
  h1 { font-size: 30px !important; line-height: 1.18 !important; }
  h2 { font-size: 24px !important; }
}

@media (max-width: 480px) {
  h1 { font-size: 26px !important; }
  h2 { font-size: 21px !important; }
}

/* ===== Grids that collapse to one column on mobile ===== */
@media (max-width: 860px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .grid-4,
  .footer-grid,
  .two-col,
  #booking-section,
  #admin-charts-row,
  #admin-tables-row,
  #admin-metricas-extra {
    grid-template-columns: 1fr !important;
  }
  .hero-grid { gap: 36px !important; }
  #admin-metricas { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 480px) {
  #admin-metricas { grid-template-columns: 1fr !important; }
}

/* ===== Admin data tables: scroll horizontally instead of squeezing ===== */
@media (max-width: 860px) {
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-scroll-inner { min-width: 600px; }
  .table-scroll-inner-wide { min-width: 720px; }
}
