@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Barrio&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&family=Poppins:wght@300;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lexend+Tera:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
.achievements {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  padding: 4rem 2rem;
  background: #111;
  color: white;
}
.achievements .title {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}
.achievements .achievements-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 100%;
  overflow-x: hidden;
}
.achievements .achievement {
  flex: 1 1 calc(25% - 2rem);
  max-width: 250px;
  min-width: 150px;
  text-align: center;
  text-align: center;
  color: white;
}
.achievements .achievement .icon {
  font-size: 3rem;
  color: #909df2;
  margin-bottom: 1rem;
}
.achievements .achievement .number {
  font-size: 2rem;
  font-weight: bold;
}
.achievements .achievement .description {
  font-size: 0.9rem;
  text-transform: uppercase;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .achievements-grid {
    align-items: center;
  }
}
/****
  RESET
  */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

html,
body {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #343a40;
  background-color: #f8f9fa;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  word-break: break-word;
}

.font-principal {
  font-family: "Inter", sans-serif !important;
}

.font-secundaria {
  font-family: "Poppins", sans-serif !important;
}

.font-titulares {
  font-family: "Lato", sans-serif !important;
}

.icon {
  width: 3rem;
  height: auto;
  margin: auto;
  transition: filter 0.3s;
}
.icon:hover {
  filter: grayscale(100%);
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #ffc107;
  color: white;
  font-size: 24px;
  text-align: center;
  line-height: 50px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1300;
}

.separador-cabecera {
  height: 80px;
}
@media (max-width: 1280px) {
  .separador-cabecera {
    height: 80px;
  }
}
@media (max-width: 1024px) {
  .separador-cabecera {
    height: 80px;
  }
}
@media (max-width: 768px) {
  .separador-cabecera {
    height: 85px;
  }
}
@media (max-width: 640px) {
  .separador-cabecera {
    height: 95px;
  }
}
@media (max-width: 480px) {
  .separador-cabecera {
    height: 95px;
  }
}

.anuncios-create, .anuncio-card {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.anuncios-header {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  padding: 1rem;
}
@media (min-width: 768px) {
  .anuncios-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.anuncios-categorias {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  list-style: none;
}
.anuncios-categorias::-webkit-scrollbar {
  height: 8px;
}
.anuncios-categorias::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 8px;
}
.anuncios-categorias::-webkit-scrollbar-track {
  background: transparent;
}
@media (min-width: 768px) {
  .anuncios-categorias {
    flex-wrap: wrap;
    padding: 0;
  }
}
.anuncios-categorias .categoria-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.25rem 0.5rem;
  border-radius: 9px;
  text-decoration: none;
  font-size: 0.95rem;
  color: #222;
  background: transparent;
  border: 1px solid transparent;
  transition: background 0.14s ease, transform 0.08s ease, box-shadow 0.14s ease;
}
.anuncios-categorias .categoria-item:hover {
  background: #f4f5f7;
  transform: translateY(-1px);
}
.anuncios-categorias .categoria-item:active {
  transform: translateY(0);
}
.anuncios-categorias .categoria-item:focus, .anuncios-categorias .categoria-item:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.08);
}
.anuncios-categorias .categoria-item.is-active {
  background: #0d6efd;
  color: #fff;
  border-color: rgb(1.9295081967, 95.5106557377, 233.4704918033);
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.12);
  pointer-events: none;
}
@media (max-width: 540px) {
  .anuncios-categorias .categoria-item {
    padding: 0.15rem 0.25rem;
    font-size: 0.85rem;
  }
}

/* GRID DE TARJETAS */
.anuncios-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  padding: 1rem;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.anuncio-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  border: 1px solid rgba(0, 13, 255, 0.2);
}
.anuncio-card .anuncio-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3/2;
  background: linear-gradient(180deg, #fafafa, #f4f4f4);
}
.anuncio-card .anuncio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.anuncio-card .anuncio-thumb .badge-sponsor {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 5;
  background: rgba(160, 0, 0, 0.95);
  color: #fff;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 4px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  line-height: 1;
  pointer-events: none;
}
.anuncio-card .anuncio-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1 auto;
}
.anuncio-card .anuncio-body .anuncio-meta {
  font-size: 0.85rem;
  color: #666;
}
.anuncio-card .anuncio-body .anuncio-titulo {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}
.anuncio-card .anuncio-body .anuncio-excerpt {
  margin: 0;
  color: #444;
  font-size: 0.95rem;
}
.anuncio-card .anuncio-body .anuncio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

/* VISTA CREAR / FORMULARIO */
.anuncios-create {
  width: 100%;
  max-width: 920px;
  margin: 0.5rem auto;
  padding: 0.5rem;
}
.anuncios-create p {
  font-size: 0.75rem !important;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.anuncios-create h1 {
  margin: 0 0 1rem 0;
  font-size: 1.4rem;
}
.anuncios-create form {
  display: block;
  width: 100%;
}
@media (min-width: 768px) {
  .anuncios-create form {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1rem;
    align-items: start;
  }
}
@media (min-width: 768px) {
  .anuncios-create form > .form-main {
    grid-column: 1/2;
  }
}
@media (min-width: 768px) {
  .anuncios-create form > .form-aside {
    grid-column: 2/3;
  }
}
.anuncios-create .form-row {
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .anuncios-create .form-row.inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    align-items: center;
  }
}
.anuncios-create .form-row label {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #222;
}
.anuncios-create .form-row input[type=text],
.anuncios-create .form-row input[type=number],
.anuncios-create .form-row input[type=email],
.anuncios-create .form-row input[type=tel],
.anuncios-create .form-row input[type=datetime-local],
.anuncios-create .form-row textarea,
.anuncios-create .form-row select {
  padding: 0.55rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  transition: box-shadow 0.12s ease, border-color 0.12s ease;
}
.anuncios-create .form-row input[type=text]:focus,
.anuncios-create .form-row input[type=number]:focus,
.anuncios-create .form-row input[type=email]:focus,
.anuncios-create .form-row input[type=tel]:focus,
.anuncios-create .form-row input[type=datetime-local]:focus,
.anuncios-create .form-row textarea:focus,
.anuncios-create .form-row select:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.06);
}
.anuncios-create .form-row textarea {
  min-height: 160px;
  resize: vertical;
}
.anuncios-create fieldset {
  border: 1px solid #eee;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  background: #fff;
}
.anuncios-create fieldset legend {
  font-weight: 700;
  padding: 0 0.25rem;
}
.anuncios-create .radio-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.anuncios-create .radio-group label {
  font-weight: 500;
}
.anuncios-create .radio-group input[type=radio] {
  margin-right: 0.35rem;
}
.anuncios-create .dropzone {
  position: relative;
  border: 2px dashed #e2e6ea;
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #fff, #fafafa);
}
.anuncios-create .dropzone.dragover {
  border-color: rgb(104.0475409836, 164.5532786885, 253.7524590164);
  background: rgba(13, 110, 253, 0.025);
}
.anuncios-create .dropzone input[type=file] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.anuncios-create .dropzone small.help {
  display: block;
  margin-top: 0.25rem;
  color: #666;
}
.anuncios-create .preview-fotos {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.anuncios-create .form-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-start;
}

/* SHOW (detalle) */
.anuncio-show {
  max-width: 920px;
  margin: auto;
  padding: 0.5rem;
}

.breadcrumbs a {
  color: #666;
  text-decoration: none;
  margin-right: 0.4rem;
}

.anuncio-header {
  margin-bottom: 1rem;
}
.anuncio-header h1 {
  line-height: 1.1;
}

.anuncio-title {
  margin: 0 0 0.25rem;
  font-size: 1.6rem;
}

.anuncio-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.anuncio-gallery {
  display: flex;
  width: 100%;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.anuncio-main {
  flex: 1 1 60%;
  max-height: 80vh;
  overflow: hidden;
}

.anuncio-main img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgb(147, 147, 147);
}

.anuncio-thumb {
  width: 120px;
}

.anuncio-thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

