:root {
  --bg: #f7f4ef;
  --bg-soft: #efeae2;
  --surface: #fffcf8;
  --text: #2c3330;
  --text-muted: #5c6661;
  --accent: #6b8f71;
  --accent-dark: #4f6f55;
  --accent-soft: #dce8dd;
  --warm: #c4a484;
  --warm-soft: #e8ddd0;
  --border: rgba(44, 51, 48, 0.1);
  --shadow: 0 20px 50px rgba(44, 51, 48, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

button,
.btn,
a.btn,
input,
select,
textarea {
  touch-action: manipulation;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(247, 244, 239, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.nav-admin-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--border);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.nav-admin-entry:hover {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-color: rgba(107, 143, 113, 0.35);
}

.nav-admin-icon {
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

.logo-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--warm));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link,
.nav-dropdown-trigger {
  color: var(--text-muted);
  font-weight: 500;
  font-family: inherit;
  font-size: 0.9rem;
}

.nav-link:hover,
.nav-dropdown-trigger:hover {
  color: var(--text);
}

.nav-link.is-active,
.nav-dropdown-trigger.is-active {
  color: var(--accent-dark);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.btn-small.is-active:not(.btn-nav-alt) {
  background: var(--accent);
  color: #fff !important;
  border: none;
  box-shadow: 0 8px 24px rgba(107, 143, 113, 0.35);
}

.btn-small.is-active:not(.btn-nav-alt):hover {
  background: var(--accent-dark);
  color: #fff !important;
}

.btn-nav-alt.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark) !important;
  box-shadow: inset 0 0 0 1px var(--accent);
}

.nav-dropdown-panel a.is-active {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 500;
}

.btn-nav-alt {
  background: var(--surface);
  color: var(--accent-dark) !important;
  border: 1px solid var(--accent-soft);
  box-shadow: none;
}

.btn-nav-alt:hover {
  background: var(--accent-soft);
  color: var(--accent-dark) !important;
}

.btn-small.btn-nav-alt {
  background: var(--surface);
  color: var(--accent-dark) !important;
  border: 1px solid var(--accent-soft);
  box-shadow: none;
}

.btn-small.btn-nav-alt:hover {
  background: var(--accent-soft);
  color: var(--accent-dark) !important;
}

.nav-mobile-menu {
  display: none;
}

.nav-desktop-only {
  display: contents;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.15rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-dropdown-trigger[aria-expanded="true"] {
  color: var(--accent-dark);
}

.nav-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.nav-dropdown-trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(-135deg) translateY(1px);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  padding: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 120;
}

.nav-dropdown-panel::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-panel[hidden] {
  display: block;
}

.nav-dropdown-eyebrow {
  margin: 0 0 0.5rem;
  padding: 0 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm);
  font-weight: 600;
}

.nav-dropdown-panel a {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  color: var(--text);
  font-weight: 400;
}

.nav-dropdown-panel a:hover {
  background: var(--bg-soft);
  color: var(--accent-dark);
}

.nav-dropdown-foot {
  margin-top: 0.35rem;
  padding-top: 0.65rem !important;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-mobile-root {
  display: none;
}

.nav-mobile-backdrop {
  margin: 0;
  padding: 0;
  border: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(107, 143, 113, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-soft);
}

.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
}

.btn-small:hover {
  background: var(--accent-dark);
  color: #fff !important;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-danger {
  background: #b85c5c;
  color: #fff;
}

.btn:disabled,
.btn.is-processing {
  cursor: wait;
}

.btn-primary:disabled,
.btn-primary.is-processing {
  opacity: 0.88;
}

.btn-primary.is-processing:hover,
.btn-primary:disabled:hover {
  transform: none;
}

.btn-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.65s linear infinite;
  flex-shrink: 0;
}

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

/* Hero */
.hero {
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 32ch;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions .btn-primary,
.hero-actions .btn-primary:hover,
.hero-actions .btn-primary:focus-visible {
  color: #fff;
}

.hero-actions .btn-primary:hover {
  background: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(107, 143, 113, 0.42);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--text);
}

.hero-card cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--text-muted);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent-dark);
}

