/* ==========================================================
   Paleta oficial Signolia (extraída de su CSS de Elementor)
   Primary teal : #347778
   Dark teal    : #1A3D3E
   Accent orange: #EF7F1A
   Light orange : #FFBC7D
   Ink          : #0C0B0B
   Text         : #5C5959
   Fuentes      : Inter (main) + Open Sans (secondary)
   ========================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #fbfaf7;
  --bg-teal: #f1f5f5;
  --ink: #0C0B0B;
  --text: #5C5959;
  --muted: #9a9794;
  --border: #e8e6e1;
  --border-strong: #cfcdc8;

  --primary: #347778;
  --primary-dark: #1A3D3E;
  --accent: #EF7F1A;
  --accent-soft: #FFBC7D;

  --accent-ink: #ffffff;
  --error: #b5302a;

  --radius: 6px;
  --radius-lg: 14px;
  --maxw: 1180px;
}

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

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.08s, box-shadow 0.18s;
  font-family: inherit;
  line-height: 1;
  letter-spacing: 0.005em;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.btn-primary:hover { background: #d86f0f; box-shadow: 0 6px 20px -8px rgba(239, 127, 26, 0.55); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  padding: 128px 0 104px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -200px;
  top: -200px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle at center, rgba(239, 127, 26, 0.08), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: center;
}

.hero-content { min-width: 0; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-illustration {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
}
.hero-card {
  transform-origin: 220px 240px;
  animation: cardFloat 7s ease-in-out infinite;
}
.hero-badge {
  transform-origin: 382px 62px;
  animation: badgePulse 3.5s ease-in-out infinite;
}
.hero-chip {
  transform-origin: 106px 430px;
  animation: chipFloat 6s ease-in-out infinite;
  animation-delay: -2s;
}

@keyframes cardFloat {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-6px); }
}
@keyframes badgePulse {
  0%, 100% { transform: translate(382px, 62px) scale(1); }
  50%      { transform: translate(382px, 62px) scale(1.06); }
}
@keyframes chipFloat {
  0%, 100% { transform: translate(28px, 408px); }
  50%      { transform: translate(28px, 402px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-card, .hero-badge, .hero-chip { animation: none; }
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 14px 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px -4px rgba(12, 11, 11, 0.06);
}
.lockup-signolia { height: 32px; width: auto; display: block; }
.lockup-fespa { height: 20px; width: auto; display: block; }
.lockup-x {
  color: var(--muted);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 32px;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--primary);
  display: inline-block;
}
.hero h1 {
  font-size: clamp(42px, 6.8vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
  font-weight: 700;
  color: var(--ink);
  max-width: 14ch;
}
.hero h1 .mark {
  color: var(--accent);
}
.hero h1 .amp {
  color: var(--muted);
  font-weight: 400;
}
.hero .lead {
  font-size: 20px;
  color: var(--text);
  max-width: 620px;
  margin: 0 0 48px;
  line-height: 1.55;
}

/* ---------- About ---------- */
.about {
  padding: 104px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.about-item {
  padding: 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.18s, transform 0.18s;
}
.about-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.about-item .num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  font-feature-settings: "tnum";
}
.about-item h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.25;
}
.about-item p {
  color: var(--text);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Reservar / Section headings ---------- */
.reservar { padding: 112px 0; }
.reservar h2,
.form-section h2,
.success h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  letter-spacing: -0.026em;
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
}
.reservar h2 .mark,
.form-section h2 .mark {
  color: var(--accent);
}
.reservar .lead {
  color: var(--text);
  max-width: 640px;
  margin: 0 0 56px;
  font-size: 18px;
}

/* ---------- Slots grid ---------- */
.slots-days {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.slots-days-3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
.day-col {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  background: white;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.day-col:hover {
  border-color: var(--border-strong);
}
.day-col.mesa {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%);
  border-color: var(--accent-soft);
}
.day-col h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.day-col .day-sub {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.day-col.mesa .day-sub { color: var(--accent); }

.slot-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slot {
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  color: var(--ink);
  transition: background-color 0.14s, border-color 0.14s, color 0.14s;
}
.slot:hover:not(.taken):not(.selected) {
  border-color: var(--accent);
  background: #fffaf4;
}
.slot.selected {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.slot.taken {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.88);
  border-color: var(--primary);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-decoration-thickness: 1.5px;
  font-weight: 600;
}
.slot .mini {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.slot:hover:not(.taken):not(.selected) .mini { color: var(--accent); }
.slot.selected .mini { color: rgba(255, 255, 255, 0.8); }
.slot.taken .mini {
  color: var(--accent-soft);
  text-decoration: none;
}

/* ---------- Form ---------- */
.form-section {
  padding: 112px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.selected-slot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: white;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 40px;
}
.selected-slot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.form { max-width: 680px; }
.field { margin-bottom: 24px; }
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.row .field { margin-bottom: 24px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.field label .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
  margin-left: 4px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: white;
  transition: border-color 0.14s, box-shadow 0.14s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.15);
}
.field textarea {
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
  line-height: 1.5;
}
.field.checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 0;
  line-height: 1.5;
}
.field.checkbox input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.form-msg {
  margin: 18px 0 0;
  font-size: 14px;
  min-height: 20px;
  font-weight: 500;
}
.form-msg.error { color: var(--error); }

/* ---------- Success ---------- */
.success {
  padding: 144px 0;
  text-align: center;
}
.success .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 30px;
  font-weight: 700;
  margin: 0 auto 32px;
  box-shadow: 0 10px 30px -10px rgba(239, 127, 26, 0.45);
}
.success .lead {
  color: var(--ink);
  font-size: 20px;
  margin: 0 auto 18px;
  max-width: 560px;
  font-weight: 500;
}
.success .lead.muted {
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: white;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text);
  font-size: 14px;
}
.footer-inner p { margin: 0; }
.footer-logos {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.footer-logo-sig { height: 28px; width: auto; display: block; }
.footer-logo-fespa { height: 16px; width: auto; display: block; }
.footer-x { color: var(--muted); font-size: 16px; }

/* ---------- Loading / empty ---------- */
.loading {
  color: var(--muted);
  font-style: italic;
  padding: 40px 0;
}

.demo-banner {
  background: #fff8ee;
  border: 1px solid #f5d9b1;
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  color: #6b4616;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 28px;
}
.demo-banner strong { color: var(--accent); font-weight: 700; }
.demo-banner code {
  background: white;
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12.5px;
  color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .slots-days { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 96px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: 2; max-width: 380px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .slots-days { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .hero { padding: 72px 0 60px; }
  .hero-visual { max-width: 320px; }
  .about, .reservar, .form-section { padding: 80px 0; }
  .success { padding: 104px 0; }
  .container { padding: 0 20px; }
  .btn { padding: 14px 22px; font-size: 14px; }
}