.anuncio-price {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.anuncio-description {
  background: #fff;
  padding: 0.75rem;
  border: 1px solid #eee;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.anuncio-contact {
  margin-top: 0.5rem;
  padding: 0.5rem;
  border-left: 4px solid #0d6efd;
  background: #f8fbff;
  border-radius: 4px;
}

.anuncio-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

/* Reserva espacio para evitar saltos y limita altura en móviles */
.anuncio-main {
  /* ajuste visual: reserva una relación de aspecto razonable */
}

.anuncio-main img {
  width: 100%;
  height: 100%;
  display: block;
  max-height: calc(100vh - var(--header-height, 0px) - 32px); /* evita overflow vertical */
}

/* PREVIEW FOTOS Y BOTONES (consolidado) */
.preview-fotos .thumb {
  width: 120px;
  border: 1px solid #e6e6e6;
  padding: 0.25rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  background: #fff;
}

.preview-fotos img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.thumb-info {
  font-size: 0.75rem;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.thumb-remove {
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  cursor: pointer;
  border-radius: 4px;
}

.preview-warning {
  color: #a00;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.form-errors {
  background: #ffecec;
  border: 1px solid #f5c6cb;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.field-error {
  background: #ffecec;
  border: 1px solid #ed0a21;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

/* BOTONES (único bloque, evita duplicados) */
.btn {
  padding: 0.45rem 0.8rem;
  border-radius: 8px !important;
  text-decoration: none;
  display: inline-block;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  line-height: 1;
}

.btn-primary {
  background: #0d6efd;
  color: #fff;
  border-color: rgb(1.9295081967, 95.5106557377, 233.4704918033);
}

.btn-secondary {
  background: #f5f5f5;
  color: #222;
  border-color: #ddd;
}

.btn-outline {
  background: transparent;
  color: #0d6efd;
  border: 1px solid #0d6efd;
}

/* Ajustes responsivos menores */
@media (max-width: 540px) {
  .anuncios-grid {
    grid-template-columns: 1fr;
    padding: 0.5rem;
  }
  .anuncios-header {
    padding-top: 0.5rem;
  }
  .anuncio-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 13, 255, 0.2);
  }
  .anuncio-card .anuncio-thumb {
    display: block;
    width: 100%;
    height: 20vh !important;
    overflow: hidden;
    background: linear-gradient(180deg, #fafafa, #f4f4f4);
  }
  .anuncio-card .anuncio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .anuncio-card .anuncio-body {
    padding: 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1 1 auto;
  }
  .anuncio-card .anuncio-body .anuncio-meta {
    font-size: 0.85rem;
    color: #666;
  }
  .anuncio-card .anuncio-body .anuncio-titulo {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
  }
  .anuncio-card .anuncio-body .anuncio-titulo a {
    color: #000;
  }
  .anuncio-card .anuncio-body .anuncio-excerpt {
    margin: 0;
    color: #444;
    font-size: 0.95rem;
  }
  .anuncio-card .anuncio-body .anuncio-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
  }
}
.admin-review {
  font-family: Arial, Helvetica, sans-serif;
  padding: 18px;
}
.admin-review__title {
  margin: 0 0 18px 0;
  font-size: 1.5rem;
}
.admin-review__empty {
  color: #666;
}
.admin-review__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.admin-card {
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 6px;
  background: #fff;
}
.admin-card__title {
  margin: 0 0 6px 0;
  font-size: 1.125rem;
}
.admin-card__meta {
  font-size: 0.9rem;
  color: #666;
}
.admin-card__actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-card__form {
  display: inline-block;
  margin: 0;
}
.admin-card__link {
  margin-left: 12px;
  font-size: 0.95rem;
  text-decoration: underline;
}

/* Botones básicos reutilizables */
.btn {
  display: inline-block;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
}
.btn--primary {
  background: #0b76ef;
  color: #fff;
}
.btn--muted {
  background: #f0f0f0;
  color: #222;
  border: 1px solid #e0e0e0;
}

/* Responsive pequeño */
@media (min-width: 700px) {
  .admin-review__list {
    grid-template-columns: 1fr 1fr;
  }
}
/* Botonera de categorías en una sola línea en móviles */
@media (max-width: 768px) {
  .anuncios-header .categorias,
  .anuncios-header .categoria-list,
  .anuncios-header .toolbar,
  .anuncios-header nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 0.25rem;
    scroll-snap-type: x proximity;
  }
  .anuncios-header .categorias > *,
  .anuncios-header .categoria-list > *,
  .anuncios-header .toolbar > *,
  .anuncios-header nav > * {
    flex: 0 0 auto;
    scroll-snap-align: center;
  }
  /* Opcional: ocultar scrollbar visual */
  .anuncios-header .categorias,
  .anuncios-header .categoria-list,
  .anuncios-header .toolbar,
  .anuncios-header nav {
    scrollbar-width: none;
  }
  .anuncios-header .categorias::-webkit-scrollbar,
  .anuncios-header .categoria-list::-webkit-scrollbar,
  .anuncios-header .toolbar::-webkit-scrollbar,
  .anuncios-header nav::-webkit-scrollbar {
    display: none;
  }
}
#btn-publicar {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  background: #0d6efd;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
@media (max-width: 768px) {
  #btn-publicar {
    right: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1300;
    font-size: 0;
  }
  #btn-publicar::before {
    content: "\f067";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 20px;
  }
}

/* ============= Overlay menú ============= */
/* Estado cerrado por defecto */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(2%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: #222;
  /* Scroll del contenido */
}
.menu-overlay .overlay-content {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 1rem;
  padding: clamp(0.75rem, 2.5vw, 2rem);
  overflow-y: auto;
}
.menu-overlay[aria-hidden=false], .menu-overlay.is-open, body.nav-open .menu-overlay {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Botón cierre */
.overlay-close {
  position: absolute;
  top: clamp(0.5rem, 2vw, 1rem);
  right: clamp(0.5rem, 2vw, 1rem);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #222;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease;
}
.overlay-close:hover {
  background: rgba(0, 0, 0, 0.05);
}
.overlay-close:active {
  transform: scale(0.96);
}

/* Secciones */
.overlay-section {
  background: transparent;
  padding: 0;
}
.overlay-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #222;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

/* Hero: logo + CTA opcional */
.overlay-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.overlay-hero .logo img {
  display: block;
  height: clamp(28px, 6vw, 44px);
  width: auto;
}
.overlay-hero .btn-primary {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.55rem 0.9rem;
  background: #0d6efd;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.08s ease;
}
.overlay-hero .btn-primary:hover {
  filter: brightness(0.95);
}
.overlay-hero .btn-primary:active {
  transform: translateY(1px);
}

/* Categorías: lista en una línea con scroll horizontal en móviles */
.overlay-categorias {
  /* Opcional: ocultar scrollbar */
}
.overlay-categorias .cat-chiplist {
  display: flex;
  gap: 0.5rem;
  padding: 0.25rem 0;
  margin: 0;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  scroll-snap-type: x proximity;
}
.overlay-categorias .cat-chiplist > li {
  flex: 0 0 auto;
  scroll-snap-align: center;
}
.overlay-categorias .chip {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgb(212.5, 212.5, 212.5);
  background: #fff;
  color: #222;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}
.overlay-categorias .chip:hover {
  background: #f4f5f7;
}
.overlay-categorias .chip:active {
  transform: translateY(1px);
}
.overlay-categorias .chip.is-active {
  background: #0d6efd;
  color: #fff;
  border-color: rgb(1.9295081967, 95.5106557377, 233.4704918033);
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.18);
  pointer-events: none;
}
.overlay-categorias .cat-chiplist {
  scrollbar-width: none;
}
.overlay-categorias .cat-chiplist::-webkit-scrollbar {
  display: none;
}

/* Accesos rápidos */
.overlay-atajos .link-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.overlay-atajos .link-list a {
  display: inline-block;
  text-decoration: none;
  color: #222;
  padding: 0.4rem 0.2rem;
  border-radius: 0.5rem;
  transition: background 0.15s ease;
}
.overlay-atajos .link-list a:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Información y links legales */
.overlay-info p {
  margin: 0 0 0.5rem 0;
  color: rgb(13.6, 13.6, 13.6);
  margin: auto;
}
.overlay-info .meta-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}
.overlay-info .meta-list a {
  color: #222;
  text-decoration: none;
  border-bottom: 1px dashed #888888;
}
.overlay-info .meta-list a:hover {
  border-bottom-style: solid;
}

/* Footer del overlay */
.overlay-footer {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: auto;
}
.overlay-footer small {
  color: black;
}

/* ============= Responsive ============= */
@media (min-width: 768px) {
  .menu-overlay .overlay-content {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto 1fr auto;
    grid-auto-flow: row;
    gap: 1.25rem 2rem;
  }
  .overlay-hero {
    grid-column: 1/-1;
  }
  .overlay-categorias {
    grid-column: 1/-1;
  }
  .overlay-atajos .link-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .menu-overlay .overlay-content {
    max-width: 1180px;
    margin: 0 auto;
  }
}
/* Overlay: centrado de título, subtítulo y enlaces legales */
.legal-doc {
  padding: 0.5rem;
}

.menu-overlay .overlay-info {
  text-align: center;
  padding: 1rem 0 2rem;
}
.menu-overlay .overlay-info__title {
  margin: 0;
  font-size: 1.25rem;
}
.menu-overlay .overlay-info__subtitle {
  margin: 0.25rem 0 1rem;
  font-size: 0.95rem;
  opacity: 0.8;
}
.menu-overlay .overlay-info__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}
.menu-overlay .overlay-info__links a {
  text-decoration: none;
  color: #8b0808 !important;
}

@media (max-width: 768px) {
  .legal-doc {
    padding: 0.5rem;
  }
  .menu-overlay .overlay-info {
    text-align: center;
    padding: 1rem 0 2rem;
  }
  .menu-overlay .overlay-info__title {
    margin: 0;
    font-size: 1.25rem;
  }
  .menu-overlay .overlay-info__subtitle {
    margin: 0.25rem 0 1rem;
    font-size: 0.95rem;
    opacity: 0.8;
  }
  .menu-overlay .overlay-info__links {
    font-size: 0.85rem;
  }
}
.bannerpie {
  width: 100%;
}
.bannerpie img {
  width: 100%;
}

.categoria-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cat-count {
  font-size: 0.85rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.06rem 0.5rem;
  border-radius: 0.35rem;
}

.anuncios-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.anuncios-pager .pager-item {
  --btn-bg: #fff;
  --btn-bd: #d0d7de;
  --btn-tx: #111;
  --btn-bg-hover: #f5f8fa;
  --btn-bd-hover: #9aa7b2;
  --btn-bg-active: #0a66c2; /* color activo */
  --btn-tx-active: #fff;
  display: inline-flex;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-tx);
  font: 600 0.95rem/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-decoration: none;
  user-select: none;
  transition: background 0.15s, border-color 0.15s, transform 0.06s;
}

.anuncios-pager .pager-item:hover {
  background: var(--btn-bg-hover);
  border-color: var(--btn-bd-hover);
}