.hero-stats dd {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  margin: 0 0 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  margin: 0;
  font-weight: 300;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.cards-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.card-modalidad-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-modalidad-list li {
  color: var(--text-muted);
  line-height: 1.5;
}

.card-modalidad-list strong {
  color: var(--text);
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.card-title-compact {
  font-size: 1.12rem;
  line-height: 1.05;
  text-wrap: balance;
  margin-bottom: 0.35rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-figure {
  margin: 0;
  max-width: 22rem;
  width: 100%;
  margin-inline: auto;
}

.about-image-caption {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  color: var(--text);
}

.about-image {
  aspect-ratio: 3 / 4;
  max-width: 22rem;
  margin-inline: auto;
  width: 100%;
  border-radius: var(--radius);
  background: var(--warm-soft);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (min-width: 901px) {
  .about-figure {
    max-width: 30rem;
    margin-inline: 0;
  }

  .about-image {
    width: 100%;
    max-width: 30rem;
    margin-inline: 0;
  }

  .about-image-caption {
    text-align: left;
  }

}

.about-content h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin: 0 0 1rem;
}

.about-content p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.list-check li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Contact */
.contact-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem 2.75rem;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, minmax(14rem, 1fr));
  justify-content: center;
  gap: 0 5rem;
  align-items: center;
  width: min(100%, 56rem);
  margin-inline: auto;
  box-shadow: 0 10px 32px rgba(44, 51, 48, 0.07);
}

#contacto .section-header {
  margin-bottom: 1.5rem;
}

#contacto .section-header p {
  font-size: 1.08rem;
}

.contact-item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.contact-item strong {
  display: block;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.1rem;
  line-height: 1.2;
}

.contact-item span {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.contact-item > span:first-child {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Booking page */
.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  margin: 0;
}

.page-hero-lead {
  max-width: 42rem;
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 1.65;
}

.page-hero--experiencias {
  text-align: center;
}

.page-hero--experiencias .page-hero-lead {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text);
  opacity: 0.88;
}

.experiencias-teaser-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.experiencias-teaser h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
  font-weight: 500;
}

.experiencias-teaser p {
  margin: 0;
  color: var(--text-muted);
  max-width: 38rem;
}

.experiencias-section {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.experiencias-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  width: min(100%, 48rem);
  margin-inline: auto;
}

.experiencias-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
  width: min(100%, 56rem);
  margin-inline: auto;
  align-items: start;
}

.experience-screenshot {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  display: flex;
  justify-content: center;
  min-height: 0;
}

