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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background-color: #f3f4f6;
  line-height: 1.6;
}

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

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

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #0b1120;
  color: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 5%;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.top-phone {
  font-weight: 600;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 5%;
}

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

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

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

.brand-main {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.brand-sub {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

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

.main-nav a {
  padding: 0.4rem 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #facc15, #a16207);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 1.6rem;
}

/* Hero */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: #f9fafb;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
}

.hero-content {
  position: relative;
  padding: 4rem 5%;
  max-width: 720px;
  text-align: left;
}

.hero-tag {
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fde68a;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.1rem);
  margin: 0 0 1rem;
}

.hero-sub {
  max-width: 40rem;
  color: #e5e7eb;
  font-size: 1rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #facc15, #a16207);
  color: #111827;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #fbbf24, #854d0e);
  transform: translateY(-1px);
}

.btn.secondary {
  background-color: transparent;
  border: 1px solid #e5e7eb;
  color: #e5e7eb;
}

.btn.secondary:hover {
  background-color: rgba(15, 23, 42, 0.85);
}

/* Sections */

.section {
  padding: 4rem 5%;
}

.section.alt {
  background-color: #0f172a;
  color: #e5e7eb;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section h2 {
  font-size: 1.9rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2rem;
  color: #6b7280;
}

.section.alt .section-intro {
  color: #9ca3af;
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.bullets {
  padding-left: 1.3rem;
  margin-top: 1rem;
}

.bullets li {
  margin-bottom: 0.35rem;
}

/* Feature card */

.feature-card {
  background-color: #111827;
  color: #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.5);
}

.feature-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.feature-text {
  padding: 1.4rem 1.5rem 1.6rem;
}

.feature-text h3 {
  margin: 0 0 0.5rem;
}

.feature-text p {
  margin: 0;
  font-size: 0.95rem;
  color: #d1d5db;
}

/* Cards */

.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background-color: #020617;
  border-radius: 1rem;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
}

.card li {
  margin-bottom: 0.3rem;
}

/* Experiencia */

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.event-img {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(15, 23, 42, 0.4);
}

/* Galería */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background-color: #020617;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: #f9fafb;
  font-size: 2rem;
  cursor: pointer;
}

/* Redes */

.fb-wrapper {
  background-color: #0b1120;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.6);
  overflow: hidden;
}

/* Video */

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.6);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Contacto */

.contact-section p {
  max-width: 34rem;
}

.contact-info {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.contact-info li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.contact-info a {
  text-decoration: underline;
}

.contact-form {
  background-color: #111827;
  border-radius: 1rem;
  padding: 1.6rem 1.4rem;
  color: #e5e7eb;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.7);
}

.contact-form .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.9rem;
}

.contact-form label {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  border-radius: 0.5rem;
  border: 1px solid #4b5563;
  padding: 0.55rem 0.7rem;
  font-size: 0.95rem;
  background-color: #020617;
  color: #e5e7eb;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #facc15;
  border-color: transparent;
}

/* Footer */

.main-footer {
  background-color: #020617;
  color: #9ca3af;
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  font-size: 0.85rem;
}

.main-footer a {
  color: #e5e7eb;
  text-decoration: underline;
}

/* Floating buttons */

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background-color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.6);
  z-index: 70;
}

.wa-icon {
  font-weight: 900;
  color: #f9fafb;
  font-size: 1.4rem;
}

.call-float {
  position: fixed;
  left: 50%;
  bottom: 0.5rem;
  transform: translateX(-50%);
  padding: 0.5rem 1.8rem;
  border-radius: 999px;
  background-color: #0ea5e9;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.7);
  z-index: 65;
}

/* Responsive */

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .nav-wrapper {
    padding-inline: 5%;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background-color: #020617;
    display: none;
    flex-direction: column;
    padding: 0.8rem 5%;
    border-top: 1px solid #1f2937;
  }

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

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding-inline: 7%;
  }

  .section {
    padding-inline: 7%;
  }

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

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

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

@media (max-width: 480px) {
  .hero-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

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

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

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

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

  .call-float {
    width: calc(100% - 3rem);
    text-align: center;
  }
}