.anuncios-pager .pager-item:active {
  transform: translateY(1px);
}

.anuncios-pager .pager-item:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.25);
}

.anuncios-pager .pager-item.is-active,
.anuncios-pager .pager-item[aria-current=page] {
  background: var(--btn-bg-active);
  border-color: var(--btn-bg-active);
  color: var(--btn-tx-active);
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .anuncios-pager .pager-item {
    transition: none;
  }
}
.contact-section {
  padding: 4rem 2rem;
  background: #ffffff;
  text-align: center;
  font-family: "Lato", sans-serif !important;
  font-weight: 400 !important;
  /* Ajustes específicos para el wizard de donaciones */
}
.contact-section .contact-title {
  font-size: clamp(1.3rem, 1.5vw + 0.5rem, 2.5rem);
  font-family: "Lato", sans-serif;
  font-weight: 400;
  color: #221900;
  margin-bottom: 1rem;
  line-height: normal;
}
.contact-section .contact-subtitle {
  font-size: 1.6rem;
  font-family: "Lato", sans-serif;
  text-align: left;
  font-weight: 300;
  color: #343a40;
  margin-bottom: 3rem;
}
.contact-section .contact-text {
  font-size: 1.2rem;
  font-family: "Lato", sans-serif;
  text-align: left;
  font-weight: 400;
  color: #343a40;
  margin-bottom: 3rem;
}
.contact-section .contact-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  /* Eliminamos color: white; aquí.
     Cada subsección decidirá su color. 
     > * { color: white; }  <-- QUITAR O COMENTAR
  */
}
@media (min-width: 992px) {
  .contact-section .contact-container {
    flex-direction: row;
    justify-content: space-between;
  }
}
.contact-section .contact-container .form-contacto {
  background-color: #ffffff;
  color: #343a40;
  border-radius: 8px;
  height: auto;
  width: 100%;
  max-width: 800px;
  padding: 1rem;
}
.contact-section .contact-container .form-contacto h3 {
  margin-bottom: 1.5rem;
}
.contact-section .contact-container .form-contacto .input-group {
  margin-bottom: 1rem;
  text-align: left;
  width: 100%;
}
.contact-section .contact-container .form-contacto .input-group label {
  display: block;
  margin-bottom: 0.5rem;
}
.contact-section .contact-container .form-contacto .input-group input,
.contact-section .contact-container .form-contacto .input-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  color: #333;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
}
.contact-section .contact-container .form-contacto .input-group textarea {
  resize: vertical;
}
.contact-section .contact-container .form-contacto .input-group.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-section .contact-container .form-contacto .input-group.checkbox-group label {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.contact-section .contact-container .form-contacto .input-group.checkbox-group input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin: 0;
}
.contact-section .contact-container .form-contacto .btn-enviar {
  margin-top: 1rem;
  padding: 10px 20px;
  background: transparent;
  color: #343a40;
  border: 2px solid #ffc107;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 2px;
  transition: all 0.3s ease-in-out;
}
.contact-section .contact-container .form-contacto .btn-enviar:hover {
  background-color: #ffc107;
  color: #221900;
}
.contact-section .contact-container .info-contacto {
  background-color: #ffffff;
  color: #343a40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  font-size: 1rem;
  gap: 1rem;
  border-radius: 8px;
  padding: 1rem;
}
.contact-section .contact-container .info-contacto h3 {
  margin-bottom: 1.5rem;
}
.contact-section .contact-container .info-contacto p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.contact-section .contact-container .info-contacto p i {
  font-size: 1.2rem;
}
.contact-section .contact-container .info-contacto .telefono {
  font-size: 1.5rem;
  font-weight: bold;
}
.contact-section.donations-wizard .wizard-container {
  /* Para el wizard, queremos fondo claro y texto oscuro */
  background-color: #fff; /* o transparent, si tu .contact-section ya es #fff */
  color: #333;
  display: flex;
  flex-direction: column;
  /* Ocultamos color: white que heredarían de .contact-container > * si existiera */
}
@media (min-width: 768px) {
  .contact-section.donations-wizard .wizard-container {
    flex-direction: row;
  }
}
.contact-section.donations-wizard .wizard-container > * {
  background: none;
  color: inherit;
  padding: 0;
}
.contact-section.donations-wizard .wizard-container .wizard-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  /* Botones */
}
.contact-section.donations-wizard .wizard-container .wizard-steps .wizard-step {
  display: none;
}
.contact-section.donations-wizard .wizard-container .wizard-steps .wizard-step.active {
  display: block;
}
.contact-section.donations-wizard .wizard-container .wizard-steps .input-group input,
.contact-section.donations-wizard .wizard-container .wizard-steps .input-group textarea {
  color: #333;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
}
.contact-section.donations-wizard .wizard-container .wizard-steps .btn-enviar {
  margin-top: 1rem;
  padding: 10px 20px;
  background: #005a87; /* un color de tu preferencia */
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.3s ease-in-out;
}
.contact-section.donations-wizard .wizard-container .wizard-steps .btn-enviar:hover {
  background-color: #003f60;
}
.contact-section.donations-wizard .wizard-container .info-contacto {
  width: 100%;
  max-width: 450px;
  padding: 2rem;
  border-radius: 8px;
  background-color: #ffffff;
  color: white;
}
.contact-section.donations-wizard .payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}
.contact-section.donations-wizard .payment-methods .method-card {
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  min-width: 120px;
  transition: background 0.3s;
  /* Resaltado cuando el radio está seleccionado */
}
.contact-section.donations-wizard .payment-methods .method-card input[type=radio] {
  display: none;
}
.contact-section.donations-wizard .payment-methods .method-card span[class^=icon-] {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
  /* background-color: #ccc; // ahora no hace falta, ya que metes un <i> dentro. */
}
.contact-section.donations-wizard .payment-methods .method-card span[class^=icon-] i {
  font-size: 2rem;
  color: #333; /* Cambia al color que quieras */
  /* Ajusta margin si lo deseas */
}
.contact-section.donations-wizard .payment-methods .method-card:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.contact-section.donations-wizard .payment-methods .method-card input[type=radio]:checked + span,
.contact-section.donations-wizard .payment-methods .method-card input[type=radio]:checked ~ p {
  font-weight: bold;
  color: #005a87;
}
.contact-section.donations-wizard .donation-amounts {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-section.donations-wizard .donation-amounts label {
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  min-width: 120px;
  transition: background 0.3s;
}
.contact-section.donations-wizard .donation-amounts label input {
  display: none;
}
.contact-section.donations-wizard .donation-amounts label p,
.contact-section.donations-wizard .donation-amounts label span {
  margin: 0;
  font-size: 1rem;
  color: #333;
}
.contact-section.donations-wizard .donation-amounts label:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.contact-section.donations-wizard .donation-amounts label input:checked + * {
  font-weight: bold;
  color: #005a87;
}
.contact-section.donations-wizard .donacion-tipo {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-section.donations-wizard .donacion-tipo label {
  background-color: rgba(0, 0, 0, 0.05);
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  /* Cuando se seleccione el radio, se resalta el texto */
}
.contact-section.donations-wizard .donacion-tipo label:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.contact-section.donations-wizard .donacion-tipo label input {
  display: none;
}
.contact-section.donations-wizard .donacion-tipo label input:checked + span {
  font-weight: bold;
  color: #005a87;
}

.form-contacto--socio {
  background-color: #ffffff;
  color: white;
}
.form-contacto--socio .form-block {
  margin-bottom: 2.5rem;
  text-align: left;
}
.form-contacto--socio .input-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .form-contacto--socio .input-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
.form-contacto--socio .input-grid .input-group {
  margin-bottom: 1rem;
}
.form-contacto--socio .btn-enviar {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}
.form-contacto--socio .btn-enviar:hover {
  background-color: white;
  color: #221900;
}

/* Ajusta títulos, ahora con color oscuro */
.contact-subtitle {
  font-family: "Lato", sans-serif;
  font-size: 0.85rem !important;
  font-weight: 600;
  text-transform: uppercase;
  color: #343a40;
  background-color: rgb(145, 217, 255);
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  padding: 10px;
  border-radius: 5px;
  transform: skew(-20deg); /* inclinación “negativa” del contenedor */
}

.captcha {
  border: 1px solid rgba(199, 0, 0, 0.633);
  padding: 1rem;
  font-size: 1.3em;
}

.btn {
  background-color: #f8f9fa;
  color: #343a40;
  border: none;
  padding: 1rem 1rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
  /* Para que los pseudo-elementos se sitúen correctamente */
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin: 1rem;
}
.btn::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 300%;
  background-color: white;
  transition: 0.5s ease;
  z-index: -1;
}
.btn:hover {
  /* Ajuste sutil en hover, mezclando la base */
  background-color: rgba(248, 249, 250, 0.5);
}
.btn:active {
  transform: scale(0.98);
}
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(248, 249, 250, 0.5);
}
.btn .text-1 {
  transition: 0.25s ease;
}
.btn .text-2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  /* Ajusta color, tamaño, etc. */
  min-width: max-content;
  transition: 0.25s ease;
}
.btn:is(:hover, :focus-visible)::before {
  bottom: -50%;
}
.btn:is(:hover, :focus-visible) .text-1 {
  transform: translateY(-40px);
}
.btn:is(:hover, :focus-visible) .text-2 {
  top: 50%;
  transform: translate(-50%, -50%);
}
.btn-primary {
  background-color: #0d6efd;
  color: #fff;
  border: none;
  padding: 1rem 1rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
  /* Para que los pseudo-elementos se sitúen correctamente */
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 300%;
  background-color: rgb(215.3278688525, 231.2295081967, 254.6721311475);
  transition: 0.5s ease;
  z-index: -1;
}
.btn-primary:hover {
  /* Ajuste sutil en hover, mezclando la base */
  background-color: rgba(13, 110, 253, 0.5);
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.5);
}
.btn-primary .text-1 {
  transition: 0.25s ease;
}
.btn-primary .text-2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  /* Ajusta color, tamaño, etc. */
  min-width: max-content;
  transition: 0.25s ease;
}
.btn-primary:is(:hover, :focus-visible)::before {
  bottom: -50%;
}
.btn-primary:is(:hover, :focus-visible) .text-1 {
  transform: translateY(-40px);
}
.btn-primary:is(:hover, :focus-visible) .text-2 {
  top: 50%;
  transform: translate(-50%, -50%);
}
.btn-secondary {
  background-color: #6c757d;
  color: #fff;
  border: none;
  padding: 1rem 1rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
  /* Para que los pseudo-elementos se sitúen correctamente */
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-secondary::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 300%;
  background-color: rgb(215.8369098712, 218.6566523605, 221.1630901288);
  transition: 0.5s ease;
  z-index: -1;
}
.btn-secondary:hover {
  /* Ajuste sutil en hover, mezclando la base */
  background-color: rgba(108, 117, 125, 0.5);
}
.btn-secondary:active {
  transform: scale(0.98);
}
.btn-secondary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.5);
}
.btn-secondary .text-1 {
  transition: 0.25s ease;
}
.btn-secondary .text-2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  /* Ajusta color, tamaño, etc. */
  min-width: max-content;
  transition: 0.25s ease;
}
.btn-secondary:is(:hover, :focus-visible)::before {
  bottom: -50%;
}
.btn-secondary:is(:hover, :focus-visible) .text-1 {
  transform: translateY(-40px);
}
.btn-secondary:is(:hover, :focus-visible) .text-2 {
  top: 50%;
  transform: translate(-50%, -50%);
}
.btn-success {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 1rem 1rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
  /* Para que los pseudo-elementos se sitúen correctamente */
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-success::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 300%;
  background-color: rgb(175.1304347826, 235.8695652174, 189);
  transition: 0.5s ease;
  z-index: -1;
}
.btn-success:hover {
  /* Ajuste sutil en hover, mezclando la base */
  background-color: rgba(40, 167, 69, 0.5);
}
.btn-success:active {
  transform: scale(0.98);
}
.btn-success:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.5);
}
.btn-success .text-1 {
  transition: 0.25s ease;
}
.btn-success .text-2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  /* Ajusta color, tamaño, etc. */
  min-width: max-content;
  transition: 0.25s ease;
}
.btn-success:is(:hover, :focus-visible)::before {
  bottom: -50%;
}
.btn-success:is(:hover, :focus-visible) .text-1 {
  transform: translateY(-40px);
}
.btn-success:is(:hover, :focus-visible) .text-2 {
  top: 50%;
  transform: translate(-50%, -50%);
}
.btn-danger {
  background-color: #dc3545;
  color: #fff;
  border: none;
  padding: 1rem 1rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
  /* Para que los pseudo-elementos se sitúen correctamente */
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-danger::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 300%;
  background-color: rgb(250.1265822785, 226.8734177215, 229.1012658228);
  transition: 0.5s ease;
  z-index: -1;
}
.btn-danger:hover {
  /* Ajuste sutil en hover, mezclando la base */
  background-color: rgba(220, 53, 69, 0.5);
}
.btn-danger:active {
  transform: scale(0.98);
}
.btn-danger:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.5);
}
.btn-danger .text-1 {
  transition: 0.25s ease;
}
.btn-danger .text-2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  /* Ajusta color, tamaño, etc. */
  min-width: max-content;
  transition: 0.25s ease;
}
.btn-danger:is(:hover, :focus-visible)::before {
  bottom: -50%;
}
.btn-danger:is(:hover, :focus-visible) .text-1 {
  transform: translateY(-40px);
}
.btn-danger:is(:hover, :focus-visible) .text-2 {
  top: 50%;
  transform: translate(-50%, -50%);
}
.btn-warning {
  background-color: #ffc107;
  color: #212529;
  border: none;
  padding: 1rem 1rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
  /* Para que los pseudo-elementos se sitúen correctamente */
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-warning::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 300%;
  background-color: #fff4d3;
  transition: 0.5s ease;
  z-index: -1;
}
.btn-warning:hover {
  /* Ajuste sutil en hover, mezclando la base */
  background-color: rgba(255, 193, 7, 0.5);
}
.btn-warning:active {
  transform: scale(0.98);
}
.btn-warning:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.5);
}
.btn-warning .text-1 {
  transition: 0.25s ease;
}
.btn-warning .text-2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  /* Ajusta color, tamaño, etc. */
  min-width: max-content;
  transition: 0.25s ease;
}
.btn-warning:is(:hover, :focus-visible)::before {
  bottom: -50%;
}
.btn-warning:is(:hover, :focus-visible) .text-1 {
  transform: translateY(-40px);
}
.btn-warning:is(:hover, :focus-visible) .text-2 {
  top: 50%;
  transform: translate(-50%, -50%);
}
.btn-info {
  background-color: #17a2b8;
  color: #fff;
  border: none;
  padding: 1rem 1rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
  /* Para que los pseudo-elementos se sitúen correctamente */
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-info::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 300%;
  background-color: rgb(167, 233.4782608696, 244);
  transition: 0.5s ease;
  z-index: -1;
}
.btn-info:hover {
  /* Ajuste sutil en hover, mezclando la base */
  background-color: rgba(23, 162, 184, 0.5);
}
.btn-info:active {
  transform: scale(0.98);
}
.btn-info:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.5);
}
.btn-info .text-1 {
  transition: 0.25s ease;
}
.btn-info .text-2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  /* Ajusta color, tamaño, etc. */
  min-width: max-content;
  transition: 0.25s ease;
}
.btn-info:is(:hover, :focus-visible)::before {
  bottom: -50%;
}
.btn-info:is(:hover, :focus-visible) .text-1 {
  transform: translateY(-40px);
}
.btn-info:is(:hover, :focus-visible) .text-2 {
  top: 50%;
  transform: translate(-50%, -50%);
}
.btn-light {
  background-color: #f8f9fa;
  color: #212529;
  border: none;
  padding: 1rem 1rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
  /* Para que los pseudo-elementos se sitúen correctamente */
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-light::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 300%;
  background-color: white;
  transition: 0.5s ease;
  z-index: -1;
}
.btn-light:hover {
  /* Ajuste sutil en hover, mezclando la base */
  background-color: rgba(248, 249, 250, 0.5);
}
.btn-light:active {
  transform: scale(0.98);
}
.btn-light:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(248, 249, 250, 0.5);
}
.btn-light .text-1 {
  transition: 0.25s ease;
}
.btn-light .text-2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  /* Ajusta color, tamaño, etc. */
  min-width: max-content;
  transition: 0.25s ease;
}
.btn-light:is(:hover, :focus-visible)::before {
  bottom: -50%;
}
.btn-light:is(:hover, :focus-visible) .text-1 {
  transform: translateY(-40px);
}
.btn-light:is(:hover, :focus-visible) .text-2 {
  top: 50%;
  transform: translate(-50%, -50%);
}
.btn-dark {
  background-color: #343a40;
  color: #fff;
  border: none;
  padding: 1rem 1rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
  /* Para que los pseudo-elementos se sitúen correctamente */
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-dark::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 300%;
  background-color: rgb(150.1724137931, 160, 169.8275862069);
  transition: 0.5s ease;
  z-index: -1;
}
.btn-dark:hover {
  /* Ajuste sutil en hover, mezclando la base */
  background-color: rgba(52, 58, 64, 0.5);
}
.btn-dark:active {
  transform: scale(0.98);
}
.btn-dark:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 58, 64, 0.5);
}
.btn-dark .text-1 {
  transition: 0.25s ease;
}
.btn-dark .text-2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  /* Ajusta color, tamaño, etc. */
  min-width: max-content;
  transition: 0.25s ease;
}
.btn-dark:is(:hover, :focus-visible)::before {
  bottom: -50%;
}
.btn-dark:is(:hover, :focus-visible) .text-1 {
  transform: translateY(-40px);
}
.btn-dark:is(:hover, :focus-visible) .text-2 {
  top: 50%;
  transform: translate(-50%, -50%);
}