.experience-phone {
  width: 100%;
  max-width: 20.75rem;
  margin-inline: auto;
  aspect-ratio: 9 / 19.5;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.experience-phone--iphone {
  background: linear-gradient(
    168deg,
    #fafafa 0%,
    #f0f0f2 22%,
    #e3e3e8 55%,
    #d4d4da 88%,
    #c8c8cf 100%
  );
  border-radius: 3rem;
  padding: 0.32rem;
  box-shadow:
    0 28px 56px rgba(44, 51, 48, 0.14),
    0 12px 24px rgba(44, 51, 48, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.experience-phone-btn {
  position: absolute;
  background: linear-gradient(90deg, #b8b8be, #d8d8de, #b8b8be);
  border-radius: 2px;
  z-index: 2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 0 0.5px rgba(0, 0, 0, 0.12);
}

.experience-phone-btn-silent {
  left: -2px;
  top: 18%;
  width: 3px;
  height: 1.1rem;
}

.experience-phone-btn-volume {
  left: -2px;
  top: 26%;
  width: 3px;
  height: 2.35rem;
}

.experience-phone-btn-power {
  right: -2px;
  top: 24%;
  width: 3px;
  height: 3.25rem;
}

.experience-phone-screen {
  flex: 1;
  min-height: 0;
  position: relative;
  background: linear-gradient(180deg, #fbfbfd 0%, #f2f2f7 45%, #ececf1 100%);
  border-radius: 2.55rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.06),
    inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.experience-phone-island {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  max-width: 5rem;
  height: 0.95rem;
  background: #0a0a0a;
  border-radius: 999px;
  z-index: 3;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.experience-phone-home-bar {
  position: absolute;
  bottom: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  max-width: 5.25rem;
  height: 0.26rem;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 999px;
  z-index: 3;
  pointer-events: none;
}

.experience-phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  position: relative;
  z-index: 1;
}

.experience-phone-chat {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  padding: 2.35rem 0.65rem 1.65rem;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.experience-phone-bubble {
  background: #fff;
  border-radius: 1.1rem;
  padding: 0.85rem 0.95rem;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  max-width: 100%;
}

.experience-phone-bubble p {
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #1c1c1e;
}

.experience-phone-bubble p:last-child {
  margin-bottom: 0;
}

.experience-phone-bubble-footer {
  margin-top: 0.4rem !important;
  font-size: 1.05rem !important;
  line-height: 1.3 !important;
}

.experience-phone-chat-author {
  margin: 0 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #636366;
  line-height: 1.35;
}

.experience-card {
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--warm), var(--accent-dark));
  opacity: 0.85;
}

.experience-author {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--accent-dark);
}

.experience-story p {
  margin: 0 0 1.1rem;
  color: var(--text);
  line-height: 1.75;
  font-size: 1.05rem;
}

.experience-story p:last-child {
  margin-bottom: 0;
}

.experience-body {
  padding: 2rem 2.25rem 2.15rem;
}

.experience-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.25rem;
  font-weight: 500;
}

.experience-meta {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.experience-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin: 0 0 1.25rem;
}

.experience-facts-wide {
  grid-column: 1 / -1;
}

.experience-facts dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--warm);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.experience-facts dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.experience-story {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.experience-quote {
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.45;
}

.experience-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--text-muted);
}

.experiencias-cta {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.experience-cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, var(--accent-soft), var(--warm-soft));
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.experience-cta-box h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.35rem;
}

.experience-cta-box p {
  margin: 0;
  color: var(--text-muted);
}

.experiencias-disclaimer {
  padding-bottom: 3rem;
}

.experiencias-disclaimer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 52rem;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  padding-bottom: 4rem;
  align-items: start;
}

.calendar-panel,
.form-panel {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.calendar-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0;
  text-transform: capitalize;
}

.calendar-nav {
  display: flex;
  gap: 0.5rem;
}

.calendar-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--text);
}

.calendar-nav button:hover {
  background: var(--accent-soft);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-align: center;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text);
}

.cal-day:hover:not(:disabled) {
  background: var(--accent-soft);
}

.cal-day.other-month {
  color: #aaa;
}

.cal-day.today {
  font-weight: inherit;
}

.cal-day.selected {
  background: var(--accent);
  color: #fff;
}

.cal-day:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cal-day.has-slots:not(:disabled)::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 1.4rem;
}

.cal-day.has-events:not(:disabled)::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--warm);
  margin-top: 1.4rem;
  margin-left: -8px;
}

.cal-day.has-slots.has-events:not(:disabled)::before {
  margin-left: -10px;
}

.cal-day.has-slots.has-events:not(:disabled)::after {
  margin-left: 6px;
}

.cal-day {
  position: relative;
}

.cal-day.selected.has-slots::after {
  background: #fff;
}

.slots-section h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.5rem;
}

