/* Estilo home inspirado en La Fuga — solo body.pag-home; usa imágenes propias vía sitio_marca */

body.pag-home {
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
}

body.pag-home .cabecera {
  background: var(--sm-home-cabecera-fondo, #f8fafc);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  padding: 0.65rem 0;
  z-index: 100;
}

body.pag-home .div-logo-usuario {
  align-items: center;
  gap: 0.35rem;
}

body.pag-home .imgcablogo {
  width: 100px;
  height: 100px;
  border-radius: 18px;
  object-fit: contain;
}

body.pag-home .imgusuario {
  width: 42px;
  height: 42px;
  cursor: pointer;
}

body.pag-home .imgusuario4 {
  padding: 10px;
}

body.pag-home .usuario-sesion {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

body.pag-home .lblusuario,
body.pag-home label4.lblusuario {
  width: auto;
  max-width: 220px;
  margin: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  box-shadow: none;
}

body.pag-home .navegacion ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 6px;
  padding: 0;
  list-style: none;
}

body.pag-home .navegacion ul li {
  display: block;
}

body.pag-home .btnnav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

body.pag-home .cabecera .btnnav,
body.pag-home .cabecera .btnnav:hover {
  color: #ffffff;
}

body.pag-home .btnnav__svg {
  display: block;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  opacity: 0.95;
}

body.pag-home .btnnav:hover {
  transform: translateY(-2px);
  filter: saturate(1.12) brightness(1.08);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 6px 16px rgba(15, 23, 42, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

body.pag-home .btnnav:active {
  transform: translateY(0);
}

body.pag-home .btnprod {
  background-image: none;
  background-color: var(--sm-home-nav-btn-fondo, #0d9488);
  background: var(--sm-home-nav-btn-fondo, #0d9488);
  border-color: rgba(255, 255, 255, 0.4);
}

body.pag-home .btnped {
  background-image: none;
  background-color: var(--sm-home-nav-btn-pedidos-fondo, #4f46e5);
  background: var(--sm-home-nav-btn-pedidos-fondo, #4f46e5);
  border-color: rgba(255, 255, 255, 0.4);
}

body.pag-home .btncont {
  background-image: none;
  background-color: var(--sm-home-nav-btn-contacto-fondo, #f59e0b);
  background: var(--sm-home-nav-btn-contacto-fondo, #f59e0b);
  border-color: rgba(120, 53, 15, 0.45);
}

body.pag-home .cabecera .btncont,
body.pag-home .cabecera .btncont:hover {
  color: #4a2600;
}

body.pag-home .btnprod-off {
  background-image: linear-gradient(135deg, #94a3b8 0%, #64748b 55%, #475569 100%);
  cursor: default;
}

body.pag-home .btnprod-off:hover {
  transform: none;
  filter: none;
}

body.pag-home .navegacion ul li a:hover {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.7);
}

body.pag-home .cuerpo {
  padding-top: 8rem;
  background: var(--sm-home-cuerpo-fondo, #87a2ca);
  background-color: var(--sm-home-cuerpo-fondo, #87a2ca);
  background-image: none;
  min-height: calc(100vh - 8rem);
}

body.pag-home .cue-contenedor {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 28px;
  box-sizing: border-box;
}

body.pag-home .home-acciones {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 0 1rem;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

body.pag-home .home-acciones .imgusuario6,
body.pag-home .home-acciones .botonclientes {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 200px;
  width: auto;
  height: auto;
  min-height: 48px;
  margin: 0;
  padding: 0.7rem 1rem;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--sm-home-acciones-texto, #ffffff);
  background: var(--sm-home-acciones-fondo, #0d9488);
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

body.pag-home .home-acciones .imgusuario6:hover,
body.pag-home .home-acciones .botonclientes:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.45);
  border: none;
}

body.pag-home .home-acciones .botonclientes--sesion,
body.pag-home .home-acciones .imgusuario6.sesion-activa {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 48%, #b91c1c 100%) !important;
  background-color: #dc2626 !important;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.4) !important;
  border: none !important;
  color: #ffffff !important;
  text-shadow: none;
}

body.pag-home .home-acciones .botonclientes--sesion:hover,
body.pag-home .home-acciones .imgusuario6.sesion-activa:hover {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 45%, #dc2626 100%) !important;
  background-color: #ef4444 !important;
  box-shadow: 0 6px 18px rgba(185, 28, 28, 0.5) !important;
  transform: translateY(-1px);
}

body.pag-home .ultima-act {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex: 0 1 auto;
  padding: 0.6rem 1.2rem 0.6rem 0.7rem;
  box-sizing: border-box;
  background: var(--sm-home-aviso-fondo, #1c1b1a);
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.28);
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  text-align: left;
}

body.pag-home .ultima-act__icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: #ffffff;
  background: radial-gradient(circle at 32% 26%, #6ee7a0 0%, #22c55e 45%, #15803d 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
}

body.pag-home .ultima-act__icono svg {
  display: block;
  width: 22px;
  height: 22px;
}

body.pag-home .ultima-act--pausa .ultima-act__icono {
  background: radial-gradient(circle at 32% 26%, #fcd34d 0%, #f59e0b 45%, #b45309 100%);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
}

body.pag-home .ultima-act__textos {
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
  min-width: 0;
}

body.pag-home .ultima-act__label {
  font-size: 0.63rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0a92b;
}

body.pag-home .ultima-act__resto {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--sm-home-aviso-texto, #e8eaed);
  font-variant-numeric: tabular-nums;
}

body.pag-home .ultima-act__dia {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--sm-home-aviso-texto, #ffffff);
  font-variant-numeric: tabular-nums;
}

body.pag-home .cta-llamada {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem 1rem;
  flex: 1 1 330px;
  width: 100%;
  max-width: 520px;
  margin: 0;
  padding: 0.85rem 1.15rem 0.85rem 1rem;
  box-sizing: border-box;
  overflow: hidden;
  text-decoration: none;
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  color: var(--sm-home-cta-llamada-texto, #ffffff);
  background: var(--sm-home-cta-llamada-fondo, #14b8a6);
  border: 2px solid #99f6e4;
  border-radius: 16px;
  box-shadow:
    0 14px 40px rgba(20, 184, 166, 0.5),
    0 0 0 4px rgba(94, 234, 212, 0.22),
    0 2px 0 rgba(255, 255, 255, 0.25) inset;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}

body.pag-home .cta-llamada::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.5s ease;
}

body.pag-home .cta-llamada:hover {
  color: var(--sm-home-cta-llamada-texto, #ffffff);
  transform: translateY(-3px);
  filter: brightness(1.06);
  border-color: #ccfbf1;
}

body.pag-home .cta-llamada:hover::before {
  left: 120%;
}

body.pag-home .cta-llamada__icono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: #0d9488;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

body.pag-home .cta-llamada__icono svg {
  display: block;
  width: 22px;
  height: 22px;
}

body.pag-home .cta-llamada:hover .cta-llamada__icono {
  color: #0f766e;
  background: #fef08a;
}

body.pag-home .cta-llamada__textos {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
  text-align: left;
}

body.pag-home .cta-llamada__titulo {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

body.pag-home .cta-llamada__subtitulo {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ecfeff;
}

body.pag-home .cta-llamada__sin-compromiso {
  display: inline-block;
  margin-top: 0.15em;
  padding: 0.1em 0.45em;
  font-weight: 800;
  white-space: nowrap;
  color: #1e1b4b;
  background: linear-gradient(180deg, #fef08a 0%, #fde047 100%);
  border-radius: 4px;
  text-shadow: none;
}

body.pag-home .cta-llamada__badge {
  display: block;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
}

body.pag-home .cta-llamada__badge svg {
  display: block;
  width: 100%;
  height: 100%;
}

body.pag-home .cue-contimg {
  width: fit-content;
  max-width: min(100%, 920px);
  margin: 0 auto;
  padding: 0;
  display: block;
  line-height: 0;
  background: transparent;
  border-radius: 28px;
  border: 1px solid var(--sm-home-portada-borde, #080664);
  box-shadow: 0 14px 30px rgba(8, 16, 42, 0.22);
  box-sizing: border-box;
  overflow: hidden;
}

body.pag-home .cue-contimg picture,
body.pag-home .cue-contimg__img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
}

body.pag-home .portada-frase {
  width: 100%;
  max-width: 640px;
  margin: 1.35rem auto 0;
  box-sizing: border-box;
}

body.pag-home .portada-frase__marco {
  position: relative;
  padding: 1.5rem 2.4rem 1.3rem;
  box-sizing: border-box;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(236, 244, 255, 0.95) 100%);
  border: 1px solid rgba(13, 148, 136, 0.4);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
}

body.pag-home .portada-frase__marco::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(13, 148, 136, 0.32);
  border-radius: 9px;
  pointer-events: none;
}

body.pag-home .portada-frase__texto {
  margin: 0;
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sm-home-portada-texto, #12134a);
}

body.pag-home .portada-frase__filete {
  position: relative;
  display: block;
  width: 130px;
  height: 1px;
  margin: 0.9rem auto 0;
  background: linear-gradient(90deg, rgba(13, 148, 136, 0) 0%, rgba(13, 148, 136, 0.75) 50%, rgba(13, 148, 136, 0) 100%);
}

body.pag-home .portada-frase__filete::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: #0d9488;
}

body.pag-home .home-cta-catalogo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1024px;
  margin: 1.15rem auto 0;
  padding: 0 0 0.5rem;
  box-sizing: border-box;
}

body.pag-home .home-cta-catalogo__inner {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

body.pag-home .home-cta-catalogo__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #0b4f49;
}

body.pag-home .home-cta-catalogo__btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem 1.15rem;
  width: 100%;
  padding: 1.2rem 1.25rem 1.2rem 1.15rem;
  box-sizing: border-box;
  text-decoration: none;
  color: var(--sm-home-btn-productos-texto, #ffffff);
  background: var(--sm-home-btn-productos-fondo, #0d9488);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  box-shadow:
    0 14px 36px rgba(13, 148, 136, 0.45),
    0 2px 0 rgba(255, 255, 255, 0.15) inset;
  transition: transform 0.22s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

body.pag-home .home-cta-catalogo__btn:hover,
body.pag-home .home-cta-catalogo__btn:focus-visible {
  transform: translateY(-3px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 20px 44px rgba(67, 56, 202, 0.5),
    0 2px 0 rgba(255, 255, 255, 0.2) inset;
  outline: none;
}

body.pag-home .home-cta-catalogo__icono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 14px;
}

body.pag-home .home-cta-catalogo__icono svg {
  display: block;
  width: 28px;
  height: 28px;
}

body.pag-home .home-cta-catalogo__textos {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  min-width: 0;
  text-align: left;
}

body.pag-home .home-cta-catalogo__titulo {
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

body.pag-home .home-cta-catalogo__subtitulo {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.94);
}

body.pag-home .home-cta-catalogo__flecha {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: transform 0.22s ease, background 0.2s ease;
}

body.pag-home .home-cta-catalogo__flecha svg {
  display: block;
  width: 22px;
  height: 22px;
}

body.pag-home .home-cta-catalogo__btn:hover .home-cta-catalogo__flecha {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.35);
}

body.pag-home .pie {
  background: var(--sm-home-pie-fondo, #1ea2a2);
  color: var(--sm-home-pie-texto, #ffffff);
}

@media only screen and (max-width: 1220px) {
  body.pag-home .cabecera {
    background: var(--sm-home-cabecera-fondo, #f8fafc);
    background-image: none;
    padding: 5px;
  }

  body.pag-home .cabecera a {
    font-size: inherit;
    color: inherit;
  }

  body.pag-home .div-cabecera {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.25rem 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.2;
  }

  body.pag-home .div-logo-usuario {
    width: auto;
    flex: 1 1 auto;
    max-width: calc(100% - 64px);
    margin: 0;
    align-items: center;
  }

  body.pag-home .imgcablogo {
    width: 60px;
    height: 60px;
  }

  body.pag-home .imgusuario {
    width: 36px;
    height: 36px;
  }

  body.pag-home .imgusuario4 {
    padding: 6px;
  }

  body.pag-home .lblusuario,
  body.pag-home label4.lblusuario {
    max-width: 160px;
    font-size: 0.78rem;
    padding: 0.28rem 0.65rem;
  }

  body.pag-home .usuario-sesion {
    max-width: calc(100% - 100px);
  }

  /* Hamburguesa visible a la derecha, como en La Fuga */
  body.pag-home .btnmenu {
    display: block;
    cursor: pointer;
    padding: 0 0.85rem;
    margin-left: auto;
    flex: 0 0 auto;
  }

  body.pag-home .img-btnmenu {
    width: 40px;
    height: 40px;
    content: url("/imagenes/menu.png?v=2");
  }

  body.pag-home .navegacion {
    width: 100%;
    margin-top: 0.75rem;
    margin-left: 0;
    order: 3;
    display: flex;
    justify-content: center;
  }

  body.pag-home .navegacion ul {
    display: none;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    gap: 0;
  }

  /* Desplegable del botón hamburguesa: pastillas apiladas y centradas */
  body.pag-home .navegacion ul.show {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    max-width: 320px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  body.pag-home .navegacion ul li {
    display: block;
    width: 100%;
  }

  body.pag-home .btnnav {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    height: auto;
    line-height: 1.2;
    border-radius: 999px;
  }

  body.pag-home .btnprod,
  body.pag-home .btnped,
  body.pag-home .btncont {
    height: auto;
    line-height: 1.2;
    background-color: transparent;
  }

  body.pag-home .navegacion ul li a {
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    box-shadow:
      0 2px 6px rgba(15, 23, 42, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
    text-align: center;
  }

  body.pag-home .navegacion ul li a:hover {
    background: transparent;
  }

  body.pag-home .cuerpo {
    padding-top: 7.5rem;
    background: var(--sm-home-cuerpo-fondo, #87a2ca);
    background-color: var(--sm-home-cuerpo-fondo, #87a2ca);
    background-image: none;
  }

  body.pag-home .cue-contimg {
    max-width: 100%;
    border-radius: 18px;
  }
}

@media only screen and (max-width: 980px) {
  body.pag-home .home-acciones {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    max-width: 560px;
  }

  body.pag-home .home-acciones .imgusuario6,
  body.pag-home .home-acciones .botonclientes,
  body.pag-home .home-acciones .ultima-act,
  body.pag-home .home-acciones .cta-llamada {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  body.pag-home .portada-frase__marco {
    padding: 1.1rem 1.2rem 1rem;
  }

  body.pag-home .portada-frase__texto {
    font-size: 1.2rem;
    letter-spacing: 0.04em;
  }

  body.pag-home .cta-llamada {
    flex-wrap: wrap;
  }

  body.pag-home .cta-llamada__badge {
    margin-left: auto;
  }

  body.pag-home .home-cta-catalogo__btn {
    padding: 1rem;
  }

  body.pag-home .home-cta-catalogo__titulo {
    font-size: 1.05rem;
  }
}