.btn2 {
  position: relative;
  color: #0d6efd;
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  max-width: max-content;
  border: 2px solid #0d6efd;
  border-radius: 5px;
  padding: 12px 45px;
  overflow: hidden !important;
  z-index: 1;
}

.btn2::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  background-color: #6c757d;
  transition: 0.5s ease;
  z-index: -1;
}

.button .text {
  transition: 0.25s ease;
}

.btn2 .text-2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: max-content;
  color: #6c757d;
}

.btn2:is(:hover, :focus-visible)::before {
  bottom: -50%;
}

.btn2:is(:hover, :focus-visible) .text-1 {
  transform: translateY(-40px);
}

.btn2:is(:hover, :focus-visible) .text-2 {
  top: 50%;
  transform: translate(-50%, -50%);
}

.btn2-secondary::before {
  background-color: #6c757d;
}

.btn2-secondary .text-2 {
  color: hsl(0, 0%, 100%);
}

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}

.has-before::before,
.has-after::after {
  content: "";
  position: absolute;
}

.hero .slider-item.active .slider-reveal {
  animation: sliderReveal 1s ease forwards;
}

@keyframes sliderReveal {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
  border-radius: 0.25rem;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
}

.container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 100vw !important;
  max-width: 1400px !important;
  margin: 0 auto;
  padding: 0 1rem;
}