.slot-btn {
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.slot-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.slot-btn.selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.slot-btn.selected .slot-btn-hint {
  color: rgba(255, 255, 255, 0.85);
}

.slot-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.slot-btn-event {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 52px;
  padding: 0.5rem 0.35rem;
}

.slot-btn-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.events-list-detail {
  margin-top: 1.25rem;
}

.form-panel h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.form-summary {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.form-summary strong {
  display: block;
  margin-bottom: 0.25rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.alert-success {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.alert-error {
  background: #f5e0e0;
  color: #8b4040;
}

.empty-slots {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 1rem 0;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 1rem 0 0;
  align-items: center;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.legend-slot {
  background: var(--accent);
}

.legend-event {
  background: var(--warm);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.event-card-selected {
  border-color: var(--warm);
  box-shadow: 0 0 0 2px var(--warm-soft);
}

.event-card-full {
  opacity: 0.85;
}

.event-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.event-time {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.event-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  font-weight: 500;
}

.event-desc {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.event-meta {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.participant-list {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.participant-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
}

.event-participants-empty {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.event-block-note {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--warm);
}

.event-full-label {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: #8b4040;
}

.event-card .btn-block {
  margin-top: 0.25rem;
}

.panel-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.events-poll-wrap {
  padding-bottom: 3rem;
  max-width: 42rem;
}

.events-poll-loading {
  color: var(--text-muted);
  text-align: center;
  padding: 2rem 0;
}

.events-poll-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1rem 3.5rem;
  width: 100%;
}

.events-poll-notice {
  text-align: center;
  width: min(100%, 24rem);
  padding: 1.85rem 1.65rem 1.65rem;
  background: linear-gradient(180deg, #fdf8ef 0%, #faf3e4 100%);
  border: 1px solid #e8d4a8;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(180, 140, 70, 0.12);
}

.events-poll-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--warm, #c9a227);
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(180, 140, 70, 0.35);
}

.events-poll-notice-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
}

.events-poll-notice-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.events-poll-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.event-poll-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-soft);
}

.event-poll-rank {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-poll-body {
  flex: 1;
  min-width: 0;
}

.event-poll-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.event-poll-votes {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.event-poll-votes strong {
  color: var(--accent);
  font-size: 1.15rem;
}

.event-poll-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.event-poll-desc {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.event-poll-meta {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.event-poll-bar {
  height: 0.35rem;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.event-poll-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light, #7aab8e));
  border-radius: 999px;
  min-width: 0;
  transition: width 0.35s ease;
}

.events-poll-note {
  margin-top: 2rem;
}

.event-vote-modal {
  width: min(100%, 28rem);
}

.event-vote-form .form-group {
  margin-bottom: 1rem;
}

.event-vote-hint {
  margin: 0 0 1rem;
  font-size: 0.88rem;
}

.booking-success-modal .admin-modal-actions {
  justify-content: center;
}

.booking-success-detail {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  text-align: center;
}

/* Admin */
.admin-body {
  background: var(--bg-soft);
  min-height: 100vh;
}

.admin-body .container {
  width: min(100% - 2rem, 1480px);
  max-width: none;
}

.admin-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.admin-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warm);
  font-weight: 600;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 1.75rem 2rem;
  padding: 2rem 0 4rem;
  align-items: start;
  width: 100%;
}

.admin-mobile-menu {
  display: none;
}

.admin-sidebar {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1rem;
}

.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-sidebar a,
.admin-sidebar button.tab-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

.admin-sidebar a:hover,
.admin-sidebar button.tab-btn:hover,
.admin-sidebar button.tab-btn.active {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.admin-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  width: 100%;
}

.admin-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem 2rem;
  width: 100%;
}

.admin-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

table.data-table th,
table.data-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

table.data-table th {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-confirmed {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.badge-event {
  background: var(--warm-soft);
  color: #6b5344;
}

.badge-block {
  background: #e8e8e8;
  color: #555;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-card {
  width: min(100%, 400px);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.login-card h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.5rem;
  text-align: center;
}

.login-card .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.admin-header {
  box-shadow: 0 1px 0 var(--border);
}

.admin-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.admin-header-logo {
  flex-shrink: 0;
  margin-left: clamp(1.25rem, 4vw, 2.75rem);
}

.admin-header-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem 1.25rem;
  flex: 1;
  min-width: min(100%, 20rem);
}

.admin-header-identity {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(44, 51, 48, 0.04);
}

.admin-header-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--warm-soft));
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.admin-header-identity-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  padding-right: 0.15rem;
}

.admin-header-role {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--warm);
  font-weight: 600;
}

.admin-header-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}

.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.admin-btn-logout {
  color: var(--text-muted);
}

.admin-calendar-layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  width: 100%;
}

.admin-calendar-panel {
  position: sticky;
  top: 5.5rem;
}

.admin-day-detail {
  min-width: 0;
}

