
:root {
  --primary: #8926ff;
  --primary-dark: #4b1394;
  --accent: #ffd447;
  --bg: #0c0c14;
  --text: #f9f9ff;
  --muted: #b5b3d1;
  --radius: 1.25rem;
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1c1430 0, #05040a 60%, #020106 100%);
  color: var(--text);
  line-height: 1.6;
}

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

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

main {
  overflow: hidden;
}

/* Layout */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at top left, rgba(137,38,255,0.18), transparent 55%),
              rgba(4,4,10,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff 0, #f0ecff 38%, #f9c6ff 58%, #5816a7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
}

.brand-mark img {
  width: 90%;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  border: none;
  cursor: pointer;
  font: inherit;
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn span.icon {
  font-size: 1.05rem;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.24);
  color: var(--text);
  box-shadow: none;
  padding-inline: 1rem;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

/* Hero */

.hero {
  padding-block: 2.5rem 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(7, 5, 18, 0.85);
  box-shadow: 0 12px 32px rgba(0,0,0,0.6);
  margin-bottom: 1.25rem;
}

.hero-eyebrow-badge {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #ffd447 0, #ff7f50 40%, #7817c4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.hero-eyebrow span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.05;
  margin-bottom: 0.85rem;
}

.hero-title span.highlight {
  background: linear-gradient(135deg, #ffd447, #ff9e7b, #ffffff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta span::before {
  content: "•";
  color: var(--accent);
}

.hero-figure {
  position: relative;
}

.hero-card {
  border-radius: 1.6rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 28px 70px rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-card img.cover {
  width: 100%;
  height: clamp(260px, 40vw, 340px);
  object-fit: cover;
  display: block;
}

.hero-card-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(to top, rgba(4,4,10,0.95), rgba(4,4,10,0.6), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.hero-next {
  display: flex;
  flex-direction: column;
  gap: 0.17rem;
}

.hero-next-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.hero-next-event {
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-next-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-badge {
  text-align: right;
  font-size: 0.76rem;
}

.hero-badge strong {
  display: block;
  font-size: 1.3rem;
}

.hero-floating-logo {
  position: absolute;
  right: -1.2rem;
  top: -1.2rem;
  width: min(46%, 190px);
  filter: drop-shadow(0 18px 50px rgba(0,0,0,0.9));
}

/* Sections */

.section {
  padding-block: 2.5rem 3rem;
}

.section-header {
  margin-bottom: 1.7rem;
}

.section-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.section-title {
  font-size: 1.7rem;
  margin-top: 0.3rem;
}

.section-title span {
  color: var(--accent);
}

/* Info cards */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
}

.card {
  background: radial-gradient(circle at top left, rgba(137,38,255,0.22), transparent 55%),
              rgba(10, 9, 20, 0.98);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 45px rgba(0,0,0,0.65);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -60%;
  background:
    radial-gradient(circle at 0 0, rgba(255,255,255,0.07), transparent 60%),
    radial-gradient(circle at 100% 0, rgba(137,38,255,0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0.2rem 0 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.card ul li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.78rem;
  color: var(--accent);
}

.card-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item::after {
  content: "Ver más";
  position: absolute;
  inset: auto 0 0.5rem;
  text-align: center;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.9);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  max-width: min(900px, 96vw);
  max-height: 90vh;
  padding: 0.75rem;
}

.lightbox-inner img {
  width: 100%;
  height: auto;
  border-radius: 0.9rem;
  box-shadow: 0 25px 80px rgba(0,0,0,0.9);
}

.lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(0,0,0,0.8);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}

/* Social */

.social-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 2fr);
  gap: 1.6rem;
}

.social-card {
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  background: radial-gradient(circle at top, rgba(137,38,255,0.25), transparent 60%),
              rgba(9, 7, 18, 0.98);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 45px rgba(0,0,0,0.7);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.6rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(4,4,14,0.96);
  font-size: 0.9rem;
}

.social-link span.icon {
  font-size: 1.1rem;
}

.social-link small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

/* Video */

.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.12);
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact & location */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.5fr);
  gap: 1.6rem;
}

.contact-card {
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem 1.4rem;
  background: radial-gradient(circle at top, rgba(137,38,255,0.3), transparent 60%),
              rgba(6, 6, 14, 0.98);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 18px 45px rgba(0,0,0,0.75);
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.contact-row a {
  font-size: 0.9rem;
}

.contact-row .pill {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 0.9rem;
  margin-top: 0.6rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.83rem;
}

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

.field input,
.field textarea {
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.16);
  padding: 0.55rem 0.7rem;
  font: inherit;
  background: rgba(0,0,0,0.75);
  color: var(--text);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(181,179,209,0.7);
}

.location-card {
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.3rem;
  background: radial-gradient(circle at top, rgba(255,212,71,0.18), transparent 60%),
              rgba(6, 7, 16, 0.96);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 45px rgba(0,0,0,0.7);
}

.location-list {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0.9rem;
  font-size: 0.9rem;
}

.location-list li {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--muted);
}

.location-list li::before {
  content: "•";
  color: var(--accent);
  font-size: 1.1rem;
}

.location-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.4rem 2rem;
  margin-top: auto;
  background: radial-gradient(circle at top, rgba(137,38,255,0.22), transparent 55%),
              rgba(2, 2, 8, 0.98);
}

.footer-inner {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner a {
  color: var(--accent);
}

/* WhatsApp floating */

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
}

.whatsapp-float a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
  color: white;
  font-size: 1.6rem;
}

/* Responsive */

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-figure {
    order: -1;
  }

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

  .site-header {
    position: static;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding-block: 0.45rem;
  }

  .hero {
    padding-block: 1.7rem 2.5rem;
  }

  .section {
    padding-block: 2rem 2.4rem;
  }

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

  .btn {
    padding-inline: 1.05rem;
  }

  .hero-title {
    font-size: 2rem;
  }
}