.separator {
  width: 100%;
  height: 2px;
  background: #ddd;
  margin: 2rem 0;
  border-radius: 1px;
}

.separator-dark {
  width: 100%;
  height: 2px;
  background: #333;
  margin: 2rem 0;
  border-radius: 1px;
}

.separator-light {
  width: 100%;
  height: 2px;
  background: #eee;
  margin: 2rem 0;
  border-radius: 1px;
}

.separator-dashed {
  width: 100%;
  height: 2px;
  background: #bbb;
  margin: 2rem 0;
  border-radius: 1px;
  background: none;
  border-top: 2px "dashed" #bbb;
  height: 0;
}

.separator-double {
  width: 100%;
  height: 4px;
  background: #999;
  margin: 2rem 0;
  border-radius: 1px;
  background: none;
  border-top: 4px "double" #999;
  height: 0;
}

.text-start {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-end {
  text-align: right !important;
}

.display-1 {
  font-size: 5rem;
  font-weight: 300;
}

.display-2 {
  font-size: 4.5rem;
  font-weight: 300;
}

.display-3 {
  font-size: 4rem;
  font-weight: 300;
}

.display-4 {
  font-size: 3.5rem;
  font-weight: 300;
}

.fw-light {
  font-weight: 300 !important;
}

.fw-normal {
  font-weight: 400 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}
.carousel .carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carousel .carousel-item {
  min-width: 100%;
  transition: opacity 0.5s ease-in-out;
}
.carousel .carousel-item img {
  width: 100%;
  display: block;
}
.carousel .carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.3s;
}
.carousel .carousel-control:hover {
  background: rgba(0, 0, 0, 0.8);
}
.carousel .carousel-control-prev {
  left: 10px;
}
.carousel .carousel-control-next {
  right: 10px;
}
.carousel .carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.carousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  background: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.carousel .carousel-indicators button.active {
  background: red;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.modal.active {
  opacity: 1;
  visibility: visible;
}
.modal .modal-content {
  background: white;
  padding: 3rem;
  border-radius: 10px;
  outline: 1px solid #0d6efd; /* Se ve como un borde interno */
  outline-offset: -15px; /* Lo desplaza hacia dentro */
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
}
.modal .modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: #6c757d;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal .modal-icon {
  position: absolute;
  top: 30px;
  left: 30px;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-logo {
  width: 50%;
  max-width: 400px;
  margin: 1rem auto;
}
.modal-logo img {
  width: 100%;
}

.modal-dark {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(208, 208, 208, 0.8);
  color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.modal-dark.active {
  opacity: 1;
  visibility: visible;
}
.modal-dark .modal-content {
  background: #333;
  padding: 3rem;
  border-radius: 10px;
  outline: 1px solid #0d6efd; /* Se ve como un borde interno */
  outline-offset: -15px; /* Lo desplaza hacia dentro */
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
}
.modal-dark .modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: #6c757d;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-dark .modal-icon {
  position: absolute;
  top: 30px;
  left: 30px;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.modal-light.active {
  opacity: 1;
  visibility: visible;
}
.modal-light .modal-content {
  background: #f8f9fa;
  padding: 3rem;
  border-radius: 10px;
  outline: 1px solid #0d6efd; /* Se ve como un borde interno */
  outline-offset: -15px; /* Lo desplaza hacia dentro */
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
}
.modal-light .modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: #6c757d;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-light .modal-icon {
  position: absolute;
  top: 30px;
  left: 30px;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-lg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.modal-lg.active {
  opacity: 1;
  visibility: visible;
}
.modal-lg .modal-content {
  background: white;
  padding: 3rem;
  border-radius: 10px;
  outline: 1px solid #0d6efd; /* Se ve como un borde interno */
  outline-offset: -15px; /* Lo desplaza hacia dentro */
  width: 95%;
  max-width: 800px;
  text-align: center;
  position: relative;
}
.modal-lg .modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: #6c757d;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-lg .modal-icon {
  position: absolute;
  top: 30px;
  left: 30px;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.cta {
  background: #111;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}
.cta .cta-title {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 1.5rem;
  letter-spacing: 1px;
}
.cta .cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: 2px solid white;
  background: transparent;
  color: white;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin: 1rem;
  border-radius: 5px;
}
.cta .cta-button:hover {
  background: rgba(25.5, 25.5, 25.5, 0);
  color: rgb(229.5, 229.5, 229.5);
}
.cta a {
  text-decoration: none;
  color: #f8f9fa;
}

.cta-primary {
  background: #d0e7ff;
  color: rgb(73, 73, 73);
  text-align: center;
  padding: 4rem 2rem;
}
.cta-primary .cta-title {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 1.5rem;
  letter-spacing: 1px;
}
.cta-primary .cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: 2px solid rgb(148, 79, 79);
  background: white;
  color: #46698e;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin: 1rem;
  border-radius: 5px;
}
.cta-primary .cta-button:hover {
  background: white;
  color: rgb(53.1603773585, 79.7405660377, 107.8396226415);
}
.cta-primary a {
  text-decoration: none;
  color: #f8f9fa;
}

.cta-secondary {
  background: #f8f9fa;
  color: #333;
  text-align: center;
  padding: 4rem 2rem;
}
.cta-secondary .cta-title {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 1.5rem;
  letter-spacing: 1px;
}
.cta-secondary .cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: 2px solid #007bff;
  background: #007bff;
  color: white;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin: 1rem;
  border-radius: 5px;
}
.cta-secondary .cta-button:hover {
  background: rgb(51, 149.4, 255);
  color: rgb(229.5, 229.5, 229.5);
}
.cta-secondary a {
  text-decoration: none;
  color: #f8f9fa;
}

.cta-danger {
  background: #dc3545;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}
.cta-danger .cta-title {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 1.5rem;
  letter-spacing: 1px;
}
.cta-danger .cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: 2px solid white;
  background: white;
  color: #dc3545;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin: 1rem;
  border-radius: 5px;
}
.cta-danger .cta-button:hover {
  background: white;
  color: rgb(189.2151898734, 32.7848101266, 47.7721518987);
}
.cta-danger a {
  text-decoration: none;
  color: #f8f9fa;
}

.cta-success {
  background: #28a745;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}
.cta-success .cta-title {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 1.5rem;
  letter-spacing: 1px;
}
.cta-success .cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: 2px solid white;
  background: white;
  color: #28a745;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin: 1rem;
  border-radius: 5px;
}
.cta-success .cta-button:hover {
  background: white;
  color: rgb(30.1449275362, 125.8550724638, 52);
}
.cta-success a {
  text-decoration: none;
  color: #f8f9fa;
}

@media (min-width: 768px) {
  .cta {
    padding: 3rem 1.5rem;
  }
}
.cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.header .btn {
  display: block;
  margin-inline-start: auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  height: 10vh;
  width: 100%;
  display: flex;
  flex-direction: row;
  vertical-align: middle;
  align-content: center;
  align-items: center;
  background-color: hsl(222, 44%, 13%);
  z-index: 4;
}
.header .menu-hamburguesa {
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 10;
  margin: 0 5px;
}
.header .b1 {
  width: 10%;
  height: 100%;
  padding-left: 1em;
  justify-content: center;
  align-content: center;
}
.header .b2 {
  width: 80%;
  height: 100%;
  justify-content: center;
  align-content: center;
}
.header .b3 {
  width: 10%;
  height: 100%;
  justify-content: center !important;
  align-content: center !important;
}
.header .b3 ion-icon {
  width: 48px !important;
  height: 48px !important;
}
.header .logo {
  width: 10%;
  height: 100%;
  justify-content: center;
  align-content: center;
  padding: 1em;
}
.header .nav-open-btn {
  position: fixed;
  top: 0;
  right: 0;
  width: 10%;
  align-content: center;
  vertical-align: middle;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.header .container .logo {
  outline: none;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  padding: 4rem 2rem;
}
.features .feature {
  flex: 1 1 300px;
  max-width: 400px;
}
.features .feature .title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #343a40;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 1rem;
}
.features .feature .text {
  font-size: 1rem;
  color: #6c757d;
}

