@font-face {
  font-family: "Zuum Rough";
  src: url("../assets/fonts/ZuumeRough-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Zuum Rough";
  src: url("../assets/fonts/ZuumeRough-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

:root {
  --color-bg: #141010;
  --color-surface: #1f1818;
  --color-surface-soft: #271e1d;
  --color-text: #f9f4ef;
  --color-primary: #f4be63;
  --color-muted: #c8b9a7;
  --color-border: #3b302f;
  --color-ok: #5ac68d;
  --color-error: #f08f7b;

  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;

  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.28);

  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;

  --text-xs: clamp(0.78rem, 0.75rem + 0.2vw, 0.9rem);
  --text-sm: clamp(0.92rem, 0.89rem + 0.2vw, 1rem);
  --text-md: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --text-lg: clamp(1.25rem, 1.04rem + 0.8vw, 1.7rem);
  --text-xl: clamp(1.7rem, 1.22rem + 1.6vw, 2.55rem);

  --container: min(1120px, calc(100% - 2rem));

  --font-title: "Zuum Rough", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Zuum Rough", "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text);
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(700px 260px at 8% -10%, rgba(244, 190, 99, 0.22), transparent 70%),
    radial-gradient(900px 320px at 100% -10%, rgba(154, 108, 87, 0.15), transparent 70%),
    var(--color-bg);
}

main,
.site-footer,
.floating-book {
  position: relative;
  z-index: 1;
}

body.contact-page::before,
body.about-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body.contact-page::before {
  right: -38%;
  left: auto;
  width: min(102vw, 620px);
  height: 100vh;
  background: url("../assets/img/musico.webp") no-repeat right center / contain;
  opacity: 0.55;
}

body.about-page::before {
  left: 50%;
  top: 52%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: min(88vw, 520px);
  height: min(72vh, 520px);
  background: url("../assets/img/prohibido.webp") no-repeat center center / contain;
  opacity: 0.80;
}

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

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--color-primary);
  color: #1b130f;
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-8);
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  background: rgba(20, 16, 16, 0.9);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: var(--radius-12);
  border: 2px solid rgba(244, 190, 99, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  background: rgba(244, 190, 99, 0.16);
}

.brand-name {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  color: #ffffff;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.menu-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-12);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  width: 18px;
  height: 2px;
  background: var(--color-primary);
  display: block;
  content: "";
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.menu-btn span::before {
  transform: translateY(-6px);
}

.menu-btn span::after {
  transform: translateY(4px);
}

.menu-btn[aria-expanded="true"] span {
  background: transparent;
}

.menu-btn[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] span::after {
  transform: rotate(-45deg) translate(1px, -1px);
}

.main-nav {
  position: fixed;
  inset: 70px 1rem auto 1rem;
  padding: var(--space-16);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-16);
  background: rgba(31, 24, 24, 0.98);
  box-shadow: var(--shadow-md);
  display: none;
}

.main-nav.open {
  display: block;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-8);
}

.main-nav a {
  display: block;
  padding: var(--space-12);
  border-radius: var(--radius-8);
  text-decoration: none;
  color: var(--color-text);
}

.main-nav a.active {
  background: rgba(244, 190, 99, 0.16);
  color: var(--color-primary);
}

.main-nav a:hover {
  background: rgba(244, 190, 99, 0.11);
}

.inline-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
}

.inline-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: var(--radius-8);
  border: 1px solid var(--color-border);
  padding: 0 12px;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-surface);
}

.inline-nav a:hover {
  border-color: var(--color-primary);
}

.section {
  padding-block: var(--space-48);
}

.section-tight {
  padding-block: var(--space-32);
}

.alt-surface {
  background: linear-gradient(180deg, rgba(31, 24, 24, 0.35), rgba(31, 24, 24, 0.75));
  border-top: 1px solid rgba(244, 190, 99, 0.08);
  border-bottom: 1px solid rgba(244, 190, 99, 0.08);
}

