:root {
  --bg: #ebe6df;
  --ink: #16100d;
  --card: #fffcf7;
  --line: #d6c7b7;
  --accent: #c7571e;
  --accent-dark: #7c2c10;
  --accent-soft: #fce6d8;
  --ok: #2e7a45;
  --err: #b4232c;
  --muted: #6b5d55;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background-color: #ead9ca;
  min-height: 100dvh;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background-color: #ead9ca;
  -webkit-text-size-adjust: 100%;
}

.site-bg {
  min-height: 100dvh;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background:
    radial-gradient(circle at 18% 8%, rgba(244, 216, 196, 0.55) 0, transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(233, 199, 174, 0.42) 0, transparent 24%),
    linear-gradient(180deg, #d5bba8 0%, #e1ccbc 18%, #ebddd1 34%, #f1e6dc 56%, #efe4da 100%);
}

.admin-bg {
  background: linear-gradient(120deg, #100b0a 0%, #1f1512 50%, #2a1d19 100%);
  background-color: #100b0a;
  min-height: 100dvh;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.hero {
  min-height: 56vh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 1.2rem 1rem 3rem;
  overflow: hidden;
  background:
    linear-gradient(116deg, rgba(13, 8, 8, 0.68), rgba(70, 34, 16, 0.42)),
    url("/img/fondob22.jpeg") center 42% / cover no-repeat;
}

.hero__rings {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42px;
  background: linear-gradient(180deg, rgba(213, 187, 168, 0) 0%, rgba(213, 187, 168, 0.26) 100%);
  pointer-events: none;
}

.hero__grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
  margin: 0 auto;
  color: #fff8f4;
  text-align: center;
  animation: fade-up 650ms ease both;
}

.hero__brand {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  margin-bottom: 0.4rem;
}

.hero__logo-shell {
  display: grid;
  place-items: center;
  width: 108px;
  aspect-ratio: 1;
  padding: 0.5rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 236, 224, 0.2);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
}

.hero__logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.2));
}

.eyebrow {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.23rem;
  margin: 0;
  font-size: 1.1rem;
  color: #ffd9c5;
}

h1,
h2,
h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.05rem;
  margin: 0;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.3rem);
  line-height: 0.92;
  max-width: 12ch;
  margin-top: 0.3rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__subtitle {
  max-width: 60ch;
  font-size: 1.06rem;
  line-height: 1.62;
  margin: 0.75rem 0 0;
  color: #ffede0;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.hero__cta,
.hero__ghost {
  position: relative;
  z-index: 2;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.72rem 1.05rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero__cta {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.hero__ghost {
  color: #fff3ea;
  border: 1px solid rgba(255, 231, 216, 0.65);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(2px);
}

.hero__cta:hover,
.hero__ghost:hover {
  transform: translateY(-1px);
}

.landing {
  position: relative;
  width: min(920px, 94%);
  margin: 0 auto 1.1rem;
  padding: 2rem 0 0;
  display: grid;
  gap: 1.15rem;
}

.landing::before {
  content: none;
}

.landing > .panel--booking {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  position: relative;
  z-index: 2;
  transform: none;
  margin-bottom: 0;
}

.panel {
  position: relative;
  z-index: 1;
  background: linear-gradient(175deg, rgba(252, 246, 239, 0.94), rgba(248, 239, 229, 0.95));
  border: 1px solid rgba(197, 174, 155, 0.72);
  border-radius: 20px;
  padding: 1.3rem;
  box-shadow:
    0 16px 32px rgba(56, 31, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.panel--booking {
  animation: fade-up 700ms ease both;
}

.panel--booking-centered {
  width: 100%;
  margin: 0 auto;
}

.booking-shell {
  display: grid;
  gap: 1.1rem;
}

.booking-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.45rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(250, 241, 232, 0.95), rgba(255, 251, 246, 0.98));
  border: 1px solid rgba(214, 199, 183, 0.9);
}

.booking-switch__btn {
  border: 0;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: transparent;
  color: #5e463c;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.05rem;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.booking-switch__btn--active {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 10px 22px rgba(124, 44, 16, 0.18);
}

.booking-view {
  animation: fade-up 240ms ease both;
}

.booking-kicker {
  margin: 0 0 0.35rem;
  color: #a14c27;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.14rem;
  font-size: 0.95rem;
}

.booking-stage {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(198, 177, 158, 0.68);
  background:
    radial-gradient(circle at 100% 0%, rgba(247, 214, 189, 0.26), transparent 24%),
    linear-gradient(180deg, rgba(251, 245, 238, 0.92), rgba(246, 237, 227, 0.94));
}

.booking-stage--cancel {
  background:
    radial-gradient(circle at 0% 0%, rgba(245, 218, 196, 0.24), transparent 24%),
    linear-gradient(180deg, rgba(251, 245, 238, 0.92), rgba(245, 235, 226, 0.94));
}

.booking-stage__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.booking-stage__head h2 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 0.94;
}

.booking-stage__copy {
  max-width: 62ch;
  margin: 0;
}

.booking-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.booking-meta article {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(214, 199, 183, 0.75);
  background: rgba(255, 255, 255, 0.72);
}

.booking-meta strong {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.05rem;
  font-size: 1.35rem;
  color: #2d201a;
}

.booking-meta span {
  color: #6b5d55;
  line-height: 1.4;
}

.booking-meta--cancel strong {
  color: #6a2b10;
}

.booking-form-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 1.2rem;
  border: 1px solid rgba(201, 179, 160, 0.68);
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.9), rgba(248, 239, 230, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 14px 28px rgba(64, 31, 19, 0.06);
}

.booking-form-card::after {
  content: "";
  position: absolute;
  inset: auto -36px -52px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 214, 189, 0.36), transparent 70%);
  pointer-events: none;
}