@media (min-width: 768px) {
  .features {
    align-items: center;
  }
  .feature {
    max-width: 90%;
  }
}
.footer {
  background: white;
  color: #ffffff;
  text-align: center;
  padding: 2rem 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  border-top: 1px solid rgba(255, 0, 0, 0.2);
}
.footer .footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer .footer-logo img {
  width: 20% px;
  max-width: 300px;
  transition: height 0.3s;
}
.footer .footer-columns {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
  align-items: center;
}
.footer .footer-columns .footer-direccion,
.footer .footer-columns .footer-social {
  width: 100%;
}
.footer .footer-social,
.footer .footer-direccion {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 800px;
  font-size: 0.85rem;
  margin: auto;
  gap: 1rem;
  color: gray;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 0, 0, 0.105);
  border-bottom: 1px solid rgba(255, 0, 0, 0.105);
}
.footer .footer-social a,
.footer .footer-direccion a {
  font-size: 1rem;
  color: #333;
  transition: color 0.3s ease-in-out;
  text-decoration: none;
}
.footer .footer-social a:hover,
.footer .footer-direccion a:hover {
  color: #007bff;
}
.footer .footer-text {
  font-size: 0.9rem;
  color: #888;
}
.footer .footer-copy {
  font-size: 0.85rem;
  color: #001249;
}
@media (min-width: 768px) {
  .footer .footer-columns {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer .footer-columns .footer-direccion,
  .footer .footer-columns .footer-social {
    width: 45%;
    text-align: left;
  }
}
@media (min-width: 992px) {
  .footer .footer-columns .footer-direccion,
  .footer .footer-columns .footer-social {
    width: 30%;
  }
}
.footer.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-legal {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0.75rem auto;
  color: gray;
  gap: 1rem;
}

.footer-legal ul {
  display: flex;
  justify-content: center; /* centra los items en cada línea */
  align-content: center; /* centra las líneas cuando hay varias */
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap; /* permite varias líneas pero centradas */
  list-style: none;
  margin: 0; /* eliminar margin:auto que puede descentrar */
  padding: 0;
}

.footer-legal li {
  white-space: nowrap; /* evita que cada link haga wrap dentro */
}

/* ajustes móviles */
@media (max-width: 420px) {
  .footer-legal {
    gap: 0.6rem;
  }
  .footer-legal ul {
    gap: 0.6rem;
  }
  .footer-legal a {
    font-size: 0.9rem;
  }
}
.footer-legal a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.15rem 0.25rem;
  display: inline-block;
}

.footer-legal a:hover,
.footer-legal a:focus {
  text-decoration: underline;
}

/* Ajuste opción: si prefieres que no haga scroll y en su lugar se reduzca,
   sustituye 'overflow-x: auto' por 'overflow: visible' y adapta gap/font-size. */
@media (max-width: 420px) {
  .footer-legal ul {
    gap: 0.6rem;
  }
  .footer-legal a {
    font-size: 0.9rem;
  }
}
main {
  padding: 20px;
  color: #343a40;
  min-height: calc(100vh - 120px);
}

main h1 {
  font-size: calc(2rem + 1vw);
  color: hsl(199, 69%, 84%);
}

main h2 {
  font-size: calc(1.4rem + 0.8vw);
  color: hsl(199, 69%, 84%);
}

main h3 {
  font-size: calc(1.2rem + 0.6vw);
  color: hsl(199, 69%, 84%);
}

main p {
  font-size: calc(1.1rem + 0.8vw);
  font-weight: 500;
  font-family: "Roboto", serif;
  line-height: 1.5;
  letter-spacing: 0.5px;
  margin-block-end: 0.5em;
}

main a {
  border: 1px solid red;
  display: contents;
  font-size: calc(1rem + 0.4vw);
  color: hsl(217, 24%, 59%);
  text-decoration: underline;
  transition: color 0.25s ease;
}

main a:hover {
  color: hsl(199, 69%, 84%);
}

main img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

main ul {
  padding-left: 20px;
  list-style: disc;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .mosaic {
    grid-template-columns: 1fr;
  }
}
.mosaic .mosaic-item {
  background: rgba(255, 255, 255, 0.168627451);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  color: #333;
}
.mosaic .mosaic-item strong {
  display: block;
  font-weight: bold;
  color: #221900;
  margin-bottom: 0.5rem;
}
.mosaic .mosaic-item p {
  margin: 0;
  line-height: 1.6;
}
.mosaic .hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.mosaic .hero-title {
  font-size: 2rem;
  color: #221900;
}
.mosaic .hero-subtitle {
  text-transform: uppercase;
  color: #ffa600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.grid-tienda {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.tarjeta-producto {
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

.tarjeta-producto:hover {
  transform: translateY(-5px);
}

.tarjeta-producto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tarjeta-producto h2 {
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem;
}

.tarjeta-producto .precio {
  color: #2a9d8f;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.tarjeta-producto .etiqueta {
  display: inline-block;
  background-color: #ff9743;
  color: white;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.tarjeta-producto button {
  background-color: #264653;
  color: white;
  border: none;
  padding: 0.75rem;
  margin: 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.tarjeta-producto button:hover {
  background-color: #1b2e3c;
}

.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 80px;
  color: black;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  transition: all 0.3s ease-in-out;
  z-index: 100;
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 0, 0, 0.105);
  overflow: visible !important;
}
.navbar.scrolled {
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}
.navbar.scrolled .logo img {
  transition: height 0.3s;
  margin-bottom: 2rem;
}
.navbar .logo img {
  width: 100%;
  max-width: 200px;
  transition: height 0.3s;
  margin: 1rem;
  z-index: 1102;
}
.navbar .nav-links {
  display: none !important;
}
.navbar .nav-links ul {
  display: flex;
  list-style: none !important;
  align-items: center;
  font-size: clamp(0.75rem, 1.1vw + 0.25rem, 1rem);
  gap: 1rem;
}
@media (min-width: 768px) {
  .navbar .nav-links {
    display: flex !important;
    gap: 1.5rem;
  }
  .navbar .nav-links a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
  }
  .navbar .nav-links a:hover {
    color: #f8b400;
  }
}
.navbar .hamburger {
  font-size: 2rem;
  background: none;
  border: none;
  color: #343a40;
  cursor: pointer;
  display: block;
  position: relative;
  width: 40px;
  height: 40px;
  z-index: 1001;
}
.navbar .hamburger span {
  display: block;
  width: 35px;
  height: 5px;
  background-color: #343a40;
  border-radius: 5px;
  position: absolute;
  left: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.navbar .hamburger span:nth-child(1) {
  top: 8px;
}
.navbar .hamburger span:nth-child(2) {
  top: 18px;
}
.navbar .hamburger span:nth-child(3) {
  top: 28px;
}
.navbar .hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.navbar .hamburger.active span:nth-child(2) {
  opacity: 0;
}
.navbar .hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.97);
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  z-index: 100 !important;
}
.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.menu-overlay .overlay-menu {
  list-style: none;
  text-align: left;
  border-top: 1px solid rgba(255, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 0, 0, 0.1);
  width: 100%;
  padding: 1rem;
  max-width: 400px;
}
.menu-overlay .overlay-menu li a {
  text-decoration: none;
  color: #343a40;
  margin-bottom: clamp(0.5rem, 0.1vw + 0.1rem, 0.5rem);
  font-size: clamp(1rem, 0.75vw + 0.5rem, 2rem);
  transition: color 0.3s ease-in-out;
}
.menu-overlay .overlay-menu li a:hover {
  color: #ffcc00;
}

.nav-links ul li {
  position: relative !important;
}

.nav-links .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  /* Fondo, borde, sombra, etc. */
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #f8b400;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  padding: 1rem;
  /* Oculto inicialmente */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 5000;
  /*
   * Este "truco" hace que el submenú sea
   * mínimo tan ancho como su elemento padre,
   * pero se expanda si hay más contenido.
   */
  display: block; /* o inline-block, ver nota abajo */
  min-width: 300px;
  width: auto; /* fallback */
  width: fit-content; /* para navegadores modernos */
  /* width: -moz-fit-content;  si necesitas compatibilidad Firefox antiguo */
}

.nav-links .submenu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .submenu ul {
  display: flex; /* usas flex-direction: column para línea vertical */
  flex-direction: column; /* Si quieres un enlace debajo de otro */
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links .submenu ul li {
  /* cualquier estilo base */
  width: 100%;
  border-radius: 5px;
}

.nav-links .submenu ul li:hover {
  background-color: #f8b400; /* color de fondo al hover */
  color: white;
  transition: color 0.3s, transform 0.3s, visibility 0.3s;
}

.nav-links .submenu ul li a {
  display: block;
  padding: 0.5rem;
  white-space: nowrap; /* si no quieres que el texto parta línea */
  text-decoration: none;
  color: inherit;
}
.nav-links .submenu ul li a:hover {
  color: white;
}

@media (max-width: 768px) {
  .nav-links .submenu {
    display: none !important;
  }
}
@media (max-width: 420px) {
  .logo img {
    max-width: 180px !important;
  }
  .hamburger span {
    height: 3px !important;
  }
}
.news-section {
  padding: 1rem;
  background-color: #fafafa;
}
.news-section .section-title {
  font-size: clamp(2rem, 2vw + 0.5rem, 4rem);
  text-align: center;
  margin-bottom: 0.5rem;
}
.news-section .section-subtitle {
  text-align: center;
  color: #666;
  font-size: clamp(0.85rem, 1.8vw + 0.5rem, 2rem);
}
.news-section .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.news-section .news-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}
.news-section .news-card:hover {
  transform: translateY(-5px);
}
.news-section .news-card .news-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.news-section .news-card .news-meta {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 1rem;
}
.news-section .news-card .news-description {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.55;
}
.news-section .news-card .news-link {
  font-weight: bold;
  color: #e53935;
  text-decoration: none;
}
.news-section .news-card .news-link:hover {
  text-decoration: underline;
}

