:root {
  color-scheme: light;
  font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  font-size: 16px;
  background-color: #f5f3ef;
  color: #2d241f;
  --accent: #d97706;
  --accent-soft: rgba(217, 119, 6, 0.12);
  --ink: #2d241f;
  --muted: rgba(45, 36, 31, 0.55);
  --surface: rgba(255, 255, 255, 0.85);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --shadow: rgba(31, 23, 18, 0.12);
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, rgba(217, 119, 6, 0.08), rgba(45, 36, 31, 0)) fixed,
    radial-gradient(circle at 30% -10%, rgba(217, 119, 6, 0.15), transparent 60%) fixed,
    #fdfaf5;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 0 1.5rem 3.5rem;
}

.site {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.site-header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  align-items: center;
  background: var(--surface-strong);
  border-radius: 22px;
  padding: 1.75rem 2rem;
  box-shadow: 0 16px 38px var(--shadow);
  border: 1px solid rgba(217, 119, 6, 0.18);
}

.site-header__cell {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-header__cell--left {
  color: var(--ink);
}

.site-header__cell--right {
  justify-self: end;
  color: var(--muted);
}

.status-banner {
  background: rgba(217, 119, 6, 0.12);
  color: #a16207;
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(217, 119, 6, 0.25);
  font-weight: 600;
}

.status-banner--error {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.25);
}

.carousel-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.carousel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 22px 45px rgba(31, 23, 18, 0.18);
  min-height: 320px;
}

.carousel--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  padding: 2rem;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 600ms ease;
  will-change: transform;
  touch-action: pan-y;
  user-select: none;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #16110d;
}

.carousel-slide img,
.carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
}

.carousel-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(45, 36, 31, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-dot.is-active {
  transform: scale(1.35);
  background: var(--accent);
}

.carousel-dot:hover {
  background: rgba(45, 36, 31, 0.55);
}

.cartas-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cartas-section h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
}

.cartas-empty {
  margin: 0;
  color: var(--muted);
  font-style: italic;
  font-weight: 600;
}

.cartas-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.carta-card {
  background: var(--surface-strong);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 16px 32px rgba(31, 23, 18, 0.14);
  border: 1px solid rgba(217, 119, 6, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.carta-card h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.carta-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

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

.carta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.14);
  color: #b45309;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carta-link:hover {
  background: rgba(217, 119, 6, 0.22);
  transform: translateY(-1px);
}

.contact-section {
  background: rgba(31, 23, 18, 0.06);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.15), 0 16px 35px rgba(31, 23, 18, 0.12);
}

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

.contact-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.6rem;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 12px 28px rgba(31, 23, 18, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.14);
}

.contact-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pill:hover {
  background: rgba(217, 119, 6, 0.18);
  transform: translateY(-1px);
}

.pill--muted {
  background: rgba(67, 56, 202, 0.12);
  color: #4338ca;
}

.schedule {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.schedule span {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
}

.schedule span strong {
  color: var(--ink);
  font-weight: 600;
}

.site-footer-note {
  margin: 0;
  text-align: center;
  color: rgba(45, 36, 31, 0.55);
  font-size: 0.95rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .site {
    padding: 2rem 1.25rem 3rem;
  }

  main {
    padding: 0 0 3rem;
  }

  .carousel {
    border-radius: 20px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 640px) {
  .site {
    padding: 1.75rem 1rem 2.5rem;
    gap: 2rem;
  }

  .site-header {
    padding: 1.5rem;
    text-align: center;
  }

  .site-header__cell--right {
    justify-self: center;
  }

  main {
    gap: 2.5rem;
  }

  .contact-section {
    padding: 2rem 1.5rem;
  }

  .carousel--empty {
    padding: 1.5rem;
  }
}
