/**
 * Estilo visual «SICSAC» — reproduce la web de sicsac.com.pe/web (Joomla 3, plantilla «jf_taman»; migrada a Netkipu
 * el 13-oct-2026): fondo gris con hexágonos, barra negra «Celular» arriba, cabecera amarilla #ffd401 con el logo,
 * «Emergencias las 24 horas» y «Síguenos en Facebook», menú gris claro con separadores, el activo en negro y
 * submenús negros, caja de 1200 px: contenido blanco (900) y columna gris #e1e1e1 (300) a la derecha, títulos en
 * mayúsculas con el casco amarillo, franja negra con correos/dirección y «Desarrollado por». Open Sans 14 px.
 */
html.skin-sicsac body { background: #e9e9e9 url("/assets/img/skins/sicsac-fondo.jpg") center top / cover fixed; color: #2d2d2d; font-size: 14px; }
#nk-lang-toggle { display: none !important; }

/* ===== Cabecera: barra negra arriba, franja amarilla con el logo y menú gris debajo ===== */
:host(site-header) { background: #ffd401 !important; box-shadow: none !important; border: 0 !important; backdrop-filter: none !important; }
/* Barra negra y menú de borde a borde (el fondo se extiende con border-image, sin crear scroll horizontal) */
:host(site-header) .utility { border-image: linear-gradient(#292929 0 0) fill 0 / / 0 100vmax; color: #fff; min-height: 40px; }
:host(site-header) .utility .inner, :host(site-header) .inner { max-width: 1180px; }
:host(site-header) .top-text { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; }
:host(site-header) [data-login], :host(site-header) [data-login-actions] { display: none !important; }
:host(site-header) .brand img { width: auto; height: 88px !important; max-width: none; }
:host(site-header) .inner:has(.brand) { position: relative; padding-block: 0; }
:host(site-header) .brand { margin: 20px 0; }
/* «Emergencias las 24 horas: 993 842 865» al centro-derecha de la franja amarilla, como el original */
:host(site-header) .inner:has(.brand)::after { content: "Emergencias las 24 horas:\A 993 842 865"; white-space: pre; position: absolute; left: 58%; top: 50%;
    transform: translate(-50%, -50%); font: 700 17.5px/1.6 "Open Sans", sans-serif; color: #2d2d2d; text-align: center;
    background: url("/assets/img/skins/sicsac-wa.png") 2px 100% / 27px 27px no-repeat; padding: 0 0 0 0; }
/* «Síguenos en Facebook»: la imagen del original tal cual */
:host(site-social) .social a.has-img { background: transparent !important; width: auto !important; height: auto !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; }
:host(site-social) .social .ss-img { width: auto !important; height: 42px !important; max-width: none !important; border-radius: 0 !important; }
/* Menú: fondo gris degradado, borde inferior amarillo, separadores, activo/hover en negro */
:host(site-header) .menu-wrap { border-image: linear-gradient(#e1e1e1 1px, #fbfbfb 1px, #e4e4e4 calc(100% - 4px), #fcb801 calc(100% - 4px)) fill 0 / / 0 100vmax; width: 100%; flex-basis: 100%; padding-bottom: 4px; }
@media (min-width: 901px) { :host(site-header) .caret { display: none !important; } }
:host(site-header) ul.menu { gap: 0; justify-content: flex-start !important; margin-right: auto; }
:host(site-header) ul.menu > .item > a { font: 700 13px/1 "Open Sans", sans-serif; color: #2d2d2d; padding: 24px 20px; border-radius: 0; text-transform: uppercase;
    background: url("/assets/img/skins/sicsac-separador.png") no-repeat right center; }
:host(site-header) ul.menu > .item > a:hover, :host(site-header) ul.menu > .item > a.is-current, :host(site-header) ul.menu > .item:hover > a { background: #282828; color: #fff; }
:host(site-header) .submenu { background: #282828 !important; border: 1px solid #cdcdcd; box-shadow: 0 0 5px #888; border-radius: 0 !important; padding: 0 20px !important; min-width: 200px; }
:host(site-header) .submenu a { color: #fff !important; font-size: 12px; font-weight: 400; text-transform: none; padding: 8px 10px !important; border-bottom: 1px solid #444; border-radius: 0 !important; }
:host(site-header) .submenu a:hover { background: #545454 !important; }
html.skin-sicsac site-header { position: relative !important; }

/* ===== Caja central de 1200 px: contenido blanco a la izquierda (900) y columna gris (300) ===== */
html.skin-sicsac main#contenido { max-width: 1200px; margin: 15px auto 30px; display: grid; grid-template-columns: minmax(0, 900px) 300px; align-items: stretch;
    background: linear-gradient(to right, #fff calc(100% - 300px), #e1e1e1 calc(100% - 300px)); }
html.skin-sicsac main#contenido > section { grid-column: 1; padding: 10px 10px 0 !important; min-height: 0; background: #fff !important; }
html.skin-sicsac main#contenido > section:last-of-type { padding-bottom: 20px !important; }
html.skin-sicsac main#contenido > section[id^="lado-"] { grid-column: 2; grid-row: 1 / span 60; background: #e1e1e1 !important; padding: 18px 10px !important; align-self: stretch; }
/* Portada: carrusel a todo el ancho de la ventana, los 4 accesos en una franja y luego contenido + columna */
html.skin-sicsac main#contenido > section#inicio { grid-column: 1 / -1; grid-row: 1; margin: -15px calc(50% - 50vw) 0; padding: 0 0 17px !important;
    background: url("/assets/img/skins/sicsac-sombra.png") repeat-x left bottom !important; }
html.skin-sicsac main#contenido > section#vitrina { grid-column: 1 / -1; grid-row: 2; margin: 0 calc(50% - 50vw) 15px; padding: 12px calc(50vw - 600px) 18px !important;
    background: rgba(255, 255, 255, .35) !important; }
html.skin-sicsac main#contenido > section#lado-servicios { grid-row: 3; padding-bottom: 10px !important; }
html.skin-sicsac main#contenido > section#lado-visitas { grid-row: 4 / span 60; padding-top: 0 !important; }
html.skin-sicsac main#contenido:has(> section#inicio) { background: linear-gradient(to right, #fff calc(100% - 300px), #e1e1e1 calc(100% - 300px)) 0 var(--top, 0) / 100% 100% no-repeat; }
@media (max-width: 900px) {
    html.skin-sicsac main#contenido { display: block; background: #fff; }
    html.skin-sicsac main#contenido > section#inicio, html.skin-sicsac main#contenido > section#vitrina { margin-inline: 0; padding-inline: 0 !important; }
}
:host(site-freeform) .wrap, :host(site-contador) .wrap, :host(site-slideshow) .wrap, :host(site-contact) .wrap { padding-inline: 0; max-width: none; }
:host(site-freeform) .free { padding: 0; }
:host(site-slideshow) .stage { border-radius: 0; }

/* Pie de cada foto del carrusel: franja negra translúcida abajo, texto claro centrado (como FlexSlider / besps) */
:host(site-slideshow) .panel { left: 0 !important; right: 0 !important; bottom: 0 !important; max-width: none !important; width: 100% !important; transform: none !important;
    background: rgba(0, 0, 0, .55) !important; border-radius: 0 !important; padding: 8px 10px !important; text-align: center; }
:host(site-slideshow) .panel .t { font: 400 13px/1.2 "Open Sans", sans-serif !important; color: #ddd !important; text-shadow: none !important; margin: 0 !important; }
/* Galerías de las páginas (besps): 400×300 centradas */
:host(site-slideshow[data-anchor^="besps-"]) .stage { max-width: 400px; margin: 10px auto; }
:host(site-slideshow[data-anchor^="besps-"]) .panel .t { font-size: 10px !important; text-transform: uppercase; color: #fff !important; }

/* ===== Textos y títulos ===== */
:host(site-freeform) .pb-text { font: 400 14px/1.4 "Open Sans", sans-serif; color: #2d2d2d; }
:host(site-freeform) .pb-text h2 { font: 700 24px/1.2 "Open Sans", sans-serif; text-transform: uppercase; color: #2d2d2d; margin: 0 0 15px; }
:host(site-freeform) .pb-text h3 { font: 700 18px/1.3 "Open Sans", sans-serif; color: #2d2d2d; margin: 0 0 10px; }
:host(site-freeform) .pb-text a { color: #46962b; text-decoration: none; }
:host(site-freeform) .pb-text ul { margin: 0 0 1em; padding-left: 1.4em; }
:host(site-freeform) .pb-text table { width: 100%; border-collapse: collapse; }
:host(site-freeform) .pb-text td { border: 1px solid #ededed; padding: 4px 6px; vertical-align: top; }
/* Título de cada página con el casco amarillo a la izquierda */
:host(site-freeform[data-anchor^="titulo-"]) .pb-text h2, :host(site-freeform[data-anchor="bienvenidos"]) .pb-row:first-child .pb-text h2 {
    background: url("/assets/img/skins/sicsac-casco.png") no-repeat left center; padding-left: 45px; min-height: 40px; display: flex; align-items: center; margin: 0; }
:host(site-freeform[data-anchor^="titulo-"]) .pb-text h2 { font-size: 22px; }
:host(site-freeform[data-anchor="bienvenidos"]) .pb-row:first-child .pb-text h2 { font-size: 18px; text-transform: none; }
:host(site-freeform[data-anchor="bienvenidos"]) .pb-text h3 { font-size: 15px; }
:host(site-freeform[data-anchor="bienvenidos"]) .pb-img img { border: 3px solid #2d2d2d; }
:host(site-freeform) .pb-img img { border-radius: 0; }
:host(site-freeform) .pb-img > a { width: 100%; }

/* ===== Accesos de la portada (vitrina): ícono + título y la imagen ===== */
:host(site-freeform[data-anchor="vitrina"]) .pb-text h3 { font: 700 15px/1.3 "Open Sans", sans-serif; margin: 0 0 5px; padding-left: 27px; background: no-repeat left center; }
:host(site-freeform[data-anchor="vitrina"]) .pb-col:nth-child(1) h3 { background-image: url("/assets/img/skins/sicsac-icon1.png"); }
:host(site-freeform[data-anchor="vitrina"]) .pb-col:nth-child(2) h3 { background-image: url("/assets/img/skins/sicsac-icon2.png"); }
:host(site-freeform[data-anchor="vitrina"]) .pb-col:nth-child(3) h3 { background-image: url("/assets/img/skins/sicsac-icon3.png"); }
:host(site-freeform[data-anchor="vitrina"]) .pb-col:nth-child(4) h3 { background-image: url("/assets/img/skins/sicsac-icon4.png"); }
:host(site-freeform[data-anchor="vitrina"]) .pb-img img { max-width: 280px; margin-inline: auto; display: block; }

/* ===== Columna derecha: «SERVICIOS» en barra negra y botones-imagen ===== */
:host(site-freeform[data-anchor^="lado-"]) .pb-text h3 { background: #090704; color: #fff; font: 700 18px/1.2 "Open Sans", sans-serif; text-transform: uppercase; text-align: center; margin: 0 0 12px; }
:host(site-freeform[data-anchor^="lado-"]) .pb-img { margin: 0 0 6px; }
:host(site-freeform[data-anchor^="lado-"]) .pb-img img { max-width: 270px; display: block; margin-inline: auto; }
:host(site-contador[data-anchor="lado-visitas"]) .ct-title { background: #090704; color: #fff; font: 700 18px/1.2 "Open Sans", sans-serif; text-transform: uppercase; text-align: center; }

/* ===== Contáctenos ===== */
:host(site-contact) h2 { font: 700 24px/1.2 "Open Sans", sans-serif; text-transform: uppercase; text-align: left; color: #2d2d2d; }
:host(site-contact) .btn { background: #fcb801; color: #fff; border-radius: 0; font-weight: 700; }

/* ===== Pie: franja negra con los datos (dentro de 1200 px) y «Desarrollado por» con la flecha arriba ===== */
:host(site-footer) { background: transparent !important; display: block; }
:host(site-footer) .cols-free { max-width: 1180px; margin: 0 auto; background: #000; color: #fff; text-align: center; padding: 14px 10px; font-size: 13px; }
:host(site-footer) .cols-free a { color: #fcb801; }
:host(site-footer) .cols-free strong { font-weight: 400; padding-left: 26px; background: url("/assets/img/skins/sicsac-wa.png") left center / 22px 22px no-repeat; }
:host(site-footer) .subfooter { background: transparent !important; color: #4a4a4a !important; font-size: 12px; text-align: center; padding: 90px 0 35px; position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
:host(site-footer) .subfooter { border-top: 0 !important; }
:host(site-footer) .subfooter .inner { flex-direction: column; justify-content: center; padding: 0; gap: 4px; }
:host(site-footer) .subfooter p { margin: 0; }
:host(site-footer) .subfooter::before { content: ""; position: absolute; left: 50%; top: 30px; width: 36px; height: 36px; margin-left: -18px; background: url("/assets/img/skins/sicsac-arriba.png"); }

/* Destructores de fluorescentes: el pie de la foto centrado bajo la imagen */
:host(site-freeform[data-anchor="pg-mir-fluorescentes"]) .pb-row:last-child .pb-text { text-align: center; }

/* Galerías (besps): la foto COMPLETA (sin recortar su texto de abajo), sin pie, y los puntos debajo de la foto */
:host(site-slideshow[data-anchor^="besps-"]) .stage { background: #fff; overflow: visible; margin-bottom: 34px; }
:host(site-slideshow[data-anchor^="besps-"]) img.bg { object-fit: contain !important; }
:host(site-slideshow[data-anchor^="besps-"]) .dots { bottom: -28px !important; }
:host(site-slideshow[data-anchor^="besps-"]) .dots button { background: #bbb !important; }
:host(site-slideshow[data-anchor^="besps-"]) .dots button[aria-current="true"] { background: #2d2d2d !important; }

/* Pie: «Desarrollado por» y «Libro de Reclamaciones» legibles sobre el fondo gris */
:host(site-footer) .subfooter { color: #4a4a4a !important; font-size: 13px; }
:host(site-footer) .subfooter a { color: #2d2d2d !important; font-weight: 600; }

/* Contáctenos: cada dato con su ícono blanco en un círculo amarillo y la etiqueta en negrita encima (como el original) */
:host(site-contact) .info li { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
:host(site-contact) .info li > svg { flex: 0 0 48px; width: 48px; height: 48px; padding: 12px; box-sizing: border-box; border-radius: 50%;
    background: #fcb801; color: #fff; stroke: #fff; }
:host(site-contact) .info li > span { font-size: 15px; color: #2d2d2d; line-height: 1.4; }
:host(site-contact) .info li > span::before { display: block; font-weight: 700; color: #2d2d2d; }
:host(site-contact) .info li:nth-child(1) > span::before { content: "Dirección"; }
:host(site-contact) .info li:nth-child(2) > span::before { content: "Celular"; }
:host(site-contact) .info li:nth-child(3) > span::before { content: "Correo"; }
:host(site-contact) .info li a { color: #2d2d2d; text-decoration: none; }
