/* ─── UX IMPROVEMENTS ───────────────────────────────── */

/* Hero dual CTA group */
.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-wa-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-wa-hero:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.04);
}

@media (max-width: 480px) {
  .hero-btn-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-wa-hero {
    width: min(100%, 280px);
    justify-content: center;
  }
}

/* Service icon SVG */
.service-icon {
  line-height: 0;
}

/* Mobile menu CTA */
.mobile-link-cta {
  margin: 6px 16px 14px;
  width: calc(100% - 32px);
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #fff;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 13px 18px;
}

.mobile-link-cta:hover {
  background: rgba(255, 45, 111, 0.85);
}

/* Form labels */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.form-req { color: var(--color-accent); }
.form-opt {
  font-weight: 400;
  opacity: 0.7;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8rem;
}

/* Inline form error */
.form-error {
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 45, 111, 0.10);
  border: 1px solid rgba(255, 45, 111, 0.32);
  color: var(--color-accent);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Events combined section */
.events-subsection {
  margin-bottom: 56px;
}

.events-subsection:last-child {
  margin-bottom: 0;
}

.events-sub-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .events-sub-label {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-text);
    margin-bottom: 24px;
  }
}

/* About mini-stats (inside Nosotros panel) */
.about-mini-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.about-mini-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Divider between subsections within same section */
.section-divider {
  height: 1px;
  background: var(--color-border);
  margin: 64px 0;
}

@media (max-width: 640px) {
  .section-divider {
    margin: 48px 0;
  }
}

/* About CTA button */
.about-cta {
  display: inline-block;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery-col-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  height: 1.6em;
  display: flex;
  align-items: center;
}

.gallery-col-images {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Wrapper for hover effect */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-surface);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255, 45, 111, 0.35) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.gallery-img--portrait {
  aspect-ratio: 3 / 4;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.07);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .gallery-col {
    flex-direction: column;
    gap: 0;
    min-width: 0;
  }

  .gallery-col-label {
    margin-bottom: 10px;
    height: auto;
  }

  .gallery-col-images {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    mask-image: linear-gradient(to right, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
  }

  .gallery-col-images::-webkit-scrollbar { display: none; }

  .gallery-item {
    flex-shrink: 0;
    width: 220px;
    height: 160px;
    border-radius: 10px;
  }

  .gallery-img,
  .gallery-img--portrait {
    width: 220px;
    height: 160px;
    aspect-ratio: unset;
  }
}

/* About checklist */
.about-checklist {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  text-align: left;
}

@media (min-width: 640px) {
  .about-checklist {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 32px;
  }
}

.about-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-soft);
  line-height: 1.5;
}

.about-check-item::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 45, 111, 0.15);
  border: 1px solid rgba(255, 45, 111, 0.35);
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 1px;
}

/* Social contact items as full links */
.contact-item-link {
  text-decoration: none;
  transition: opacity 0.2s;
  align-items: flex-start;
}

.contact-item-link:hover { opacity: 0.75; }

/* Clickable contact values */
.contact-value-link {
  text-decoration: none;
  transition: color 0.2s;
}

.contact-value-link:hover { color: var(--color-accent); }

