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

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #2f2a2a;
  background-color: #fffaf6;
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Topbar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff8f2;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(12px);
}

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

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

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff8fa3;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
}

.brand-name {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.brand-sub {
  font-weight: 700;
  font-size: 1rem;
  color: #ff6b81;
}

/* Navigation */

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

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

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

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

/* Mobile nav */

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

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  background-image:
    linear-gradient(135deg, rgba(255,143,163,0.9), rgba(255,204,112,0.85)),
    url('../img/hero-portada.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.25), transparent 40%);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text h1 span {
  display: block;
  color: #ffe8f2;
}

.hero-text p {
  max-width: 34rem;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

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

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

.btn.primary {
  background: #fff;
  color: #ff6b81;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
}

.btn.outline {
  border-color: #ffe8f2;
  color: #fff;
  background: transparent;
}

.btn.outline:hover {
  background: rgba(255,232,242,0.2);
}

.btn.full {
  width: 100%;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.hero-tags span {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,248,242,0.16);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,248,242,0.4);
}

.hero-card {
  background: rgba(255,248,242,0.95);
  color: #3c2a2a;
  border-radius: 1.3rem;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 22px 40px rgba(0,0,0,0.25);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.hero-card ul {
  list-style: none;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}

.hero-card li::before {
  content: "• ";
  color: #ff6b81;
}

.hero-note {
  font-size: 0.8rem;
  color: #7a5d5d;
}

/* Sections */

.section {
  padding: 3.2rem 0;
}

.section.soft {
  background: #fff3ea;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  max-width: 32rem;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #5b4d4d;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

/* Text styles */

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}

.section p {
  font-size: 0.95rem;
  color: #4b3c3c;
  margin-bottom: 0.7rem;
}

/* Feature cards */

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

.feature {
  background: #fff8f4;
  padding: 0.9rem;
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.feature h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.feature p {
  font-size: 0.84rem;
  margin-bottom: 0;
}

/* Cards */

.card {
  background: #fff;
  border-radius: 1.2rem;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.card.highlight {
  border: 1px dashed #ffb3c1;
  background: linear-gradient(135deg, #fff8fb, #fffdf4);
}

.tags-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 0.6rem;
}

.tags-list li {
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #ffe5ec;
  color: #8a4256;
}

.small {
  font-size: 0.78rem;
  color: #7a6666;
}

/* Three cards */

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

.cards-3 .card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.cards-3 .card p {
  font-size: 0.86rem;
}

/* Social grid */

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

.social-card {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  font-size: 0.9rem;
}

.social-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.social-card p {
  margin-bottom: 0.6rem;
  font-size: 0.86rem;
}

.social-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ff6b81;
}

.social-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(0,0,0,0.08);
  border-color: #ffd6e0;
}

/* Video */

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 56.25%;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0,0,0,0.2);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Gallery */

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

.gallery-item {
  border-radius: 0.9rem;
  cursor: pointer;
  object-fit: cover;
  height: 160px;
  width: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.gallery-item:hover {
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.03);
  box-shadow: 0 16px 28px rgba(0,0,0,0.16);
}

/* Lightbox */

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

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.lightbox img {
  border-radius: 1rem;
  max-height: 80vh;
  width: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: #333;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* Schedule & map */

.schedule {
  list-style: none;
  margin: 0.8rem 0 0.5rem;
  font-size: 0.9rem;
}

.schedule li {
  margin-bottom: 0.25rem;
}

.map-wrapper {
  margin-top: 0.8rem;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.map-wrapper iframe {
  width: 100%;
  height: 230px;
  border: 0;
}

/* Contact */

.contact-list {
  list-style: none;
  margin: 0.7rem 0 0.5rem;
  font-size: 0.9rem;
}

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

.contact-form {
  background: #fff;
  padding: 1.4rem 1.2rem;
  border-radius: 1.2rem;
  box-shadow: 0 12px 26px rgba(0,0,0,0.08);
}

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

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

input,
textarea {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid #e5cfd1;
  font: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
  border-color: #ff8fa3;
  box-shadow: 0 0 0 2px rgba(255,143,163,0.25);
}

/* Footer */

.footer {
  padding: 1.5rem 0 2rem;
  background: #2f1a1e;
  color: #ffe5ec;
  margin-top: 1rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  text-align: center;
  font-size: 0.78rem;
}

.footer a {
  color: #ffe5ec;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* WhatsApp float */

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
  z-index: 30;
}

.whatsapp-float span {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Scroll top */

.scroll-top {
  position: fixed;
  right: 1.2rem;
  bottom: 4.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #ff8fa3;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 28;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Responsive */

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

  .hero-card {
    margin-top: 1.4rem;
  }

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

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

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

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

@media (max-width: 720px) {
  .topbar-inner {
    gap: 0.6rem;
  }

  .nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #fff8f4;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 4%;
    gap: 0.6rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }

  .nav.open {
    max-height: 220px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 3.4rem;
  }

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

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

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

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

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

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    background-position: center top;
  }

  .topbar-inner {
    padding-block: 0.5rem;
  }

  .hero-card {
    padding: 1rem;
  }

  .gallery-item {
    height: 130px;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
  }
}