.booking-form-card--compact {
  display: grid;
  align-content: start;
}

.booking-cancel-btn {
  min-width: 180px;
}

.panel--agenda {
  animation: fade-up 850ms ease both;
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.panel__copy {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.5;
}

.chip {
  background: var(--accent-soft);
  color: #58240f;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.hint {
  margin: 0;
  color: var(--muted);
}

.booking-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 100%;
}

.booking-grid > * {
  min-width: 0;
}

.booking-grid label,
.stack label,
.intranet-toolbar label,
.intranet-toolbar__range label {
  min-width: 0;
}

.booking-grid input,
.booking-grid select,
.booking-grid textarea,
.stack input,
.stack select,
.intranet-toolbar input,
.intranet-toolbar select,
.intranet-toolbar__range input,
.intranet-toolbar__range select {
  min-width: 0;
  min-inline-size: 0;
  max-width: 100%;
  overflow: hidden;
}

.panel--contact {
  animation: fade-up 900ms ease both;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-link {
  display: grid;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid rgba(214, 199, 183, 0.9);
  background: linear-gradient(180deg, #fffdf9, #fff6ef);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  border-color: rgba(199, 87, 30, 0.45);
  box-shadow: 0 14px 26px rgba(62, 29, 16, 0.08);
}

.contact-link strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.04rem;
}

.contact-link span {
  color: var(--muted);
  line-height: 1.5;
}

.contact-link--whatsapp {
  background:
    linear-gradient(180deg, rgba(237, 255, 244, 0.96), rgba(248, 255, 250, 0.98));
}

.contact-link--instagram {
  background:
    linear-gradient(180deg, rgba(255, 243, 236, 0.98), rgba(255, 250, 247, 0.98));
}

.contact-link--location {
  background:
    linear-gradient(180deg, rgba(242, 248, 255, 0.98), rgba(249, 252, 255, 0.98));
}

.booking-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 20;
  width: min(420px, calc(100vw - 2rem));
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(46, 122, 69, 0.22);
  background: linear-gradient(180deg, rgba(244, 255, 247, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 18px 34px rgba(33, 19, 14, 0.18);
  opacity: 0;
  transform: translate(-50%, calc(-50% + 20px)) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.booking-toast--visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.booking-toast__copy {
  display: grid;
  gap: 0.55rem;
  width: 100%;
}

.booking-toast__copy strong {
  color: var(--ok);
}

.booking-toast__copy p {
  margin: 0;
  color: #264331;
  line-height: 1.45;
}

.booking-toast__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.booking-toast__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 0.62rem 0.85rem;
  border-radius: 12px;
  background: #1f5d34;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.14rem;
}

.booking-toast__copy-btn {
  padding-inline: 1rem;
}

.booking-toast__close {
  border: 0;
  background: transparent;
  color: #496253;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem;
}

.full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 0.42rem;
  grid-template-columns: minmax(0, 1fr);
  font-weight: 700;
  font-size: 0.92rem;
  color: #2d201a;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 0.75rem 0.8rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="date"] {
  min-height: 44px;
  line-height: 1.2;
  -webkit-appearance: auto;
  appearance: auto;
  display: block;
  padding-right: 0.8rem;
  width: 100%;
  min-width: 0;
  min-inline-size: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

input[type="date"]::-webkit-datetime-edit {
  padding: 0;
  color: var(--ink);
  min-height: 1.2em;
}

input[type="date"]:invalid::-webkit-datetime-edit {
  color: #6b5d55;
}

input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
  min-height: 1.2em;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 1;
  cursor: pointer;
  margin: 0;
  padding: 0;
  width: 1.2em;
  height: 1.2em;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(199, 87, 30, 0.2);
}

.btn-primary {
  border: 0;
  border-radius: 12px;
  padding: 0.83rem 1rem;
  font-weight: 800;
  background: linear-gradient(136deg, var(--accent), var(--accent-dark));
  color: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
  box-shadow: 0 8px 18px rgba(124, 44, 16, 0.34);
}

#booking-form .btn-primary {
  grid-column: 1 / -1;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.btn-primary:disabled {
  cursor: not-allowed;
  filter: grayscale(0.15);
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #492117;
  padding: 0.65rem 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

.btn-ghost {
  border: 1px solid #5d4b45;
  background: transparent;
  color: #ffe5dc;
  border-radius: 10px;
  padding: 0.56rem 0.8rem;
  cursor: pointer;
}

.admin-main .btn-ghost {
  color: #3f2b24;
  border-color: #9f8577;
  background: #fff5ed;
}

.message {
  min-height: 0;
  margin-top: 0;
  font-weight: 800;
}

.message:not(:empty) {
  min-height: 1.2rem;
  margin-top: 0.72rem;
}

.message.success {
  color: var(--ok);
}

.message.error {
  color: var(--err);
}

.agenda-list {
  display: grid;
  gap: 0.65rem;
}

.agenda-item {
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #fffbf7);
  padding: 0.7rem;
}

.agenda-item strong {
  display: block;
}

.muted {
  color: var(--muted);
}

.footer {
  margin-top: 1.25rem;
  padding: 2.6rem 1rem 2.5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.09), transparent 28%),
    radial-gradient(circle at 86% 86%, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, #080808, #020202 72%, #000000);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -18px 34px rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.footer__inner {
  width: min(1120px, 94%);
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 1.7rem;
  position: relative;
  z-index: 1;
}

.footer__lead {
  display: grid;
  gap: 0.3rem;
  justify-items: center;
}

.footer__mark {
  display: none;
}

.footer__logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer__eyebrow {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.16rem;
  color: rgba(245, 176, 140, 0.86);
}

.footer__lead h2 {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  color: #ffffff;
  line-height: 0.95;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.footer__copy {
  max-width: 34ch;
  margin: 0;
  color: rgba(255, 240, 230, 0.68);
  line-height: 1.55;
}

.footer .contact-links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  gap: 0.95rem;
}

.footer .contact-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 1.1rem 1.25rem;
  border-radius: 26px;
  border-color: rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(24, 24, 24, 0.96), rgba(8, 8, 8, 0.98));
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.footer .contact-link::before {
  content: none;
}