.admin-day-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.admin-day-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.admin-day-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.admin-day-item-name {
  margin: 0 0 0.25rem;
  font-weight: 500;
  font-size: 1rem;
}

.admin-day-item-meta {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.admin-day-item-notes {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: var(--text);
  font-style: italic;
}

.admin-empty-inline {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.admin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(44, 51, 48, 0.45);
  backdrop-filter: blur(4px);
}

.admin-modal {
  width: min(100%, 26rem);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.65rem 1.35rem;
}

.admin-modal-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text);
}

.admin-modal-text {
  margin: 0 0 1.35rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.admin-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.admin-modal-actions .btn {
  min-width: 6.5rem;
}

.admin-events-history {
  margin-top: 1.75rem;
  padding-top: 0.5rem;
}

.admin-history-toggle {
  font-weight: 500;
}

.admin-history-count {
  margin-left: 0.35rem;
  color: var(--text-muted);
  font-weight: 400;
}

.admin-history-table {
  margin-top: 1rem;
}

.admin-row-past td {
  color: var(--text-muted);
}

.admin-voters-modal {
  width: min(100%, 32rem);
  max-height: min(85vh, 28rem);
  overflow: auto;
}

.admin-voters-modal-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-voters-modal-list li {
  padding: 0.65rem 0.75rem;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.45;
}

.admin-lead {
  margin: -0.5rem 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-stat {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.15rem;
}

.admin-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-dark);
  line-height: 1.1;
}

.admin-stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.admin-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.admin-toolbar-field {
  margin-bottom: 0;
  min-width: 11rem;
}

.admin-check,
.admin-check-wrap .admin-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  margin-bottom: 0.35rem;
}

.admin-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent-dark);
}

.admin-subtitle {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 1rem;
  font-weight: 500;
}

.admin-form-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.admin-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 1rem !important;
}

