:root {
  --navy: #1b3a2d;
  --cyan: #2f6b4f;
  --boton: #3f8f62;
  --texto: #3d4a43;
  --suave: #5d6b63;
}

html { scroll-padding-top: 7rem; }

body {
  margin: 0;
  color: var(--texto);
  font-family: "Open Sans", sans-serif;
  background: #fff;
}

h1, h2, h3, h4, .nav-link, .btn-arsha, .modal-title {
  font-family: "Jost", sans-serif;
}

a { color: var(--cyan); }

.aviso-prototipo {
  background: #14281f;
  color: #fff;
  text-align: center;
  font-size: 0.78rem;
  padding: 0.35rem 1rem;
}

.sitio-nav {
  background: var(--navy);
}

.barra-contacto {
  background: #14281f;
  font-size: 0.8rem;
  padding: 0.32rem 0;
}

.barra-contacto .container {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem 1.3rem;
  flex-wrap: wrap;
}

.barra-contacto a {
  color: #e7f6ec;
  text-decoration: none;
}

.barra-contacto a:hover { color: #fff; }
.barra-contacto i { margin-right: 0.3rem; }

.navbar-brand {
  background: #fff;
  border-radius: 8px;
  padding: 4px 10px;
  line-height: 0;
}

.navbar-brand img { height: 42px; width: auto; }

.nav-link {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
}

.nav-link:hover, .nav-link:focus, .nav-link.active { color: #b7e0c4; }
.nav-link.active { box-shadow: inset 0 -2px 0 #b7e0c4; }

.navbar-toggler { border-color: rgba(255, 255, 255, 0.45); }
.navbar-toggler-icon { filter: invert(1); }

.btn-arsha, .btn-campo, .btn-wa {
  display: inline-block;
  background: var(--boton);
  color: #fff;
  border: 0;
  border-radius: 50px;
  padding: 0.65rem 1.5rem;
  font-weight: 500;
  text-decoration: none;
  font-family: "Jost", sans-serif;
}

.btn-arsha:hover, .btn-campo:hover, .btn-wa:hover { background: #327a52; color: #fff; }

.btn-linea {
  color: #fff;
  text-decoration: none;
  margin-left: 1.2rem;
  font-family: "Jost", sans-serif;
  font-weight: 500;
}

.btn-linea:hover { color: #b7e0c4; }
.hero-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem 0.7rem; }
.hero-acciones .btn-linea { margin: 0; }
.hero .hero-acciones .btn-arsha,
.cta .hero-acciones .btn-arsha,
.hero .hero-acciones .btn-linea,
.cta .hero-acciones .btn-linea {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.2rem;
  line-height: 1;
}
.hero .hero-acciones .btn-linea,
.cta .hero-acciones .btn-linea {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50px;
  color: #fff;
}
.hero .hero-acciones .btn-linea:hover,
.cta .hero-acciones .btn-linea:hover {
  background: #fff;
  color: var(--navy);
}

.hero {
  background: var(--navy);
  color: #fff;
  padding: 0;
}

.hero-texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 3.5rem 4.5rem 7vw;
}

.hero .btn-arsha {
  background: #e7f6ec;
  color: var(--navy);
}

.hero .btn-arsha:hover { background: #fff; color: var(--navy); }

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero .bajada {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  margin-bottom: 1.6rem;
  max-width: 34rem;
}

.hero-foto-caja { position: relative; height: 100%; min-height: 520px; overflow: hidden; }
.hero-capa { position: absolute; inset: -12% 0; }

.hero-foto-caja::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 22%;
  background: linear-gradient(to right, var(--navy) 0%, rgba(27, 58, 45, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
}

.seccion { padding: 4.5rem 0; }

.titulo {
  text-align: center;
  margin-bottom: 2.2rem;
}

.titulo h2 {
  color: var(--navy);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.titulo p { color: var(--suave); margin: 0 auto; max-width: 40rem; }

.acerca h2 { color: var(--navy); font-weight: 700; font-size: 2rem; }
.acerca img { width: 100%; height: 360px; object-fit: cover; border-radius: 8px; }
.acerca .lista { list-style: none; padding: 0; margin: 1rem 0 1.2rem; }
.acerca .lista li { padding: 0.25rem 0 0.25rem 1.6rem; position: relative; }
.acerca .lista li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

.linea {
  background: #f4f7f4;
  border-radius: 8px;
  padding: 1.5rem 1.3rem;
  height: 100%;
  box-shadow: 0 0 24px rgba(27, 58, 45, 0.08);
}

.filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.1rem; margin-bottom: 1.1rem; }
.filtro-leyenda { text-align: center; color: var(--suave); font-size: 0.85rem; margin: 0.2rem 0 0.35rem; }
.cuenta-productos { text-align: center; color: var(--suave); font-size: 0.85rem; margin: 0 0 1.2rem; }
.filtro {
  background: none;
  border: 0;
  color: var(--suave);
  font-family: "Jost", sans-serif;
  font-weight: 500;
  padding: 0.2rem 0;
}
.filtro.activo { color: var(--navy); box-shadow: inset 0 -2px 0 var(--boton); }
.pieza {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #e7eee9;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  color: var(--navy);
}
.pieza img { width: 100%; height: 220px; object-fit: cover; display: block; }
.pieza span {
  display: block;
  padding: 0.7rem 0.8rem 0.85rem;
  font-family: "Jost", sans-serif;
  font-weight: 600;
}
.pieza small { display: block; margin-top: 0.15rem; color: var(--cyan); font-weight: 500; font-size: 0.82rem; }
.visor-img { width: 100%; max-height: 70vh; object-fit: contain; }

.linea i { color: var(--cyan); font-size: 1.8rem; }
.linea h3 { color: var(--navy); font-size: 1.2rem; margin: 0.6rem 0 0.4rem; }

.cta {
  background: linear-gradient(rgba(27, 58, 45, 0.88), rgba(27, 58, 45, 0.88)), url("../FOTOS/inbiocit.jpg") center / cover;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.cta h2 { font-weight: 700; margin-bottom: 0.6rem; }
.cta p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.2rem; }
.cta .cta-horario { margin-top: -0.45rem; font-size: 0.95rem; line-height: 1.45; }

.productos { background: #f4f7f4; }
.campo-buscar { width: min(100%, 28rem); text-align: left; }
.campo-buscar label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}
.buscador {
  width: 100%;
  border: 1px solid #c5d4c8;
  background: #fff;
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-size: 16px;
}
.buscador:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
  border-color: var(--cyan);
}

.producto { cursor: pointer; height: 100%; }
.producto .cuerpo { display: flex; flex-direction: column; }
.producto .foto {
  background: #fff;
  border-radius: 8px;
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 1rem;
  box-shadow: 0 0 20px rgba(27, 58, 45, 0.08);
}
.producto img { max-height: 168px; max-width: 78%; object-fit: contain; }
.linea-nombre {
  display: block;
  margin-top: 0.7rem;
  min-height: 1.1em;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}
.producto h3 {
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.25;
  min-height: 2.5em;
  margin: 0.15rem 0 0;
}
.uso-nombre {
  display: block;
  min-height: 1.35em;
  line-height: 1.35;
  color: var(--navy);
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
}
.ver-todos-caja { text-align: center; margin: -0.4rem 0 1rem; }
.entradas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.entrada {
  position: relative;
  height: 210px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
}
.entrada img { width: 100%; height: 100%; object-fit: cover; display: block; }
.entrada span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 0.8rem 0.75rem;
  background: linear-gradient(transparent, rgba(20, 40, 31, 0.88));
  color: #fff;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
}
.entrada.activo { box-shadow: inset 0 0 0 3px #e7f6ec; }
#rejilla { scroll-margin-top: 7rem; }
.ficha-directa {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--navy);
  font-family: "Jost", sans-serif;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15rem;
}
.wa-fijo { display: none; }
.producto p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--suave);
  font-size: 0.88rem;
  margin: 0.3rem 0 0;
}

.enlace-fino { color: var(--navy); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 0.2rem; }

.faq .accordion-button { font-family: "Jost", sans-serif; color: var(--navy); font-weight: 600; }
.faq .accordion-button:not(.collapsed) { background: #eef5f0; color: var(--cyan); box-shadow: none; }
.faq .accordion-item { border-color: #e3ebe4; }

.contacto-caja {
  background: #f4f7f4;
  border-radius: 8px;
  padding: 1.2rem 1.3rem;
  height: 100%;
}
.contacto-caja i { color: var(--cyan); font-size: 1.4rem; }
.contacto-caja h3 { color: var(--navy); font-size: 1.15rem; margin: 0.4rem 0; }
.contacto-caja a { color: var(--texto); text-decoration: none; }

.form-control {
  border: 1px solid #d5e0d8;
  border-radius: 4px;
  padding: 0.7rem 0.8rem;
}
.form-control:focus { border-color: var(--cyan); box-shadow: 0 0 0 0.15rem rgba(47, 107, 79, 0.2); }

.mapa { width: 100%; min-height: 320px; border: 0; border-radius: 8px; }

.pagina-cabeza { padding: 3.5rem 0 1rem; }
.pagina-cabeza h1 { color: var(--navy); font-weight: 700; font-size: clamp(2rem, 4vw, 2.6rem); }
.lead-suave, .pagina-cabeza .text-secondary { color: var(--suave) !important; }

.tarjeta {
  background: #f4f7f4;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  padding: 1.2rem;
  height: 100%;
}
.tarjeta .marca {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.ficha-modal img { width: 100%; max-height: 240px; object-fit: contain; }
.ficha-acciones { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.btn-contorno {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid var(--boton);
  color: var(--navy);
  background: #fff;
  border-radius: 50px;
  padding: 0.55rem 1.2rem;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  text-decoration: none;
}
.btn-contorno:hover, .btn-contorno:focus-visible { background: #e7f6ec; color: var(--navy); }

.sitio-footer {
  background: var(--navy);
  color: #fff;
  padding: 2.6rem 0 1.2rem;
  font-size: 0.95rem;
}
.sitio-footer h2 {
  font-family: "Jost", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.sitio-footer a { color: #fff; text-decoration: none; }
.sitio-footer a:hover { color: #b7e0c4; }
.sitio-footer .copy {
  margin-top: 1.4rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 991.98px) {
  body { padding-bottom: 4.5rem; }
  .wa-fijo {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1040;
    background: #e7f6ec;
    color: var(--navy);
    border-radius: 50px;
    padding: 0.75rem 1.15rem;
    font-family: "Jost", sans-serif;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  }
  .hero-texto { padding: 2.4rem 1.25rem 1.6rem; }
  .hero-foto-caja { min-height: 320px; }
  .hero-foto-caja::before {
    inset: 0 0 auto 0;
    width: 100%;
    height: 28%;
    background: linear-gradient(to bottom, var(--navy) 0%, rgba(27, 58, 45, 0) 100%);
  }
  .acerca img { height: 240px; }
  .seccion { padding: 3rem 0; }
}

@media (max-width: 767.98px) {
  .btn-linea { display: inline-block; margin: 0.8rem 0 0; }
  .producto .foto { min-height: 140px; }
  .producto img { max-height: 100px; }
  .entrada { height: 132px; }
  .entrada span { font-size: 0.82rem; padding-top: 1.6rem; }
  .buscador, .form-control { font-size: 16px; }
}

@media (prefers-reduced-motion: no-preference) {
  html.movimiento .hero-foto {
    animation: aliento 18s ease-in-out infinite alternate;
  }
  html.movimiento .hero-texto > * {
    animation: subir .7s cubic-bezier(.2, .7, .2, 1) both;
  }
  html.movimiento .hero-texto .bajada { animation-delay: .14s; }
  html.movimiento .hero-texto .hero-acciones { animation-delay: .26s; }
  html.movimiento .revelar {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s cubic-bezier(.2, .7, .2, 1), transform .55s cubic-bezier(.2, .7, .2, 1);
  }
  html.movimiento .revelar.visto { opacity: 1; transform: none; }
  html.movimiento .entrada {
    transition: opacity .55s cubic-bezier(.2, .7, .2, 1), transform .55s cubic-bezier(.2, .7, .2, 1), box-shadow .35s cubic-bezier(.2, .7, .2, 1);
  }
  html.movimiento .pieza,
  html.movimiento .producto,
  html.movimiento .producto .foto {
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s cubic-bezier(.2, .7, .2, 1);
  }
  html.movimiento .entrada img,
  html.movimiento .pieza img {
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
  }
  html.movimiento .entrada.visto:hover,
  html.movimiento .entrada.visto:focus-visible,
  html.movimiento .pieza.visto:hover,
  html.movimiento .pieza.visto:focus-visible,
  html.movimiento .revelar.visto .pieza:hover,
  html.movimiento .revelar.visto .pieza:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(20, 40, 31, .22);
  }
  html.movimiento .entrada:hover img,
  html.movimiento .entrada:focus-visible img,
  html.movimiento .pieza:hover img,
  html.movimiento .pieza:focus-visible img {
    transform: scale(1.07);
  }
  html.movimiento .producto:hover {
    transform: translateY(-6px);
  }
  html.movimiento .producto:hover .foto {
    box-shadow: 0 16px 32px rgba(27, 58, 45, .18);
  }
  @media (min-width: 992px) {
    html.movimiento .cta { background-attachment: fixed; }
  }
}

@keyframes aliento {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}
@keyframes subir {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.ayuda-abrir {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1040;
  border: 0;
  border-radius: 50px;
  background: var(--navy);
  color: #fff;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.15rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.ayuda-abrir:hover, .ayuda-abrir:focus-visible { background: #14281f; color: #fff; }
.ayuda-panel {
  position: fixed;
  left: 1rem;
  bottom: 4.6rem;
  z-index: 1041;
  width: min(24rem, calc(100% - 2rem));
  height: min(70vh, 34rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  color: var(--texto);
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 18px 40px rgba(20, 40, 31, 0.28);
}
.ayuda-panel[hidden] { display: none; }
.ayuda-cabeza {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--navy);
  color: #fff;
}
.ayuda-cabeza h2 { margin: 0; color: #fff; font-size: 1.15rem; }
.ayuda-cabeza button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  padding: 0 0.2rem;
}
.ayuda-hilo {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.9rem 0.8rem;
  background: #f4f7f4;
}
.burbuja {
  max-width: 88%;
  padding: 0.7rem 0.85rem;
  border-radius: 16px;
  font-size: 0.92rem;
}
.burbuja p { margin: 0; }
.burbuja.bot {
  align-self: flex-start;
  background: #fff;
  color: var(--texto);
  border-bottom-left-radius: 4px;
}
.burbuja.yo {
  align-self: flex-end;
  background: var(--navy);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ayuda-escribir {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem;
  border-top: 1px solid #e3ebe4;
  background: #fff;
}
.ayuda-escribir input {
  flex: 1;
  min-width: 0;
  border: 1px solid #c5d4c8;
  border-radius: 50px;
  padding: 0.65rem 0.9rem;
  font-size: 16px;
}
.ayuda-escribir input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
.ayuda-escribir .btn-arsha { padding: 0.55rem 1rem; }
.ayuda-ejemplos { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.65rem; }
.ayuda-ejemplos button {
  border: 1px solid #c5d4c8;
  background: #f4f7f4;
  color: var(--navy);
  border-radius: 50px;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
}
.burbuja h3 { color: var(--navy); font-size: 1.05rem; margin: 0 0 0.15rem; }
.burbuja h4 { color: var(--cyan); font-size: 0.88rem; margin: 0.7rem 0 0.2rem; }
.ayuda-fuente { color: var(--suave); font-size: 0.78rem; margin: 0 0 0.35rem; }
.ayuda-cita { white-space: pre-wrap; margin: 0; }
.ayuda-pdf { display: inline-block; margin-top: 0.7rem; font-family: "Jost", sans-serif; font-weight: 600; }
.burbuja .btn-contorno { margin-top: 0.55rem; }