.eyebrow {
  margin: 0 0 var(--space-8);
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 var(--space-16);
  line-height: 1.18;
  font-family: var(--font-title);
}

h1 {
  font-size: var(--text-xl);
  max-width: 24ch;
}

h2 {
  font-size: var(--text-lg);
}

h3 {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
}

p {
  margin: 0 0 var(--space-16);
  color: var(--color-muted);
}

.lead {
  font-size: var(--text-md);
  max-width: 60ch;
}

.section-intro {
  max-width: 66ch;
}

.hero-grid {
  display: grid;
  gap: var(--space-24);
}

.hero {
  position: relative;
  overflow: clip;
}

.hero::after {
  content: "";
  position: absolute;
  right: -34%;
  top: 0;
  width: min(92vw, 560px);
  height: 100%;
  background: url("../assets/img/musico.webp") no-repeat right center / contain;
  opacity: 0.44;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-media {
  border-radius: var(--radius-16);
  overflow: clip;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  background: var(--color-surface);
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-carousel {
  position: relative;
}

.hero-slides {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  display: flex;
  justify-content: center;
}

.hero-slide.slide-banda {
  background-color: #1a1a1a; /* O un fondo oscuro que combine con Espacio Teodosa */
}

.hero-slide.slide-banda img {
  object-fit:cover; /* Muestra el logo completo sin recortarlo */
  padding: 0px;       /* Le da un margen interno elegante para que no toque los bordes */
  width: 100%;
  height: 100%;
}



.hero-slide.active {
  position: relative;
  opacity: 1;
}

.hero-slide img source {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(249, 244, 239, 0.4);
  cursor: pointer;
  transition: background-color 1.5s ease, transform 1.5s ease;
}

.hero-dot.active {
  background: var(--color-primary);
  transform: scale(1.25);
}

.hero-slide img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;


}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-12);
  border: 1px solid var(--color-border);
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #201811;
  border-color: #e9b156;
}

.btn-primary:hover {
  background: #f7c977;
}

.btn-secondary {
  color: var(--color-text);
  background: var(--color-surface);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  background: var(--color-surface-soft);
}

.pricing-grid {
  display: grid;
  gap: var(--space-16);
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-16);
  padding: var(--space-24);
  box-shadow: var(--shadow-soft);
}

.pricing-card.featured {
  border-color: #b68a48;
  position: relative;
}

.badge {
  position: absolute;
  top: -11px;
  left: 16px;
  margin: 0;
  padding: 4px 10px;
  font-size: 0.78rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #24180f;
  font-weight: 700;
}

.price {
  margin-top: -4px;
  margin-bottom: var(--space-16);
  color: var(--color-primary);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
}

.price span {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.pricing-card ul,
.equip-card ul,
.contact-side ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-8);
}

.pricing-card li,
.equip-card li,
.contact-side li {
  position: relative;
  padding-left: 18px;
  color: var(--color-muted);
}

.pricing-card li::before,
.equip-card li::before,
.contact-side li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  position: absolute;
  left: 0;
  top: 0.57em;
}

.equip-grid,
.rules-grid,
.seo-links-grid,
.form-layout {
  display: grid;
  gap: var(--space-16);
}

.equip-card,
.surface-card,
.contact-side {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-16);
  padding: var(--space-24);
  box-shadow: var(--shadow-soft);
}

.gallery-carousel {
  position: relative;
  overflow: hidden;
  height: 70%;
}