.footer .contact-link:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 22px 38px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.footer .contact-link strong {
  margin-top: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.footer .contact-link span {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.contact-link__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
}

.contact-link__icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.contact-link__icon img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.footer .contact-link--whatsapp {
  background:
    linear-gradient(180deg, rgba(22, 22, 22, 0.96), rgba(4, 4, 4, 0.98));
}

.footer .contact-link--instagram {
  background:
    linear-gradient(180deg, rgba(22, 22, 22, 0.96), rgba(4, 4, 4, 0.98));
}

.footer .contact-link--location {
  background:
    linear-gradient(180deg, rgba(22, 22, 22, 0.96), rgba(4, 4, 4, 0.98));
}

.footer .contact-link--whatsapp .contact-link__icon {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.28);
  background: rgba(74, 222, 128, 0.1);
}

.footer .contact-link--instagram .contact-link__icon {
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.28);
  background: rgba(251, 113, 133, 0.1);
}

.footer .contact-link--location .contact-link__icon {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.1);
}

.admin-wrap {
  width: min(1050px, 94%);
  margin: 0 auto;
  padding: 1.6rem 0 2rem;
}

.admin-login,
.admin-main {
  background: rgba(250, 245, 241, 0.98);
}

.admin-login {
  max-width: 440px;
}

