/**
 * Estilo visual «Industrial · Acero» — template del rubro INDUSTRIAL / distribuidores (conexiones, mangueras,
 * bridas, válvulas, ferretería industrial). Hecho para Remaflex S.A.C. Lenguaje de planta industrial:
 * gris carbón + celeste acero + amarillo de seguridad, títulos condensados en mayúsculas (Barlow Condensed),
 * esquinas rectas con chaflán, trama de plano técnico en la portada y franjas de seguridad como acento.
 * Movimiento leve en fotos e íconos (se apaga con «reducir movimiento»).
 * Colores base del tema: --site-primary #0096d6 · --site-accent #f5b800 · texto #1d1f22.
 */
html.skin-industrial-acero body { background: #f3f5f7; }

:host { --ia-steel: #1d1f22; --ia-steel-2: #2a2e33; --ia-cyan: var(--site-primary, #0096d6); --ia-cyan-2: #00b0f0;
    --ia-yellow: var(--site-accent, #f5b800); --ia-bg: #f3f5f7; --ia-line: #dde2e8; --ia-soft: #5b636d;
    --ia-chamfer: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
    --ia-chamfer-sm: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
    --ia-hazard: repeating-linear-gradient(135deg, var(--ia-yellow) 0 12px, var(--ia-steel) 12px 24px);
    --ia-shadow: 0 22px 44px -30px rgba(15, 25, 40, .55); }
:host h1, :host h2, :host h3 { font-family: var(--site-font-title, "Barlow Condensed", sans-serif); }
:host h1, :host h2 { font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; }
:host .hl { color: var(--ia-cyan); }
:host .btn { border-radius: 3px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem;
    transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
:host .btn-primary { background: var(--ia-cyan); color: #fff; border: 0; box-shadow: 0 12px 22px -14px rgba(0, 150, 214, .9); }
:host .btn-primary:hover { background: #007fb8; transform: translateY(-2px); }
:host .btn-ghost { background: transparent; border: 2px solid currentColor; }

@keyframes ia-zoom { 0%, 100% { scale: 1; } 50% { scale: 1.04; } }
@keyframes ia-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
/* Franjas de seguridad en movimiento, como una cinta transportadora (un mosaico = 67.88 px, sin costura). */
@keyframes ia-slide { from { background-position: 0 0; } to { background-position: 67.88px 0; } }
@keyframes ia-slide-y { from { background-position: 0 0; } to { background-position: 0 67.88px; } }

/* Barra de seguridad bajo los títulos de sección (h2 de primer nivel). */
:host(site-iconos) .stage h2::after, :host(site-carta) .head h2::after, :host(site-about) h2::after, :host(site-services) h2::after,
:host(site-contact) h2::after {
    content: ""; display: block; width: 72px; height: 6px; margin-top: .7rem; background: var(--ia-hazard); }
:host(site-carta) .head h2::after, :host(site-iconos) .stage h2::after, :host(site-contact) h2::after { margin-inline: auto; }

/* ── Cabecera: menú condensado; el último ítem («Cotizar») es un botón amarillo ── */
:host(site-header) ul.menu > .item > a { font-family: var(--site-font-title, "Barlow Condensed", sans-serif); font-weight: 600;
    font-size: 1.08rem; letter-spacing: .05em; }
:host(site-header) ul.menu > .item:last-child > a { padding: .55rem 1.3rem; border-radius: 3px; color: var(--ia-steel) !important;
    background: var(--ia-yellow); border-bottom: 0 !important; font-weight: 700; clip-path: var(--ia-chamfer-sm); }
:host(site-header) ul.menu > .item:last-child > a:hover { background: #ffc81f; }

/* Logo flotando: empieza cuando el logo animado termina de armarse (~3 s) y se mece muy levemente.
   Usa la propiedad «translate»/«rotate» sueltas para no pisar ningún transform del encabezado. */
@keyframes ia-logo-float { 0%, 100% { translate: 0 0; rotate: 0deg; } 30% { translate: 0 -4px; rotate: -.6deg; } 65% { translate: 0 -2px; rotate: .4deg; } }
:host(site-header) .brand img.lg-main, :host(site-header) .brand img.lg-light {
    animation: ia-logo-float 5s ease-in-out 3.1s infinite; transform-origin: 30% 60%; will-change: translate; }
/* Menú flotando: cada opción sube y baja unos píxeles, desfasadas entre sí (ola suave). */
@keyframes ia-menu-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
:host(site-header) ul.menu > .item > a { display: inline-block; animation: ia-menu-float 3.4s ease-in-out infinite; }
:host(site-header) ul.menu > .item:nth-child(2) > a { animation-delay: -.45s; }
:host(site-header) ul.menu > .item:nth-child(3) > a { animation-delay: -.9s; }
:host(site-header) ul.menu > .item:nth-child(4) > a { animation-delay: -1.35s; }
:host(site-header) ul.menu > .item:nth-child(5) > a { animation-delay: -1.8s; }
:host(site-header) ul.menu > .item:nth-child(6) > a { animation-delay: -2.25s; }
:host(site-header) ul.menu > .item:nth-child(7) > a { animation-delay: -2.7s; }
:host(site-header) ul.menu > .item > a:hover { animation-play-state: paused; }

/* ── Portada: carbón con trama de plano técnico, foto con chaflán y marco celeste ── */
:host(site-hero) { position: relative; overflow: hidden; color: #fff;
    background:
        linear-gradient(90deg, rgba(0, 176, 240, .07) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(0deg, rgba(0, 176, 240, .07) 1px, transparent 1px) 0 0 / 44px 44px,
        radial-gradient(60rem 30rem at 85% 30%, rgba(0, 150, 214, .25), transparent 60%),
        linear-gradient(160deg, #23272c 0%, #17191c 100%); }
:host(site-hero)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--ia-hazard);
    background-size: 67.88px 100%; opacity: .95; animation: ia-slide 1.6s linear infinite; }
:host(site-hero) .hero { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
:host(site-hero) .eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--ia-cyan-2); font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
:host(site-hero) .eyebrow::before { content: ""; width: 34px; height: 4px; background: var(--ia-yellow); }
:host(site-hero) h1 { color: #fff; font-size: calc(clamp(2.8rem, 5.8vw, 5rem) * var(--sec-title-scale, 1)); line-height: .98; }
:host(site-hero) h1 .hl { color: var(--ia-cyan-2); }
:host(site-hero) .sub { color: #c4cad2; font-size: 1.08rem; line-height: 1.7; max-width: 34rem; }
:host(site-hero) .actions .btn { padding: 1rem 1.6rem; }
:host(site-hero) .actions .btn-primary { background: var(--ia-yellow); color: var(--ia-steel); box-shadow: 0 14px 26px -16px rgba(245, 184, 0, .9);
    clip-path: var(--ia-chamfer-sm); }
:host(site-hero) .actions .btn-primary:hover { background: #ffc81f; }
:host(site-hero) .actions .btn:not(.btn-primary) { color: #fff; border: 2px solid rgba(255, 255, 255, .35); background: transparent; }
:host(site-hero) .actions .btn:not(.btn-primary):hover { border-color: var(--ia-cyan-2); color: var(--ia-cyan-2); }
:host(site-hero) .hstats { display: grid; grid-template-columns: repeat(3, max-content); gap: 0; margin-top: 2.2rem;
    border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 1.3rem; }
:host(site-hero) .hstats li { padding: 0 1.5rem; border-left: 1px solid rgba(255, 255, 255, .14); color: #aeb5be; }
:host(site-hero) .hstats li:first-child { border-left: 0; padding-left: 0; }
:host(site-hero) .hstats .hs-ico { background: rgba(0, 176, 240, .14); color: var(--ia-cyan-2); border-radius: 3px; animation: ia-bob 5s ease-in-out infinite; }
:host(site-hero) .hstats li:nth-child(2) .hs-ico { animation-delay: -1.6s; }
:host(site-hero) .hstats li:nth-child(3) .hs-ico { animation-delay: -3.2s; }
:host(site-hero) .hstats b { color: #fff; font-family: var(--site-font-title, "Barlow Condensed", sans-serif); font-size: 1.45rem; letter-spacing: .02em; }
:host(site-hero) .hero-fig { position: relative; }
:host(site-hero) .hero-fig::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--ia-cyan-2);
    clip-path: var(--ia-chamfer); z-index: 0; }
:host(site-hero) .hero-fig img { position: relative; z-index: 1; border-radius: 0; clip-path: var(--ia-chamfer);
    box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9); animation: ia-zoom 14s ease-in-out infinite; }

/* ── Líneas de producto: fotos de producto en losetas con rótulo carbón ───── */
:host(site-iconos[data-anchor="lineas"]) .stage { background: #fff; }
:host(site-iconos) .stage h2 { color: var(--ia-steel); font-size: calc(clamp(2.1rem, 4vw, 3rem) * var(--sec-title-scale, 1)); }
:host(site-iconos) .fcard { border-radius: 0; clip-path: var(--ia-chamfer); background: #c9ccd0; box-shadow: none; }
:host(site-iconos) .fcard img { animation: ia-zoom 16s ease-in-out infinite; }
:host(site-iconos) .fcard:nth-child(2n) img { animation-delay: -5s; }
:host(site-iconos) .fcard:nth-child(3n) img { animation-delay: -10s; }
:host(site-iconos) .fcard { box-shadow: inset 0 -6px 0 var(--ia-yellow); }
:host(site-iconos) .fcard .ff { background: linear-gradient(0deg, rgba(23, 25, 28, .94) 0%, rgba(23, 25, 28, .78) 55%, rgba(23, 25, 28, 0) 100%);
    top: auto; padding-top: 3.5rem; }
:host(site-iconos) .fcard .ft { font-family: var(--site-font-title, "Barlow Condensed", sans-serif); font-weight: 800; text-transform: uppercase;
    font-size: 1.7rem; letter-spacing: .02em; color: #fff; }
:host(site-iconos) .fcard .fg { color: var(--ia-cyan-2); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
:host(site-iconos) .fcard .fb { background: rgba(0, 120, 175, .94); }
:host(site-iconos) .fcard .fbtn { background: var(--ia-yellow); color: var(--ia-steel); border-radius: 3px; text-transform: uppercase; font-weight: 800;
    letter-spacing: .05em; clip-path: var(--ia-chamfer-sm); }

/* ── Sectores: franja carbón con íconos celestes en marco hexagonal ──────── */
:host(site-iconos[data-anchor="sectores"]) .stage { background:
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(0deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px, var(--ia-steel) !important; }
:host(site-iconos[data-anchor="sectores"]) .stage h2 { color: #fff; }
:host(site-iconos[data-anchor="sectores"]) .item { background: transparent; }
:host(site-iconos[data-anchor="sectores"]) .ico { width: 4.4rem; height: 4.4rem; display: inline-grid; place-items: center; color: var(--ia-cyan-2);
    background: rgba(0, 176, 240, .1); clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); animation: ia-bob 5s ease-in-out infinite; }
:host(site-iconos[data-anchor="sectores"]) .item:nth-child(2n) .ico { animation-delay: -1.7s; }
:host(site-iconos[data-anchor="sectores"]) .item:nth-child(3n) .ico { animation-delay: -3.4s; }
:host(site-iconos[data-anchor="sectores"]) .it-title { color: #fff; font-family: var(--site-font-title, "Barlow Condensed", sans-serif); text-transform: uppercase;
    font-weight: 700; font-size: 1.2rem; letter-spacing: .06em; }

/* ── Productos destacados: pestañas rectas y fichas técnicas ─────────────── */
:host(site-carta) .head h2 { color: var(--ia-steel); font-size: calc(clamp(2.1rem, 4vw, 3rem) * var(--sec-title-scale, 1)); }
:host(site-carta) .tabs .tab { border-radius: 3px; text-transform: uppercase; font-family: var(--site-font-title, "Barlow Condensed", sans-serif);
    font-weight: 700; letter-spacing: .05em; font-size: 1rem; border-color: var(--ia-line); background: #fff; }
:host(site-carta) .tabs .tab[aria-selected="true"], :host(site-carta) .tabs .tab[aria-pressed="true"] { background: var(--ia-steel); border-color: var(--ia-steel);
    color: #fff; box-shadow: inset 0 -4px 0 var(--ia-yellow); }
:host(site-carta) .dish { border-radius: 0; border-color: var(--ia-line); clip-path: var(--ia-chamfer); transition: box-shadow .2s ease, transform .2s ease; }
:host(site-carta) .dish:hover { box-shadow: var(--ia-shadow); transform: translateY(-3px); }
:host(site-carta) .dish .ph { border-radius: 0; background: #eef0f2; }
:host(site-carta) .dish .ph img { mix-blend-mode: multiply; }
:host(site-carta) .dish h3 { font-weight: 700; font-size: 1.15rem; line-height: 1.15; color: var(--ia-steel); }
:host(site-carta) .dish .badge { border-radius: 2px; background: var(--ia-cyan); color: #fff; text-transform: uppercase; letter-spacing: .06em; }
:host(site-carta) .dish .go { border-radius: 3px; background: var(--ia-yellow); color: var(--ia-steel); text-transform: uppercase; font-weight: 800;
    letter-spacing: .05em; }
:host(site-carta) .dish .go:hover { background: var(--ia-steel); color: #fff; }
:host(site-carta) .more .btn, :host(site-carta) .more a { border-radius: 3px; text-transform: uppercase; letter-spacing: .05em; }

/* ── Nosotros: foto con chaflán y bloque celeste desplazado; checks amarillos ── */
:host(site-about) { overflow-x: clip; }
:host(site-about) h2 { color: var(--ia-steel); font-size: calc(clamp(2.1rem, 4vw, 3rem) * var(--sec-title-scale, 1)); }
:host(site-about) .media-fig { position: relative; }
:host(site-about) .media-fig::before { content: ""; position: absolute; width: 55%; height: 55%; left: -18px; bottom: -18px; background: var(--ia-cyan); z-index: 0; }
:host(site-about) .media-fig img { position: relative; z-index: 1; border-radius: 0; clip-path: var(--ia-chamfer); animation: ia-zoom 14s ease-in-out infinite; }
:host(site-about) .body p { color: var(--sec-text, var(--ia-soft)); }

/* Distribución «Quiénes somos»: título + primer párrafo a la izquierda y foto a la derecha; debajo, los
   párrafos siguientes en 2 columnas a todo el ancho; al final los checks en una fila y el botón.
   Los contenedores intermedios pasan a «display: contents» para que cada pieza sea celda de la grilla. */
:host(site-about) .media-layout { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 4.5rem);
    row-gap: 0; align-items: start;
    grid-template-areas: "titulo foto" "intro foto" "p2 p3" "checks checks" "cta cta"; }
:host(site-about) .media-body, :host(site-about) .text-shift, :host(site-about) .about, :host(site-about) .body { display: contents; }
:host(site-about) .media-layout > .media-fig { grid-area: foto; align-self: center; width: 100%; max-width: none; margin: 0; aspect-ratio: 4 / 3; }
/* Con proporción fija la foto ocupa su lugar antes de cargar: sin esto, en celular el contenedor medía 0 px
   (imagen diferida + recorte de la animación de entrada) y el navegador nunca la pedía. También evita saltos. */
:host(site-about) .media-layout > .media-fig img { width: 100%; height: 100%; object-fit: cover; }
:host(site-about) .media-layout h2 { grid-area: titulo; align-self: end; margin-bottom: 1.2rem; }
:host(site-about) .body > p:nth-of-type(1) { grid-area: intro; font-size: 1.12rem; color: var(--ia-steel); }
:host(site-about) .body > p:nth-of-type(2) { grid-area: p2; margin-top: 2.4rem; }
:host(site-about) .body > p:nth-of-type(3) { grid-area: p3; margin-top: 2.4rem; padding-left: clamp(1rem, 2vw, 1.8rem); border-left: 3px solid var(--ia-cyan); }
:host(site-about) .body > p:nth-of-type(2) { padding-right: clamp(0rem, 1vw, .6rem); }
:host(site-about) .checks { grid-area: checks; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.6rem; margin: 2rem 0 0;
    padding: 1.4rem 0 0; border-top: 1px solid var(--ia-line); list-style: none; }
:host(site-about) .checks li { display: flex; align-items: center; gap: .7rem; margin: 0; font-weight: 600; color: var(--ia-steel); line-height: 1.35; }
:host(site-about) .about-cta { grid-area: cta; margin-top: 1.8rem; }
/* El bloque celeste desplazado acompaña a la foto, ahora a la derecha. */
:host(site-about) .media-fig::before { left: auto; right: -18px; }
:host(site-about) .checks svg { background: var(--ia-yellow); color: var(--ia-steel); border-radius: 2px; }

/* ── Tarjetas de servicios (Misión/Visión y alquiler de maquinaria) ───────── */
:host(site-services) h2 { color: var(--sec-title-color, var(--ia-steel)); font-size: calc(clamp(2.1rem, 4vw, 3rem) * var(--sec-title-scale, 1)); }
:host(site-services) .card { border-radius: 0; border: 1px solid var(--ia-line); border-top: 5px solid var(--ia-cyan); clip-path: var(--ia-chamfer);
    background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
:host(site-services) .card:hover { transform: translateY(-3px); box-shadow: var(--ia-shadow); }
:host(site-services) .card .ico { border-radius: 2px; background: var(--ia-steel); color: var(--ia-yellow); animation: ia-bob 6s ease-in-out infinite; }
:host(site-services) .card h3 { text-transform: uppercase; font-weight: 800; font-size: 1.45rem; letter-spacing: .02em; color: var(--ia-steel); }
:host(site-services) .card .btn { background: var(--ia-steel); color: #fff; }
:host(site-services) .card .btn:hover { background: var(--ia-cyan); }
:host(site-services[data-anchor="servicios"]) { background: transparent; }
:host([data-anchor="servicios"]) .intro { color: var(--sec-text, var(--ia-soft)); }

/* ── Banda «Cotiza»: carbón con franja de seguridad y foto en diagonal ───── */
:host(site-cta) { overflow-x: clip; }
:host(site-cta) .box { position: relative; border-radius: 0; overflow: hidden; color: #fff; clip-path: var(--ia-chamfer);
    background: linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(135deg, #23272c, #17191c); }
:host(site-cta) .box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: var(--ia-hazard); background-size: 100% 67.88px;
    animation: ia-slide-y 1.6s linear infinite; }
:host(site-cta) h2 { color: #fff; font-size: calc(clamp(2rem, 4vw, 3rem) * var(--sec-title-scale, 1)); }
:host(site-cta) .hl { color: var(--ia-yellow); }
:host(site-cta) p { color: #c4cad2; }
:host(site-cta) .box .btn-primary { background: var(--ia-yellow); color: var(--ia-steel); box-shadow: none; clip-path: var(--ia-chamfer-sm); }
:host(site-cta) .box.with-img .cta-img { align-self: stretch; object-fit: cover; max-height: none; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
    animation: ia-zoom 14s ease-in-out infinite; }

/* ── Contacto ────────────────────────────────────────────────────────────── */
:host(site-contact) h2 { color: var(--ia-steel); font-size: calc(clamp(2.1rem, 4vw, 3rem) * var(--sec-title-scale, 1)); }
:host(site-contact) form { border-radius: 0; clip-path: var(--ia-chamfer); border-top: 5px solid var(--ia-cyan); box-shadow: var(--ia-shadow); }
:host(site-contact) input, :host(site-contact) textarea { border-radius: 2px; }
:host(site-contact) form .btn-primary { background: var(--ia-steel); }
:host(site-contact) form .btn-primary:hover { background: var(--ia-cyan); }
:host(site-contact) .info a { color: var(--ia-cyan); }

/* ── Pie: carbón con franja de seguridad arriba ──────────────────────────── */
:host(site-footer) { position: relative; padding-top: 8px; }
:host(site-footer)::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; z-index: 2; background: var(--ia-hazard);
    background-size: 67.88px 100%; animation: ia-slide 1.6s linear infinite; }
:host(site-footer) .col-title { font-family: var(--site-font-title, "Barlow Condensed", sans-serif); text-transform: uppercase; letter-spacing: .08em;
    font-size: 1.15rem; color: var(--ia-yellow); }

/* ── Catálogo y ficha de producto ────────────────────────────────────────── */
:host(site-catalogo) .card, :host(site-catalogo) .pcard { border-radius: 0; clip-path: var(--ia-chamfer); }
:host(site-catalogo) h1, :host(site-product-page) h1 { text-transform: uppercase; }
:host(site-product-page) .specs th, :host(site-product-page) .specs td { border-color: var(--ia-line); }

/* ════════════ MOVIMIENTO Y DETALLE (lenguaje de la web de Netkipu, versión industrial) ════════════ */
@keyframes ia-shine { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@keyframes ia-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes ia-drift { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 10px -18px; rotate: 14deg; } }
@keyframes ia-prod-in { from { opacity: 0; translate: 80px 0; scale: .92; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes ia-rise { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
@keyframes ia-wipe { from { clip-path: polygon(0 0, 0 0, 0 0, 0 100%, 0 100%); } to { clip-path: var(--ia-chamfer); } }
@keyframes ia-draw { from { width: 0; } to { width: 72px; } }
@keyframes ia-sweep { from { translate: -120% 0; } to { translate: 260% 0; } }
@keyframes ia-ring { 0% { box-shadow: 0 0 0 0 rgba(0, 176, 240, .55); } 100% { box-shadow: 0 0 0 16px rgba(0, 176, 240, 0); } }

/* Palabra resaltada con un brillo que recorre el texto (celeste; amarillo sobre fondos oscuros). */
:host h2 .hl, :host .panel .t .hl { background: linear-gradient(90deg, var(--ia-cyan) 0%, #7fdcff 25%, var(--ia-cyan) 50%, #7fdcff 75%, var(--ia-cyan) 100%);
    background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: ia-shine 5s linear infinite; }
:host(site-cta) h2 .hl, :host .panel .t .hl { background-image: linear-gradient(90deg, #f5b800 0%, #ffe27a 25%, #f5b800 50%, #ffe27a 75%, #f5b800 100%); }

/* Etiqueta tipo píldora sobre cada título de sección (como «RUBROS» en la web de Netkipu). */
:host([data-anchor="lineas"]) .stage h2::before, :host([data-anchor="sectores"]) .stage h2::before, :host(site-carta) .head h2::before,
:host(site-about) h2::before, :host(site-services) h2::before, :host(site-contact) h2::before {
    display: table; margin: 0 0 .9rem; padding: .38rem .85rem .32rem; font-family: "Inter", sans-serif; font-size: .72rem; font-weight: 700;
    letter-spacing: .22em; line-height: 1; text-transform: uppercase; color: var(--ia-cyan); background: rgba(0, 150, 214, .09);
    border: 1px solid rgba(0, 150, 214, .28); border-left: 4px solid var(--ia-yellow); }
:host([data-anchor="lineas"]) .stage h2::before { content: "Catálogo"; margin-inline: auto; }
:host([data-anchor="sectores"]) .stage h2::before { content: "Experiencia"; margin-inline: auto; color: #7fdcff; background: rgba(0, 176, 240, .12); }
:host(site-carta) .head h2::before { content: "Lo más cotizado"; margin-inline: auto; }
:host(site-about) h2::before { content: "Quiénes somos"; }
:host([data-anchor="mision"]) h2::before { content: "Nuestro propósito"; }
:host([data-anchor="servicios"]) h2::before { content: "Servicios"; }
:host(site-contact) h2::before { content: "Comas · Lima"; margin-inline: auto; }

/* Hexágonos decorativos que flotan (contorno celeste y tuerca amarilla), como las piezas de la web de Netkipu. */
:host([data-anchor="lineas"]), :host(site-carta), :host(site-contact) { position: relative; }
:host([data-anchor="lineas"])::before, :host(site-carta)::before, :host(site-contact)::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none; width: 120px; aspect-ratio: 1; top: 3.5rem; left: 4%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,4 90,27 90,73 50,96 10,73 10,27' fill='none' stroke='%2300b0f0' stroke-width='3' opacity='.55'/%3E%3C/svg%3E") center / contain no-repeat;
    animation: ia-drift 11s ease-in-out infinite; }
:host([data-anchor="lineas"])::after, :host(site-carta)::after, :host(site-contact)::after {
    content: ""; position: absolute; z-index: 0; pointer-events: none; width: 54px; aspect-ratio: 1; bottom: 3rem; right: 5%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,4 90,27 90,73 50,96 10,73 10,27' fill='%23f5b800' opacity='.85'/%3E%3Ccircle cx='50' cy='50' r='16' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
    animation: ia-drift 8s ease-in-out infinite reverse; }
:host(site-carta)::before { left: auto; right: 5%; top: 2.5rem; }
:host(site-carta)::after { right: auto; left: 3%; bottom: 6rem; }

/* Barra de seguridad que se «dibuja» bajo los títulos. */
:host(site-iconos) .stage h2::after, :host(site-carta) .head h2::after, :host(site-about) h2::after, :host(site-services) h2::after,
:host(site-contact) h2::after { background-size: 33.94px 100%; animation: ia-draw 1.2s cubic-bezier(.2, .8, .2, 1) .2s both, ia-slide-t 1.2s linear infinite; }
@keyframes ia-slide-t { from { background-position: 0 0; } to { background-position: 33.94px 0; } }

/* Botones: destello que cruza al pasar el mouse. */
:host .btn, :host(site-carta) .dish .go, :host .panel .slide-cta, :host(site-services) .card .btn { position: relative; overflow: hidden; isolation: isolate; }
:host .btn::after, :host(site-carta) .dish .go::after, :host .panel .slide-cta::after, :host(site-services) .card .btn::after {
    content: ""; position: absolute; inset: 0; width: 40%; z-index: -1; translate: -120% 0; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); }
:host .btn:hover::after, :host(site-carta) .dish .go:hover::after, :host .panel .slide-cta:hover::after, :host(site-services) .card .btn:hover::after { animation: ia-sweep .8s ease; }

/* Íconos: los de servicios laten con un anillo; al pasar el mouse giran. */
:host(site-services) .card .ico { animation: ia-ring 2.4s ease-out infinite; }
:host(site-services) .card:nth-child(2) .ico { animation-delay: -.8s; }
:host(site-services) .card:nth-child(3) .ico { animation-delay: -1.6s; }
:host([data-anchor="sectores"]) .ico svg, :host(site-services) .card .ico svg { transition: rotate .6s ease; }
:host(site-services) .card:hover .ico svg, :host([data-anchor="sectores"]) .item:hover .ico svg { rotate: 360deg; }

/* Fotos de producto: zoom suave al pasar el mouse. */
:host(site-carta) .dish .ph img { transition: scale .6s cubic-bezier(.2, .8, .2, 1); }
:host(site-carta) .dish:hover .ph img { scale: 1.08; }
:host(site-carta) .dish:hover { border-color: rgba(0, 150, 214, .55); }

/* ── Carrusel de inicio: títulos condensados, piezas que entran y flotan, controles industriales ── */
:host(site-slideshow) { position: relative; }
:host(site-slideshow)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; z-index: 5; background: var(--ia-hazard);
    background-size: 67.88px 100%; animation: ia-slide 1.6s linear infinite; }
:host(site-slideshow) .panel .t { font-family: var(--site-font-title, "Barlow Condensed", sans-serif); text-transform: uppercase; font-weight: 700;
    letter-spacing: .01em; line-height: .96; text-shadow: 0 8px 30px rgba(0, 0, 0, .45); }
:host(site-slideshow) .panel .st { display: inline-flex; align-items: center; gap: .7rem; font-family: "Inter", sans-serif; font-weight: 700;
    text-transform: uppercase; letter-spacing: .16em; font-size: calc(clamp(.78rem, 1.05vw, .95rem) * var(--st-scale, 1)); margin-top: 1rem; }
:host(site-slideshow) .panel .st::before { content: ""; width: 34px; height: 4px; background: var(--ia-yellow); flex: none; }
:host(site-slideshow) .panel .d { font-size: clamp(.95rem, 1.15vw, 1.08rem); line-height: 1.65; max-width: 34rem; }
:host(site-slideshow) .panel .slide-cta { background: var(--ia-yellow); color: var(--ia-steel); border-radius: 3px; clip-path: var(--ia-chamfer-sm);
    text-transform: uppercase; letter-spacing: .06em; font-weight: 800; padding: .95rem 1.6rem; box-shadow: none; }
:host(site-slideshow) .panel .slide-cta:hover { background: #ffc81f; }
:host(site-slideshow) .slide.active .product { animation: ia-prod-in 1s cubic-bezier(.2, .8, .2, 1) .25s both, ia-float 7s ease-in-out 1.25s infinite;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
:host(site-slideshow) .nav { border-radius: 2px; background: rgba(23, 25, 28, .65); color: #fff; clip-path: var(--ia-chamfer-sm);
    border: 1px solid rgba(255, 255, 255, .25); }
:host(site-slideshow) .nav:hover { background: var(--ia-yellow); color: var(--ia-steel); }
:host(site-slideshow) .dots { bottom: 26px; }
:host(site-slideshow) .dot { border-radius: 1px; width: 28px; height: 5px; background: rgba(255, 255, 255, .45); }
:host(site-slideshow) .dot[aria-current="true"], :host(site-slideshow) .dot.active { background: var(--ia-yellow); width: 48px; }

/* ── Franja de cifras: números grandes condensados, íconos en hexágono y separadores ── */
:host(site-cifras) .stage { background:
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(0deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px, var(--ia-steel); }
:host(site-cifras) .stat { position: relative; }
:host(site-cifras) .stat + .stat::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(255, 255, 255, .14); }
:host(site-cifras) .ico { display: inline-grid; place-items: center; width: 4rem; height: 4rem; color: var(--ia-cyan-2);
    background: rgba(0, 176, 240, .1); clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); animation: ia-bob 5s ease-in-out infinite; }
:host(site-cifras) .stat:nth-child(2) .ico { animation-delay: -1.2s; }
:host(site-cifras) .stat:nth-child(3) .ico { animation-delay: -2.4s; }
:host(site-cifras) .stat:nth-child(4) .ico { animation-delay: -3.6s; }
:host(site-cifras) .value { font-family: var(--site-font-title, "Barlow Condensed", sans-serif); font-weight: 700; font-size: clamp(2.6rem, 4.6vw, 3.8rem);
    line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
:host(site-cifras) .stat:nth-child(odd) .value { color: var(--ia-yellow) !important; }
:host(site-cifras) .label { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; }

/* ── Entradas al hacer scroll (navegadores con animaciones ligadas al scroll; en los demás se ve igual, quieto) ── */
@supports (animation-timeline: view()) {
    :host(site-carta) .dish, :host(site-services) .card, :host(site-iconos) .fcard, :host([data-anchor="sectores"]) .item, :host(site-cifras) .stat {
        animation: ia-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    :host(site-about) .media-fig { animation: ia-wipe linear both; animation-timeline: view(); animation-range: entry 5% cover 40%; }
    :host(site-about) .body p, :host(site-about) .checks li { animation: ia-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
}

/* ── Tipografía general: cuerpo más legible ── */
:host p { line-height: 1.75; }
:host(site-about) .body p { font-size: 1.04rem; }

@media (max-width: 900px) {
    /* «Quiénes somos» en tableta/celular: una columna (título, primer párrafo, foto, resto) y checks de a 2. */
    :host(site-about) .media-layout { grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "titulo" "intro" "foto" "p2" "p3" "checks" "cta"; }
    :host(site-about) .media-layout > .media-fig { margin-top: 1.6rem; }
    :host(site-about) .body > p:nth-of-type(2) { margin-top: 2rem; }
    :host(site-about) .body > p:nth-of-type(3) { margin-top: 1rem; }
    :host(site-about) .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    /* Carrusel en celular: el texto usa todo el ancho (el 46 % es para escritorio) y el subtítulo no se parte por palabra. */
    :host(site-slideshow) .panel { width: auto !important; max-width: calc(100% - 2.6rem) !important; }
    :host(site-slideshow) .panel .st { display: block; letter-spacing: .1em; }
    :host(site-slideshow) .panel .st::before { display: inline-block; vertical-align: middle; margin-right: .5rem; width: 22px; }
    /* Los hexágonos decorativos se ocultan: en pantallas angostas tapan los títulos. */
    :host([data-anchor="lineas"])::before, :host(site-carta)::before, :host([data-anchor="mision"])::before, :host(site-contact)::before,
    :host([data-anchor="lineas"])::after, :host(site-carta)::after, :host([data-anchor="mision"])::after, :host(site-contact)::after { display: none; }
    :host(site-hero) .hero-fig::before { inset: 12px -10px -12px 10px; }
    :host(site-hero) .hstats { grid-template-columns: 1fr; gap: .8rem; }
    :host(site-hero) .hstats li, :host(site-hero) .hstats li:first-child { padding: 0; border-left: 0; }
    :host(site-iconos) .fcard .ft { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
    :host(site-header) .brand img.lg-main, :host(site-header) .brand img.lg-light, :host(site-header) ul.menu > .item > a,
    :host::before, :host::after, :host .box::before, :host h2 .hl, :host .panel .t .hl, :host(site-slideshow) .slide.active .product, :host(site-cifras) .ico,
    :host(site-services) .card .ico, :host(site-iconos) .stage h2::after, :host(site-carta) .head h2::after, :host(site-about) h2::after,
    :host(site-services) h2::after, :host(site-contact) h2::after, :host(site-carta) .dish, :host(site-services) .card, :host(site-iconos) .fcard,
    :host([data-anchor="sectores"]) .item, :host(site-cifras) .stat, :host(site-about) .media-fig, :host(site-about) .body p,
    :host(site-about) .checks li { animation: none !important; }
    :host(site-hero) .hero-fig img, :host(site-hero) .hstats .hs-ico, :host(site-iconos) .fcard img, :host(site-iconos) .ico,
    :host(site-about) .media-fig img, :host(site-services) .card .ico, :host(site-cta) .box.with-img .cta-img { animation: none; }
}

/* Misión y visión sobre la red de partículas: más aire arriba y abajo para que la animación se luzca fuera de las tarjetas. */
:host([data-anchor="mision"]) .wrap { padding-block: clamp(1.2rem, 3.5vw, 3rem); }
/* Misión y visión SIN recuadros: texto blanco directamente sobre la red de partículas, con un filete celeste
   a la izquierda de cada bloque para ordenar la lectura. */
:host([data-anchor="mision"]) .card { background: transparent; border: 0; border-left: 3px solid var(--ia-cyan-2); clip-path: none;
    box-shadow: none !important; padding: .4rem 0 .4rem clamp(1.1rem, 2vw, 1.6rem); }
:host([data-anchor="mision"]) .card:hover { transform: none; }
:host([data-anchor="mision"]) .card h3 { color: #ffffff; }
:host([data-anchor="mision"]) .card p, :host([data-anchor="mision"]) .card .tx { color: #ffffff; }
/* Íconos de misión y visión: sin recuadro de tarjeta, el cuadrito carbón se perdía en el fondo → celeste translúcido. */
:host([data-anchor="mision"]) .card .ico { background: rgba(0, 176, 240, .16); border: 1px solid rgba(0, 176, 240, .55); color: var(--ia-yellow); }
/* Texto de misión y visión en Raleway (fina y alargada, elegida en la apariencia de la sección). */
:host([data-anchor="mision"]) .card p, :host([data-anchor="mision"]) .card .tx { font-size: 1.08rem; line-height: 1.85; letter-spacing: .02em; font-weight: 400; }
/* Banda «Cotiza»: el fondo negro va en toda la sección (color de fondo de la sección); el recuadro interior se
   vuelve transparente, sin chaflán, para que no se note un rectángulo dentro de la banda. */
:host(site-cta) .box { background: transparent; clip-path: none; box-shadow: none; }
/* Alquiler de maquinaria sobre fondo industrial con la grúa flotante: el texto claro es solo para la cabecera
   de la sección; dentro de las tarjetas blancas vuelve al gris; las tarjetas bajan para dejar ver la grúa. */
:host([data-anchor="servicios"]) .card p, :host([data-anchor="servicios"]) .card .tx { color: var(--ia-soft); }
:host([data-anchor="servicios"]) .grid { margin-top: clamp(3rem, 13vw, 12rem); }
@media (max-width: 760px) { :host([data-anchor="servicios"]) .grid { margin-top: 9rem; } }