.gallery-track {
  display: flex;
  gap: var(--space-12);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: var(--space-8);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(20, 16, 16, 0.5);
  color: rgba(249, 244, 239, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.gallery-nav:hover {
  background: rgba(20, 16, 16, 0.75);
  border-color: rgba(244, 190, 99, 0.4);
}

.gallery-nav-prev {
  left: 10px;
}

.gallery-nav-next {
  right: 10px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: var(--space-8);
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(249, 244, 239, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.gallery-dot.active {
  background: rgba(244, 190, 99, 0.9);
  transform: scale(1.2);
}

.gallery-item {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-12);
  overflow: clip;
  background: var(--color-surface);
  cursor: pointer;
  max-height: 80%;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-top: var(--space-24);
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-16);
  padding: var(--space-24);
  box-shadow: var(--shadow-soft);
}

.form-row {
  margin-bottom: var(--space-16);
}

label {
  display: inline-block;
  margin-bottom: var(--space-8);
  font-weight: 700;
  color: var(--color-text);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-8);
  background: #181212;
  color: var(--color-text);
  padding: 12px;
  font: inherit;
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.form-feedback {
  min-height: 1.5em;
  margin-top: var(--space-8);
  font-weight: 700;
}

.form-feedback[data-status="loading"] {
  color: var(--color-primary);
}

.form-feedback[data-status="success"] {
  color: var(--color-ok);
}

.form-feedback[data-status="error"] {
  color: var(--color-error);
}

.contact-side h2 {
  margin-bottom: var(--space-16);
}

.map {
  margin-top: var(--space-24);
  border-radius: var(--radius-12);
  overflow:hidden;
  border: 1px solid var(--color-border);
}

.map iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
}

.seo-links-grid a {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-12);
  color: var(--color-text);
  text-decoration: none;
  padding: 14px;
}

.seo-links-grid a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.prose {
  max-width: 74ch;
}

.contact-cta {
  display: grid;
  gap: var(--space-16);
  align-items: center;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-32);
  padding-block: var(--space-24);
  background: rgba(17, 13, 13, 0.6);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.footer-inner p {
  margin: 0;
}

.floating-book {
  position: fixed;
  right: var(--space-16);
  bottom: var(--space-16);
  z-index: 80;
  padding: 11px 11px;
  border-radius: 450px;
  text-decoration: none;
  background: rgb(37, 211, 102);
  color: #fff;
  border: 1px solid rgb(37, 211, 102);
  box-shadow: var(--shadow-md);
  font-weight: 700;
}

.floating-book:hover {
  background: rgb(37, 211, 102);
  border-color: rgb(224, 231, 226);
  color: #fff;
  border: 2px solid;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 6, 6, 0.94);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 200;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  border-radius: var(--radius-12);
  border: 1px solid var(--color-border);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(20, 16, 16, 0.78);
  color: var(--color-text);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav-prev {
  left: 14px;
}

.lightbox-nav-next {
  right: 14px;
}

.lightbox-counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20, 16, 16, 0.72);
  color: var(--color-muted);
  font-size: var(--text-xs);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .brand {
    padding: 4px 10px;
  }

  .brand-name {
    font-size: clamp(1.2rem, 1rem + 1.6vw, 1.5rem);
  }
}

@media (min-width: 720px) {
  .menu-btn {
    display: none;
  }

  .main-nav {
    position: static;
    display: block;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-4);
  }

  .main-nav a {
    padding: 8px 12px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
    align-items: center;
  }

  .hero::after {
    right: -18%;
    width: min(70vw, 520px);
    opacity: 0.44;
  }

  body.contact-page::before {
    right: -20%;
    width: min(74vw, 560px);
    opacity: 0.44;
  }

  body.about-page::before {
    width: min(62vw, 500px);
    height: min(70vh, 500px);
    opacity: 0.44;
  }

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

  .equip-grid,
  .rules-grid,
  .seo-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    gap: var(--space-12);
    padding-bottom: 0;
  }

  .gallery-item {
    flex: initial;
  }

  .gallery-nav,
  .gallery-dots {
    display: none;
  }

  .contact-cta {
    grid-template-columns: 1fr auto;
  }

  .form-layout {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .hero::after {
    right: -6%;
    width: min(44vw, 560px);
    opacity: 0.36;
  }

  body.contact-page::before {
    right: -8%;
    width: min(52vw, 560px);
    opacity: 0.44;
  }

  body.about-page::before {
    width: min(44vw, 520px);
    height: min(72vh, 520px);
    opacity: 0.80;
  }

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

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

  .gallery-track .gallery-item:nth-child(n + 4) {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