.stack {
  display: grid;
  gap: 0.8rem;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.admin-subsection {
  margin-top: 1.4rem;
}

.admin-divider {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(214, 199, 183, 0.9);
}

.admin-cards {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.admin-switch {
  margin-bottom: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-card,
.admin-columns > article {
  padding: 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(214, 199, 183, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 243, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 12px 24px rgba(64, 31, 19, 0.05);
}

.admin-card .panel__head,
.admin-columns > article h3 {
  margin-bottom: 0.85rem;
}

.admin-card .panel__copy {
  margin-bottom: 1rem;
}

.admin-list-title {
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-columns {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.intranet-toolbar {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.intranet-toolbar__presets,
.intranet-toolbar__group,
.intranet-toolbar__range {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: end;
}

.intranet-toolbar__group,
.intranet-toolbar__range {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(214, 199, 183, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 243, 0.98));
}

.intranet-toolbar label,
.intranet-toolbar__group label,
.intranet-toolbar__range label {
  width: min(220px, 100%);
}

.intranet-filter-btn {
  background: #fff7ef;
  border-radius: 999px;
}

.intranet-filter-btn--active {
  background: linear-gradient(136deg, var(--accent), var(--accent-dark));
  border-color: transparent;
  color: #fff;
}

.intranet-toolbar__action {
  white-space: nowrap;
}

.day-card {
  border: 1px solid rgba(214, 199, 183, 0.9);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 243, 0.98));
  padding: 1rem;
}

.day-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.day-card__title {
  display: grid;
  gap: 0.15rem;
}

.day-card__head h3 {
  text-transform: capitalize;
}

.day-card__head span {
  color: var(--muted);
  font-weight: 700;
}

.hidden {
  display: none;
}

.danger-link {
  margin-top: 0.4rem;
  border: 0;
  border-radius: 8px;
  background: #fce5e5;
  color: #8c1010;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  font-weight: 700;
}

.danger-link:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Loading state for buttons */
.btn-loading {
  pointer-events: none;
  opacity: 0.7;
  position: relative;
}

.btn-loading::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.5em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: middle;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Today highlight in intranet */
.day-card--today {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 20px rgba(199, 87, 30, 0.12);
}

.day-card--today .day-card__head h3::after {
  content: " — hoy";
  font-size: 0.85em;
  color: var(--accent);
  text-transform: none;
}

@keyframes fade-up {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 1040px) {
  .landing {
    width: min(920px, 94%);
  }

  .hero {
    min-height: 53vh;
  }

  .hero__rings {
    width: 430px;
    height: 430px;
    top: -100px;
    right: -150px;
  }

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

@media (max-width: 760px) {
  .hero {
    min-height: 50vh;
    padding: 1.2rem 0.9rem 3.5rem;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.3rem, 11vw, 4rem);
  }

  .admin-switch {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-switch .booking-switch__btn {
    font-size: 1.1rem;
    padding: 0.75rem 0.5rem;
  }

  .booking-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  input[type="date"],
  input[type="time"] {
    -webkit-appearance: none;
    appearance: none;
    min-height: 46px;
  }

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

  .hero__rings {
    display: none;
  }

  .landing {
    padding-top: 0.65rem;
  }

  .hero {
    padding-top: calc(0.7rem + env(safe-area-inset-top, 0px));
  }

  .booking-switch__btn {
    font-size: 1.14rem;
    padding: 0.8rem 0.7rem;
  }

  .footer {
    margin-top: 0.8rem;
    padding-top: 1.35rem;
    padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  }

  .footer__inner {
    gap: 1rem;
  }

  .hero__brand {
    gap: 0.65rem;
  }

  .hero__logo-shell {
    width: 92px;
    border-radius: 24px;
    padding: 0.8rem;
  }

  .footer .contact-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .landing {
    padding-top: 0.45rem;
  }

  .panel {
    border-radius: 15px;
    padding: 0.96rem;
  }

  .hero::after {
    height: 36px;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__cta,
  .hero__ghost {
    flex: 1;
    text-align: center;
  }

  .panel__head {
    margin-bottom: 0.7rem;
  }

  .chip {
    font-size: 0.74rem;
  }

  .booking-stage {
    padding: 0.9rem;
  }

  .hero {
    min-height: 46vh;
    padding-bottom: 2.4rem;
  }

  .booking-stage__head {
    align-items: stretch;
  }

  .booking-stage__head .chip,
  .booking-cancel-btn,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .booking-toast {
    top: auto;
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%) translateY(16px) scale(0.98);
    width: calc(100vw - 1.5rem);
  }

  .booking-toast--visible {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .footer__inner {
    gap: 1rem;
  }

  .footer {
    margin-top: 0.55rem;
    padding-top: 1.15rem;
  }

  .footer__copy {
    font-size: 0.95rem;
  }

  .footer__mark {
    width: 72px;
    border-radius: 20px;
  }

  .footer .contact-link {
    min-height: auto;
    padding: 0.95rem 1rem;
    border-radius: 20px;
  }

  .footer .contact-link strong {
    font-size: 0.98rem;
  }

  .footer .contact-links {
    grid-template-columns: 1fr;
  }

  .contact-link__top {
    justify-content: flex-start;
  }

  .intranet-toolbar__presets,
  .intranet-toolbar__group,
  .intranet-toolbar__range:not(.hidden) {
    display: grid;
  }

  .admin-switch {
    grid-template-columns: 1fr;
  }

  .admin-switch .booking-switch__btn {
    font-size: 1.15rem;
    padding: 0.7rem 0.8rem;
  }
}
