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

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #3f2b96 0, #000000 55%);
  color: #f5f5f5;
  line-height: 1.6;
}

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

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

.container {
  width: 92%;
  max-width: 1120px;
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-dark {
  background: rgba(5, 5, 20, 0.92);
}

/* Header */

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, rgba(4,4,15,0.96), rgba(63,43,150,0.96));
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.brand img {
  height: 52px;
}

.main-nav {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffb347, #ff6a00);
  transition: width 0.25s ease;
}

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

/* Nav toggle (mobile) */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
}

/* Hero */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-image: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(5,5,20,0.95)), url("../img/hero-charolas.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(120, 90, 255, 0.3), transparent 55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  padding: 4rem 0 3rem;
}

.hero-tagline {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.8rem;
  color: #ffd98a;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
  text-shadow: 0 12px 30px rgba(0,0,0,0.75);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.hero-address {
  font-size: 0.9rem;
  max-width: 26rem;
  color: #f3f0ff;
}

/* Buttons */

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

.btn.primary {
  background: linear-gradient(135deg, #ffb347, #ff6a00);
  color: #1b1027;
  box-shadow: 0 16px 35px rgba(0,0,0,0.55);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #ffffff;
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.12);
}

.btn.social {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  padding-inline: 1.1rem;
}

/* Layout helpers */

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

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: #d2cef9;
  margin-bottom: 2rem;
}

.sobre-img-wrap {
  max-width: 420px;
  margin: 0 auto;
}

.shadowed {
  border-radius: 1.2rem;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.7);
}

/* Badges */

.badges {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badges span {
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.05);
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: radial-gradient(circle at top, rgba(120, 90, 255, 0.35), rgba(10, 10, 26, 0.95));
  border-radius: 1.3rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}

.card img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.2rem 1.3rem 1.4rem;
}

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

/* Social */

.social-embed {
  margin-top: 2.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

/* Gallery */

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

.gallery-item {
  border-radius: 1rem;
  cursor: zoom-in;
  border: 1px solid rgba(255,255,255,0.12);
  object-fit: cover;
  height: 180px;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.55);
  box-shadow: 0 18px 35px rgba(0,0,0,0.75);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 90;
  padding: 1.5rem;
}

.lightbox img {
  max-height: 90vh;
  border-radius: 1.2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.lightbox.show {
  display: flex;
}

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

/* Promos */

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

.promos-list {
  list-style: none;
  margin-top: 1.2rem;
}

.promos-list li {
  margin-bottom: 0.6rem;
}

/* Ubicación */

.highlight {
  font-weight: 600;
  color: #ffd98a;
  margin: 0.8rem 0;
}

.map-wrap iframe {
  width: 100%;
  min-height: 270px;
  border: 0;
  border-radius: 1.2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* Contacto */

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

.contact-list {
  list-style: none;
  margin: 1.1rem 0 0.5rem;
}

.contact-list li {
  margin-bottom: 0.5rem;
}

.contact-form {
  background: rgba(5,5,20,0.9);
  padding: 1.5rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 35px rgba(0,0,0,0.65);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255,255,255,0.25);
  font-family: inherit;
  font-size: 0.9rem;
  background: rgba(4,4,15,0.9);
  color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffb347;
}

.form-note {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: #c0bcff;
}

/* WhatsApp float */

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 80;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 16px 30px rgba(0,0,0,0.65);
  display: inline-flex;
}

/* Scroll top */

.scroll-top {
  position: fixed;
  right: 1.2rem;
  bottom: 4.2rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Footer */

.main-footer {
  background: #050513;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.6rem 0 1.8rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-inner a {
  text-decoration: underline;
}

/* Responsive */

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

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

  .social-embed {
    flex-direction: column;
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: 110%;
    flex-direction: column;
    background: rgba(5,5,20,0.97);
    padding: 0.9rem 1.3rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    min-width: 190px;
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-links.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding-top: 3.2rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }
}

@media (max-width: 520px) {
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-item {
    height: 150px;
  }

  .whatsapp-float {
    padding-inline: 0.9rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