.noticia-detalle {
  padding: 1rem;
  /* ---------- Markdown body ---------- */
}
.noticia-detalle .container {
  max-width: 800px;
  margin: 0 auto;
}
.noticia-detalle .noticia-titulo {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.noticia-detalle .noticia-meta {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
.noticia-detalle .noticia-cuerpo {
  font-size: clamp(1rem, 1vw + 0.5rem, 1.35rem);
  line-height: 1.7;
  /* Párrafos */
  /* NEW — Encabezados generados por Markdown */
  /* NEW — Listas */
  /* NEW — Enlaces */
  /* NEW — Citas */
  /* NEW — Código inline y bloques */
  /* NEW — Imágenes incrustadas */
}
.noticia-detalle .noticia-cuerpo p {
  margin-bottom: 1.4em;
}
.noticia-detalle .noticia-cuerpo h2,
.noticia-detalle .noticia-cuerpo h3,
.noticia-detalle .noticia-cuerpo h4,
.noticia-detalle .noticia-cuerpo h5,
.noticia-detalle .noticia-cuerpo h6 {
  margin: 2.2rem 0 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: #333;
}
.noticia-detalle .noticia-cuerpo h2 {
  font-size: clamp(1.6rem, 1.3vw + 1rem, 2rem);
}
.noticia-detalle .noticia-cuerpo h3 {
  font-size: clamp(1.4rem, 1vw + 0.8rem, 1.6rem);
}
.noticia-detalle .noticia-cuerpo h4 {
  font-size: clamp(1.2rem, 0.9vw + 0.6rem, 1.3rem);
}
.noticia-detalle .noticia-cuerpo ul,
.noticia-detalle .noticia-cuerpo ol {
  margin: 0 0 1.4em 1.4em;
  padding-left: 0;
}
.noticia-detalle .noticia-cuerpo ul li,
.noticia-detalle .noticia-cuerpo ol li {
  margin-bottom: 0.6em;
  line-height: 1.6;
}
.noticia-detalle .noticia-cuerpo a {
  color: #e53935;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
  margin-bottom: 1rem;
}
.noticia-detalle .noticia-cuerpo a:hover {
  color: rgb(204.6578947368, 30.3947368421, 26.3421052632);
}
.noticia-detalle .noticia-cuerpo blockquote {
  margin: 1.8rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid #e53935;
  background: #fff6f6;
  font-style: italic;
  color: #555;
}
.noticia-detalle .noticia-cuerpo code {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  background: #f3f3f3;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.95em;
}
.noticia-detalle .noticia-cuerpo pre {
  overflow-x: auto;
  padding: 1rem;
  background: #272822;
  color: #f8f8f2;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.noticia-detalle .noticia-cuerpo pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.noticia-detalle .noticia-cuerpo img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  border-radius: 0.75rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}
.noticia-detalle .volver-noticias {
  display: inline-block;
  margin-top: 2rem;
  color: #e53935;
  font-weight: bold;
  text-decoration: none;
}
.noticia-detalle .volver-noticias:hover {
  text-decoration: underline;
}

.noticia-imagen {
  margin: 2rem 0;
}
.noticia-imagen img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.news-thumb {
  width: 100%;
  height: auto;
  max-width: 400px;
  max-height: 300px;
  overflow: hidden;
  margin: 0 auto 1rem;
  border-radius: 8px;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Formulario crear noticia ---------- */
.crear-noticia {
  padding: 2rem 0;
  background-color: #f9f9f9;
}
.crear-noticia .container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.crear-noticia h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #333;
}
.crear-noticia form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.crear-noticia form label {
  font-weight: 600;
  color: #555;
  display: block;
  margin-bottom: 0.5rem;
}
.crear-noticia form input[type=text],
.crear-noticia form input[type=file],
.crear-noticia form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}
.crear-noticia form input[type=text]:focus,
.crear-noticia form input[type=file]:focus,
.crear-noticia form textarea:focus {
  border-color: #5b9bd5;
  outline: none;
  box-shadow: 0 0 0 2px rgba(91, 155, 213, 0.2);
}
.crear-noticia form textarea {
  min-height: 150px;
  resize: vertical;
}
.crear-noticia form button[type=submit] {
  align-self: flex-start;
  background-color: #5b9bd5;
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.crear-noticia form button[type=submit]:hover {
  background-color: #407fc4;
}

.hero-light {
  background: #ffffff;
  padding: 4rem 0.5rem;
}
.hero-light .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra en ejes cross en móvil */
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}
.hero-light .hero-content .hero-text {
  width: 100%;
  text-align: left;
}
.hero-light .hero-content .hero-title {
  font-family: "Lato", sans-serif;
  font-size: clamp(2.2rem, 2vw + 0.5rem, 2.5rem);
  font-weight: 400;
  color: #221900;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  margin-top: 1rem;
  line-height: 2rem;
}
.hero-light .hero-content .hero-subtitle {
  font-family: "Lato", sans-serif;
  font-size: clamp(0.85rem, 2vw + 0.5rem, 2rem);
  font-weight: 400;
  text-transform: uppercase;
  color: #ffa600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}
.hero-light .hero-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.hero-light .hero-content ul li {
  margin-bottom: 1rem;
}
.hero-light .hero-content .hero-image {
  width: 100%;
  max-width: 400px;
  margin: 1rem auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(80, 80, 80, 0.7);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.hero-light .hero-content .hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-light .hero-content .hero-video {
  margin: 2rem 0;
  width: 100%;
}
.hero-light .hero-content .hero-video .video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.hero-light .hero-content .hero-video .video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}
.hero-light .hero-content .hero-media {
  width: 100%;
}

.hero-dark {
  background: #dce6e8;
  padding: 4rem 0.5rem;
}
.hero-dark .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra en ejes cross en móvil */
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}
.hero-dark .hero-content .hero-text {
  width: 100%;
  text-align: left;
}
.hero-dark .hero-content .hero-title {
  font-family: "Lato", sans-serif;
  font-size: clamp(2.2rem, 2vw + 0.5rem, 2.5rem);
  font-weight: 400;
  color: #221900;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  margin-top: 1rem;
  line-height: 2rem;
}
.hero-dark .hero-content .hero-subtitle {
  font-family: "Lato", sans-serif;
  font-size: clamp(0.85rem, 2vw + 0.5rem, 2rem);
  font-weight: 400;
  text-transform: uppercase;
  color: #ffa600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}
.hero-dark .hero-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.hero-dark .hero-content ul li {
  margin-bottom: 1rem;
}
.hero-dark .hero-content .hero-image {
  width: 100%;
  max-width: 400px;
  margin: 1rem auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(80, 80, 80, 0.7);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.hero-dark .hero-content .hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-dark .hero-content .hero-video {
  margin: 2rem 0;
  width: 100%;
}
.hero-dark .hero-content .hero-video .video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.hero-dark .hero-content .hero-video .video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}
.hero-dark .hero-content .hero-media {
  width: 100%;
}

.hero-primary {
  background: #badbff;
  padding: 4rem 0.5rem;
}
.hero-primary .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra en ejes cross en móvil */
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}
.hero-primary .hero-content .hero-text {
  width: 100%;
  text-align: center;
}
.hero-primary .hero-content .hero-title {
  font-family: "Lato", sans-serif;
  font-size: clamp(2.2rem, 2vw + 0.5rem, 2.5rem);
  font-weight: 400;
  color: #221900;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  margin-top: 1rem;
  line-height: 2rem;
}
.hero-primary .hero-content .hero-subtitle {
  font-family: "Lato", sans-serif;
  font-size: clamp(0.85rem, 2vw + 0.5rem, 2rem);
  font-weight: 400;
  text-transform: uppercase;
  color: #ffa600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}
.hero-primary .hero-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.hero-primary .hero-content ul li {
  margin-bottom: 1rem;
}
.hero-primary .hero-content .hero-image {
  width: 100%;
  max-width: 400px;
  margin: 1rem auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(80, 80, 80, 0.7);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.hero-primary .hero-content .hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-primary .hero-content .hero-video {
  margin: 2rem 0;
  width: 100%;
}
.hero-primary .hero-content .hero-video .video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.hero-primary .hero-content .hero-video .video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}
.hero-primary .hero-content .hero-media {
  width: 100%;
}

.unmute-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.hero-titulo-descripcion {
  font-family: "Lato", sans-serif;
  font-size: clamp(0.85rem, 1.5vw + 0.5rem, 1.5rem);
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  background-color: #ff6200;
  letter-spacing: 0.5px;
  margin: 1rem;
  padding: 5px;
  border-radius: 5px;
  transform: skew(-20deg); /* inclinación “negativa” del contenedor */
}

.hero-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: 2px solid black;
  text-transform: uppercase;
  background: none;
  cursor: pointer;
  transition: all 0.3s;
  margin: 1rem 0;
}
.hero-button:hover {
  background: black;
  color: white;
}

.hero-description {
  font-size: 1rem;
  color: #6c757d;
  margin: 0.5rem 0;
  padding: 1rem 0;
  line-height: 1.5;
  text-align: justify;
  text-indent: 1.5rem; /* solo la primera línea */
}

.fondo1 {
  margin-top: 170px;
  background: url("public/assets/images/IMG-20171114-WA0024.jpg") no-repeat top center;
  background-size: cover;
  width: 100%;
  height: auto;
  min-height: 400px;
  max-height: 700px;
}

.video-container {
  position: relative;
  width: 100% !important;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-background {
  width: 100% !important;
  height: auto;
}

.audio-button {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 10px 15px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
}

.audio-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

/* --------------------------------------------------
   Galería de fotos (gallery.scss)
   -------------------------------------------------- */
.gallery {
  padding: 1rem 0;
  /* ----- Filtros ----- */
  /* ----- Grid / tarjetas ----- */
  /* ----- Etiquetas bajo la imagen ----- */
  /* ----- Cuerpo con título/desc ----- */
}
.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.gallery__btn {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  border: 1px solid #0d6efd;
  background: #fff;
  color: #0d6efd;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.gallery__btn:hover, .gallery__btn.is-active {
  background: #0d6efd;
  color: #fff;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.gallery__item {
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.gallery__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.gallery__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0.5rem 0.75rem 0;
}
.gallery__tag {
  font-size: 0.75rem; /* más pequeño */
  color: #629def;
  padding: 0.125rem 0.5rem;
  line-height: 1.2;
  white-space: nowrap;
}
.gallery__body {
  padding: 0.75rem;
}
.gallery__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gallery__desc {
  font-size: 0.875rem;
  color: #555;
  margin: 0;
}

/* Utilidades -------------------------------------- */
.text-capitalize {
  text-transform: capitalize;
}

.gallery__tag.is-linked {
  background: #0d6efd;
  color: #fff;
  font-weight: 600;
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0; /* ocupa toda la ventana */
  background: rgba(0, 0, 0, 0.8); /* fondo oscuro */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  backdrop-filter: blur(2px); /* opcional, efecto de desenfoque */
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain; /* nunca recorta */
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

/* --------------------------------------------------
   Tienda solidaria (shop.scss)
   -------------------------------------------------- */
.shop {
  padding: clamp(0.5rem, 1.5vw + 0.5rem, 2.5rem);
  /* ----- Filtros ----- */
  /* ----- Grid / tarjetas ----- */
  /* ----- Categorías bajo la imagen ----- */
  /* ----- Cuerpo con título/desc/precio y botón ----- */
}
.shop__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.shop__btn {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  border: 1px solid #0d6efd;
  background: #fff;
  color: #0d6efd;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.shop__btn:hover, .shop__btn.is-active {
  background: #0d6efd;
  color: #fff;
}
.shop__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.shop__item {
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.shop__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.shop__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0.5rem 0.75rem 0;
}
.shop__cat {
  font-size: 0.75rem;
  color: #629def;
  padding: 0.125rem 0.5rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}
.shop__cat:hover {
  background: #0d6efd;
  color: #fff;
  border-radius: 1rem;
}
.shop__body {
  padding: 0.75rem;
}
.shop__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop__desc {
  font-size: 0.875rem;
  color: #555;
  margin: 0 0 0.5rem 0;
  min-height: 38px;
}
.shop__price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #1556ac;
  margin-bottom: 0.75rem;
}
.shop__btn-add {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: #0d6efd;
  color: #fff;
  border-radius: 2rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}
.shop__btn-add:hover:not(.is-disabled) {
  background: rgb(1.762295082, 87.2336065574, 213.237704918);
}
.shop__btn-add.is-disabled {
  background: #ccc;
  color: #888;
  cursor: not-allowed;
  pointer-events: none;
}

/* Utilidades */
.text-capitalize {
  text-transform: capitalize;
}

.cart,
.checkout,
.thanks {
  padding: clamp(0.75rem, 1.2vw + 0.75rem, 2rem);
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  background: #0d6efd;
  color: #fff;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn--ghost {
  background: #eef3ff;
  color: #0d6efd;
}
.btn--primary {
  background: #0d6efd;
}

.ta-right {
  text-align: right;
}

.ta-center {
  text-align: center;
}

.cart__title {
  margin-bottom: 1rem;
}

.cart__empty {
  margin: 1rem 0;
}

.cart__table {
  display: grid;
  gap: 0.75rem;
}

.cart__row {
  display: grid;
  grid-template-columns: 1fr 120px 120px 120px 40px;
  gap: 0.5rem;
  align-items: center;
}

.cart__row--head {
  font-weight: 600;
}

.cart__prod {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
} /* <- permite wrap */
.cart__prod img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.cart__name {
  font-weight: 600;
  white-space: normal;
  word-break: break-word;
}

.cart__stock {
  color: #666;
}
.cart__stock--out {
  color: #b00020;
}

.cart__qty {
  width: 80px;
  text-align: center;
}

.cart__qtyctrl {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cart__btnqty {
  min-width: 2rem;
  height: 2rem;
  border: 1px solid #cfd6e4;
  border-radius: 0.5rem;
  background: #fff;
  cursor: pointer;
  line-height: 1;
  font-size: 1rem;
  padding: 0 0.25rem;
}

.cart__qtyval {
  min-width: 2ch;
  text-align: center;
  font-weight: 600;
  display: inline-block;
}

.cart__remove {
  background: none;
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

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

.cart__summary {
  margin-top: 1.5rem;
  max-width: 420px;
  margin-left: auto;
  display: grid;
  gap: 0.5rem;
}
.cart__summary .cart__line,
.cart__summary .cart__total {
  display: flex;
  justify-content: space-between;
}
.cart__summary .cart__total {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.5rem;
}
.cart__summary .cart__checkout {
  margin-top: 0.75rem;
  text-align: center;
}
.cart__summary .cart__back-float {
  position: fixed;
  left: clamp(0.5rem, 2vw, 1rem);
  bottom: clamp(0.5rem, 2vw, 1rem);
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.checkout__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.field {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}
.field input,
.field select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
}

.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.checkout__summary {
  border: 1px solid #eee;
  padding: 1rem;
  border-radius: 0.75rem;
}
.checkout__summary .summary__list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem 0;
  display: grid;
  gap: 0.25rem;
}
.checkout__summary .summary__item,
.checkout__summary .summary__line,
.checkout__summary .summary__total {
  display: flex;
  justify-content: space-between;
}
.checkout__summary .summary__total {
  font-weight: 700;
  margin-top: 0.25rem;
}
.checkout__summary .summary__edit {
  display: inline-block;
  margin-top: 0.75rem;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #fff4f4;
  color: #a40000;
  border: 1px solid #ffdede;
}

@media (max-width: 860px) {
  .cart__row {
    grid-template-columns: 1fr 90px 100px 100px 32px;
  }
  .checkout__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .cart__back-float {
    left: 0.5rem;
    bottom: 0.5rem;
  }
}
@media (max-width: 680px) {
  .cart__row--head {
    display: none;
  }
  .cart__row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    align-items: start;
    padding: 0.5rem 0.25rem;
    border-radius: 0.5rem;
    background: #f8f9fb;
  }
  /* 1) Producto a ancho completo */
  .cart__row > :nth-child(1) {
    grid-column: 1/-1;
  }
  /* 2) Precio y cantidad en la fila 2 */
  .cart__row > :nth-child(2) {
    grid-column: 1;
  }
  .cart__row > :nth-child(3) {
    grid-column: 2;
    justify-self: end;
  }
  /* 3) Subtotal y eliminar en la fila 3 */
  .cart__row > :nth-child(4) {
    grid-column: 1;
    font-weight: 600;
  }
  .cart__row > :nth-child(5) {
    grid-column: 2;
    justify-self: end;
  }
  .cart__prod img {
    width: 56px;
    height: 56px;
  }
  .cart__qty {
    width: 72px;
  }
  .cart__btnqty {
    min-width: 2.25rem;
    height: 2.25rem;
  }
}
.slider {
  position: relative;
  width: 100vw;
  min-height: 60vh;
  max-height: 80vh;
  overflow: hidden;
}
.slider .slider-container {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 1s ease-in-out;
}
.slider .slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 60vh;
  max-height: 80vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.slider .slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  bottom: 10vh;
  left: 50%;
  transform: translateX(-50%) translateY(250px);
  text-align: center;
  color: #970ff2;
  font-family: "Lato", sans-serif;
  font-weight: 200;
  width: 90%;
  max-width: 800px;
  padding: 1rem 2rem;
  border-radius: 15px;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  border: 1px solid #ffcc00;
  z-index: 100;
  background: transparent;
}
.slider .slide.active .slide-content {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.slider .slide-video {
  position: relative;
  width: auto;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 1;
}
.slider .slide-subtitle {
  font-size: 1.1rem;
  letter-spacing: 2px;
  font-weight: 300;
  color: #f8f9fa;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}
.slider .slide-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 10px 0;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.6), 0 0 15px rgba(255, 255, 255, 0.4);
}
.slider img {
  width: 20%;
  margin-bottom: 2rem;
}
.slider .slide-buttons .btn-outline {
  z-index: 20;
  position: relative;
}
.slider .slide-buttons {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.slider .or {
  font-size: 1rem;
  color: #aaa;
}
.slider .btn-outline {
  padding: 10px 20px;
  border: 2px solid #f8f9fa;
  background: transparent;
  color: #f8f9fa;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  color: #f8f9fa;
}
.slider .btn-outline:hover {
  background: black;
  color: white;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}
.scroll-indicator {
  position: absolute;
  bottom: 1vh;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  animation: bounce 1.5s infinite ease-in-out;
}

@media (max-width: 768px) {
  .slider {
    height: 85vh;
  }
  .slider .slide {
    width: 100vw;
    height: 100%;
    background-size: cover;
    background-position: center;
  }
  .slider .slide-video {
    position: relative;
    width: auto;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 1;
  }
}
.separador-imagen {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.separador-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.separador-imagen .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
}
.separador-imagen .mensaje-central {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}
.separador-imagen .mensaje-central h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
}

.testimonial {
  text-align: center;
  color: #333;
  padding: 4rem 2rem;
  border: 1px solid;
}
.testimonial .testimonial-title {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}
.testimonial .testimonial-avatars {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.testimonial .testimonial-avatars img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}
.testimonial .testimonial-avatars img:hover {
  transform: scale(1.1);
}
.testimonial .testimonial-text {
  font-size: 1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.testimonial .testimonial-author {
  font-weight: bold;
  margin-top: 1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.testimonial .testimonial-company {
  font-size: 0.8rem;
  color: #888;
}

@media (min-width: 768px) {
  .testimonial-avatars {
    flex-wrap: wrap;
    border: 1px solid red;
  }
}
.testimonial {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.testimonial.visible {
  opacity: 1;
  transform: translateY(0);
}

/*# sourceMappingURL=estilos.css.map */
