* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

/* Navegación */
.navbar { background-color: #1a1a1a; padding: 1rem 0; }

.navbar .menu {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 2rem;
}

.navbar .menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar .menu li a:hover { color: #00b3fb; }

/* Inicio */
.inicio { background: url('../../Imagenes/local1.jpeg') center/cover no-repeat; }

.inicio {
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
}

.inicio .logo {
  max-width: 200px;
  margin-bottom: 1.5rem;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.inicio h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

/* Secciones generales */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.footer {
  background-color: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
}

/* ===== Sobre Nosotros ===== */
.sn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.sn-section { padding: 4rem 0; }

.sn-lead {
  max-width: 950px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.1rem;
  color: #444;
}

/* Bloques de texto (siempre visibles) */
.sn-block {
  margin: 1.25rem 0;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0,0,0,0.06);
}

.sn-block-text { padding: 1.25rem 1.25rem 1.35rem; }

.sn-block-text h3 {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  color: #1a1a1a;
}

.sn-block-text ul { padding-left: 1.15rem; color: #555; }
.sn-block-text li + li { margin-top: 0.35rem; }

/* ===== MEDIA INTERCALADO (mezclado con el texto) ===== */
.sn-inline-media {
  margin: 1.25rem 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.sn-inline-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.sn-inline-media-box {
  background: #000;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sn-inline-card img,
.sn-inline-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sn-inline-card figcaption {
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: #333;
  background: #fafafa;
  border-top: 1px solid #eee;
}

/* Cabecera reutilizada */
.sn-media-head { text-align: center; margin-bottom: 1.25rem; }
.sn-media-head p { color: #555; margin-top: 0.25rem; }

.sn-media-head code {
  background: #f0f0f0;
  padding: 0.15rem 0.35rem;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
}

/* Galería final */
.sn-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem 0 2rem;
  flex-wrap: wrap;
}

.sn-chip {
  appearance: none;
  border: 1px solid #ddd;
  background: #fff;
  color: #1a1a1a;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.12s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.sn-chip:hover { transform: translateY(-1px); border-color: #00b3fb; }

.sn-chip.is-active {
  background: #00b3fb;
  border-color: #00b3fb;
  color: #fff;
}

.sn-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.sn-item {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.sn-media-wrap {
  background: #000;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sn-item img,
.sn-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sn-item figcaption {
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: #333;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.sn-gallery-empty {
  text-align: center;
  margin-top: 1.5rem;
  color: #666;
}

/* Responsive */
@media (max-width: 980px) {
  .sn-gallery,
  .sn-inline-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .sn-container { padding: 0 1rem 3rem; }
  .sn-gallery,
  .sn-inline-media {
    grid-template-columns: 1fr;
  }
}