.admin-notes {
  max-width: 14rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.admin-muted {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.admin-participants-cell {
  min-width: 12rem;
  max-width: 22rem;
  font-size: 0.85rem;
}

.admin-participant-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.admin-participant-list li {
  margin-bottom: 0.35rem;
}

.admin-row-actions {
  flex-wrap: nowrap;
}

.admin-loading {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.admin-alert-dismiss {
  margin-left: 0.75rem;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-block {
  width: 100%;
  margin-top: 0.5rem;
}

.actions-inline {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-icon {
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
}

.hidden {
  display: none !important;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.25rem;
}

.footer-tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 4.75rem;
    overflow-x: clip;
  }

  body {
    overflow-x: clip;
  }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
    overscroll-behavior: none;
  }

  /* Con body en position:fixed el sticky deja de aplicar; el header queda fijo y clickeable */
  body.nav-open .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 301;
  }

  .container {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .hero-grid,
  .about-grid,
  .booking-layout,
  .admin-layout,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-grid > *,
  .about-grid > *,
  .booking-layout > *,
  .form-panel,
  .calendar-panel {
    min-width: 0;
  }

  .hero-lead {
    max-width: none;
  }

  .logo {
    min-width: 0;
    flex-shrink: 1;
  }

  .header-inner {
    gap: 0.65rem;
  }

  .page-hero--experiencias .page-hero-lead {
    margin-inline: auto;
    font-size: 1.05rem;
  }

  .experiencias-stack {
    width: min(100%, 48rem);
    gap: 1.35rem;
  }

  .experiencias-gallery {
    grid-template-columns: 1fr;
    width: min(100%, 22rem);
    gap: 1.25rem;
  }

  .experience-phone {
    width: 100%;
    max-width: 19.25rem;
  }

  .experience-phone--iphone {
    border-radius: 2.6rem;
    padding: 0.28rem;
  }

  .experience-phone-screen {
    border-radius: 2.25rem;
  }

  .experience-phone-island {
    height: 0.85rem;
    top: 0.42rem;
  }

  .experience-phone-home-bar {
    height: 0.22rem;
    bottom: 0.32rem;
  }

  .experience-card {
    text-align: left;
  }

  .experience-author {
    text-align: center;
  }

  .experience-body {
    padding: 1.65rem 1.35rem 1.75rem;
  }

  .experience-story p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero {
    padding: 1.75rem 0 2.5rem;
    overflow: visible;
    background: linear-gradient(180deg, var(--bg) 0%, #f3efe8 55%, var(--bg-soft) 100%);
  }

  /* El glow lateral tapaba título, texto y botones en pantallas chicas */
  .hero::before {
    display: none;
  }

  .hero-grid {
    gap: 1.75rem;
    position: relative;
    z-index: 1;
  }

  .hero-eyebrow {
    margin-bottom: 0.65rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 6.8vw, 2.5rem);
    line-height: 1.22;
    letter-spacing: -0.01em;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: manual;
  }

  .hero-lead {
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: none;
    margin-bottom: 1.35rem;
    color: var(--text);
    opacity: 0.88;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
    padding: 0.95rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 14px;
  }

  .hero-actions .btn-primary:active {
    transform: scale(0.98);
  }

  .hero-actions .btn-primary {
    background: var(--accent-dark);
    box-shadow: 0 6px 16px rgba(79, 111, 85, 0.28);
  }

  .hero-actions .btn-secondary {
    background: var(--surface);
    border: 1.5px solid rgba(44, 51, 48, 0.14);
    color: var(--text);
    box-shadow: 0 2px 8px rgba(44, 51, 48, 0.04);
  }

  .hero-visual {
    order: 2;
  }

  .hero-grid > div:first-child {
    order: 1;
  }

  .hero-card {
    padding: 1.35rem 1.25rem;
    border-radius: 18px;
    box-shadow: 0 10px 32px rgba(44, 51, 48, 0.07);
  }

  .hero-card blockquote {
    font-size: 1.28rem;
    line-height: 1.45;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-header {
    text-align: center;
    margin-bottom: 1.65rem;
    padding-inline: 0.25rem;
  }

  .section-header h2,
  .about-content h2 {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
    line-height: 1.2;
  }

  .section-header p {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .cards-grid,
  .cards-grid-three {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .card {
    padding: 1.35rem 1.25rem;
    border-radius: 18px;
    box-shadow: 0 6px 22px rgba(44, 51, 48, 0.05);
  }

  .card:hover {
    transform: none;
    box-shadow: 0 8px 26px rgba(44, 51, 48, 0.08);
  }

  .btn-primary {
    box-shadow: 0 4px 14px rgba(107, 143, 113, 0.22);
  }

  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }

  .hero-actions .btn-primary:hover {
    transform: scale(1.04);
  }

  .about-image {
    min-height: 220px;
    border-radius: var(--radius);
  }

  .contact-box {
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    gap: 0.75rem;
    justify-content: stretch;
  }

  .contact-item {
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: var(--surface);
    border-radius: 14px;
    border: 1px solid var(--border);
    align-items: flex-start;
  }

  .contact-item span,
  .contact-item a {
    overflow-wrap: anywhere;
  }

  .experiencias-teaser {
    padding-bottom: 0.5rem;
  }

  .experiencias-teaser-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 1.35rem 1.25rem;
    text-align: left;
    border-radius: 18px;
  }

  .experiencias-teaser-inner .btn {
    width: 100%;
    min-height: 48px;
  }

  .page-hero {
    padding: 2rem 0 1.25rem;
    text-align: center;
  }

  .page-hero h1 {
    font-size: clamp(1.75rem, 6.5vw, 2.35rem);
    overflow-wrap: break-word;
  }

  .page-hero p,
  .page-hero-lead {
    margin-inline: auto;
    font-size: 1rem;
    max-width: 36rem;
  }

  .page-hero.page-hero--experiencias,
  .page-hero.page-hero--experiencias h1,
  .page-hero.page-hero--experiencias .hero-eyebrow {
    text-align: center;
  }

  .page-hero.page-hero--experiencias .page-hero-lead {
    text-align: center;
  }

  .booking-layout {
    gap: 1.25rem;
    padding-bottom: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .slots-grid {
    grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  }

  .slot-btn-event {
    min-height: 52px;
  }

  .event-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-summary span {
    overflow-wrap: anywhere;
  }

  .admin-body .container {
    width: min(100% - 1.5rem, 1480px);
  }

  .admin-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem 0 2.5rem;
  }

  .admin-desktop-sidebar {
    display: none;
  }

  .admin-mobile-menu {
    display: block;
    position: relative;
    grid-column: 1 / -1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 18px rgba(44, 51, 48, 0.06);
    overflow: hidden;
  }

  .admin-mobile-menu.is-open {
    box-shadow: var(--shadow);
  }

  .admin-mobile-menu-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    min-height: 52px;
    padding: 0.65rem 1rem 0.7rem;
    font-family: inherit;
    color: var(--text);
    background: var(--surface);
    border: none;
    cursor: pointer;
  }

  .admin-mobile-menu-trigger-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
    min-width: 0;
    text-align: left;
  }

  .admin-mobile-menu-kicker {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warm);
  }

  .admin-mobile-menu-current {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text);
  }

  .admin-mobile-menu-trigger .nav-chevron {
    flex-shrink: 0;
    margin-left: 0.25rem;
    opacity: 0.85;
  }

  .admin-mobile-menu.is-open .admin-mobile-menu-trigger {
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--surface) 0%, rgba(247, 244, 239, 0.65) 100%);
  }

  .admin-mobile-menu.is-open .admin-mobile-menu-trigger .nav-chevron {
    transform: rotate(-135deg) translateY(1px);
  }

  .admin-mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0.4rem 0.5rem 0.55rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .admin-mobile-menu-item {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 0.72rem 0.85rem;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    text-align: left;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .admin-mobile-menu-item.is-active {
    background: var(--accent-soft);
    color: var(--accent-dark);
  }

  .admin-mobile-menu-item:active {
    background: var(--accent-soft);
  }

  .admin-card {
    padding: 1.15rem 1rem;
  }

  .admin-card h2 {
    font-size: 1.35rem;
  }

  .admin-form-section .btn-primary {
    width: 100%;
    min-height: 48px;
  }

  table.data-table {
    min-width: 520px;
    font-size: 0.84rem;
  }

  table.data-table th,
  table.data-table td {
    padding: 0.55rem 0.45rem;
  }

  .admin-modal-overlay {
    padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem max(0.75rem, env(safe-area-inset-bottom));
  }

  .admin-modal {
    width: min(100%, 26rem);
    max-height: min(88dvh, 32rem);
    overflow-y: auto;
  }

  .events-poll-wrap {
    max-width: none;
    width: 100%;
  }

  .event-poll-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 1.1rem 1rem;
  }

  .event-poll-title {
    font-size: 1.2rem;
  }

  .event-poll-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .events-poll-notice {
    width: min(100%, 22rem);
  }

  .login-page {
    padding: max(2rem, env(safe-area-inset-top)) 1.25rem max(1.25rem, env(safe-area-inset-bottom));
    align-items: flex-start;
  }

  .login-card {
    padding: 1.75rem 1.25rem;
  }

  .login-card .btn-primary {
    min-height: 48px;
  }

  .header-brand {
    min-width: 0;
    flex: 1;
  }

  .nav-admin-entry {
    flex-shrink: 0;
  }

  .logo span:not(.logo-mark) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-row-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-header {
    padding-top: max(0.65rem, env(safe-area-inset-top));
  }

  .admin-header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding-top: 0.35rem;
    padding-bottom: 0.65rem;
  }

  .admin-header-logo {
    margin-left: 0;
    flex: none;
    width: 100%;
    font-size: 1.22rem;
    justify-content: flex-start;
  }

  .admin-header-logo span:not(.logo-mark) {
    overflow: visible;
    text-overflow: unset;
    white-space: nowrap;
  }

  .admin-header-toolbar {
    width: 100%;
    flex: none;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .admin-header-actions {
    width: auto;
  }

  .admin-header-actions .btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }

  .admin-header-identity {
    padding: 0.3rem 0.75rem 0.3rem 0.35rem;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 2px 8px rgba(44, 51, 48, 0.04);
  }

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

  .admin-calendar-panel {
    position: static;
  }

  .calendar-panel,
  .form-panel {
    padding: 1.25rem;
  }

  .calendar-header h2 {
    font-size: 1.25rem;
  }

  .calendar-weekdays {
    font-size: 0.65rem;
    gap: 2px;
  }

  .calendar-days {
    gap: 2px;
  }

  .cal-day {
    font-size: 0.82rem;
    min-height: 40px;
    aspect-ratio: auto;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
    min-height: 48px;
  }

  .form-panel .btn-primary {
    width: 100%;
    min-height: 48px;
  }

  .experience-cta-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.5rem 1.25rem;
  }

  .experience-cta-box .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .experience-cta-box .btn {
    width: 100%;
    min-height: 48px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .site-header {
    padding-top: env(safe-area-inset-top, 0);
    background: rgba(247, 244, 239, 0.96);
    box-shadow: 0 1px 0 var(--border);
  }

  .site-footer {
    padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom, 0));
    background: var(--bg-soft);
  }

  .about-content p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .list-check li {
    font-size: 0.95rem;
  }

  .main-nav {
    display: none;
  }

  .nav-desktop-only {
    display: none;
  }

  .nav-mobile-root {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 250;
    pointer-events: none;
  }

  .nav-mobile-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: auto;
    background: rgba(44, 51, 48, 0.32);
    cursor: default;
  }

  .nav-mobile-drawer {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    width: 100%;
    height: auto;
    max-height: min(85dvh, calc(100dvh - var(--nav-drawer-top, 4rem)));
    pointer-events: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: var(--surface);
    padding: 1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0));
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 16px 40px rgba(44, 51, 48, 0.14);
  }

  .nav-mobile-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .nav-toggle {
    position: relative;
    z-index: 1;
  }

  .nav-mobile-item {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 48px;
    border-radius: 14px;
  }

  .nav-mobile-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg);
    border: 1px solid var(--border);
  }

  .nav-mobile-text.is-active {
    color: var(--accent-dark);
    background: var(--accent-soft);
    border-color: rgba(107, 143, 113, 0.35);
  }

  .nav-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 14px;
    background: var(--accent);
    color: #fff !important;
    border: none;
    text-align: center;
  }

  .nav-mobile-cta.btn-nav-alt {
    background: var(--surface);
    color: var(--accent-dark) !important;
    border: 1px solid var(--accent-soft);
  }

  .nav-mobile-cta.btn-nav-alt.is-active {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent-dark) !important;
  }

  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-inner {
    position: relative;
    padding: 0.75rem 0;
    flex-wrap: nowrap;
  }

  .header-brand {
    flex: 1;
    min-width: 0;
  }

  .logo {
    font-size: 1.15rem;
  }

  .logo span:not(.logo-mark) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.25rem, var(--max-width));
  }

  .hero {
    padding-top: 1.35rem;
  }

  .hero h1 {
    font-size: 1.72rem;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-stats dd {
    font-size: 0.82rem;
  }

  .btn {
    font-size: 0.9rem;
  }

  .section {
    padding: 2.15rem 0;
  }

  .experience-body {
    padding: 1.35rem 1.1rem 1.45rem;
  }

  .experience-story p {
    font-size: 0.98rem;
  }

  .calendar-nav button {
    width: 40px;
    height: 40px;
  }

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

  .card h3,
  .card-title-compact {
    font-size: 1.28rem;
    line-height: 1.25;
  }

  .admin-day-item-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .admin-row-actions .btn {
    width: 100%;
    min-height: 44px;
  }

  .event-poll-card {
    flex-direction: column;
    gap: 0.65rem;
  }

  .event-poll-card .btn-primary {
    width: 100%;
    min-height: 48px;
  }

  .booking-layout {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0));
  }

  .alert {
    font-size: 0.88rem;
  }

  .admin-alert-dismiss {
    min-width: 44px;
    min-height: 44px;
  }

  .experience-phone-bubble {
    max-width: 100%;
  }

  .experience-facts-wide {
    grid-template-columns: 1fr;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }
}

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

  .calendar-weekdays span {
    font-size: 0.58rem;
  }
}
