/* Marca AGLO 2026 (9-oct-2026, Claude) — piezas compartidas por las páginas públicas.
 * Paleta final del dueño: naranja #F23F0D, terracota #D66B45, arena #EADFCF, papel #F8F6F3,
 * menta #F4F9F0, tinta #2D2B2D, bosque #073119, noche #171B2F.
 * Letras libres (SIL OFL) servidas desde el hosting: Bricolage Grotesque (titulares) + Instrument Sans (texto). */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%; src: url("/negocios/assets/ui/fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2-variations"), url("/negocios/assets/ui/fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700; font-stretch: 75% 100%; src: url("/negocios/assets/ui/fonts/instrument-sans-latin-standard-normal.woff2") format("woff2-variations"), url("/negocios/assets/ui/fonts/instrument-sans-latin-standard-normal.woff2") format("woff2"); }

:root {
  --ab-orange: #f23f0d; --ab-orange-2: #d9380b; --ab-terra: #d66b45; --ab-sand: #eadfcf; --ab-paper: #f8f6f3; --ab-mint: #f4f9f0;
  --ab-ink: #2d2b2d; --ab-forest: #073119; --ab-forest-2: #0c4224; --ab-night: #171b2f; --ab-muted: #5f5a58; --ab-line: rgba(23, 27, 47, .12);
  --ab-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --ab-text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ab-r: 28px; --ab-r-sm: 16px;
  --ab-glass: linear-gradient(180deg, #f1eee6 0%, #e2ded2 100%);
  --ab-glass-shadow: inset 0 2px 0 rgba(255, 255, 255, .85), inset 0 -2px 6px rgba(0, 0, 0, .06), 0 1px 0 rgba(255, 255, 255, .4), 0 18px 34px -18px rgba(0, 0, 0, .45);
  --ab-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ── Tipografía ─────────────────────────────────────────────────────────── */
.ab { font-family: var(--ab-text); color: var(--ab-night); font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.ab-display { font-family: var(--ab-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; margin: 0; }
.ab-display-wide { font-family: var(--ab-display); font-weight: 700; font-stretch: 100%; text-transform: uppercase; line-height: .92; letter-spacing: -.02em; margin: 0; }
.ab-title { font-family: var(--ab-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: .95; margin: 0; }
.ab-lead { font-family: var(--ab-text); font-size: clamp(1.05rem, 2.6vw, 1.35rem); line-height: 1.45; margin: 0; }
.ab-orange { color: var(--ab-orange); } .ab-night { color: var(--ab-night); } .ab-forest-t { color: var(--ab-forest); } .ab-white { color: #fff; }

/* ── Superficies ────────────────────────────────────────────────────────── */
.ab-forest { background: var(--ab-forest); color: #f4efe6; }
.ab-sand { background: var(--ab-sand); color: var(--ab-night); }
.ab-paper { background: var(--ab-paper); color: var(--ab-night); }
.ab-mint { background: var(--ab-mint); color: var(--ab-night); }
.ab-inkbg { background: var(--ab-ink); color: var(--ab-paper); }
.ab-orangebg { background: var(--ab-orange); color: var(--ab-night); }
.ab-wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }

/* Trama de puntos (semitono) que se desvanece, como en las piezas de marca */
.ab-dots { position: relative; isolation: isolate; }
.ab-dots::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(242, 63, 13, .75) 1.4px, transparent 1.9px); background-size: 11px 11px;
  -webkit-mask-image: radial-gradient(70% 90% at 0% 30%, #000 0%, transparent 62%), radial-gradient(60% 80% at 100% 70%, #000 0%, transparent 55%);
  mask-image: radial-gradient(70% 90% at 0% 30%, #000 0%, transparent 62%), radial-gradient(60% 80% at 100% 70%, #000 0%, transparent 55%); opacity: .55; }
/* Grano de papel muy suave */
.ab-grain { position: relative; isolation: isolate; }
.ab-grain::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ── Piezas ─────────────────────────────────────────────────────────────── */
/* Tarjeta de vidrio crema (botones grandes y tarjetas de producto) */
.ab-glass { background: var(--ab-glass); border-radius: var(--ab-r); box-shadow: var(--ab-glass-shadow); border: 1px solid rgba(255, 255, 255, .55); color: var(--ab-night); }
.ab-glass-dark { background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--ab-r);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 24px 40px -24px rgba(0, 0, 0, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
/* Franja de texto entre guiones: «- Accesos personales y datos separados -» */
.ab-strip { display: block; text-align: center; padding: .55rem 1rem; font-family: var(--ab-text); font-size: clamp(1rem, 3.2vw, 1.5rem); line-height: 1.25; }
.ab-strip::before { content: "– "; } .ab-strip::after { content: " –"; }
/* Cinta naranja detrás de un titular */
.ab-tape { display: inline; padding: .02em .16em; background: var(--ab-orange); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
/* Píldora / chip */
.ab-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; line-height: 1; text-decoration: none; }
.ab-pill-orange { background: var(--ab-orange); color: #fff; }
/* Botones */
.ab-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .8rem 1.6rem; border-radius: 999px; border: 0;
  font-family: var(--ab-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .01em; line-height: 1; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ab-ease), box-shadow .2s var(--ab-ease), background .2s ease; }
.ab-btn:hover { transform: translateY(-2px); }
.ab-btn:active { transform: translateY(0) scale(.98); }
.ab-btn:focus-visible, .ab-tile:focus-visible, .ab-link:focus-visible { outline: 3px solid var(--ab-orange); outline-offset: 3px; }
.ab-btn-orange { background: var(--ab-orange); color: #fff; box-shadow: 0 16px 30px -16px rgba(242, 63, 13, .9); }
.ab-btn-orange:hover { background: var(--ab-orange-2); color: #fff; }
.ab-btn-forest { background: var(--ab-forest); color: var(--ab-mint); box-shadow: 0 16px 30px -18px rgba(7, 49, 25, .9); }
.ab-btn-forest:hover { background: var(--ab-forest-2); color: #fff; }
.ab-btn-line { background: transparent; color: currentColor; box-shadow: inset 0 0 0 2px currentColor; }
.ab-btn .ico { width: 1.1em; height: 1.1em; }
/* Botón grande de vidrio con texto naranja (menú principal) */
.ab-tile { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 104px; padding: 1rem 1.4rem; text-decoration: none;
  font-family: var(--ab-text); font-weight: 500; font-size: clamp(1.9rem, 7.4vw, 2.6rem); line-height: 1; color: var(--ab-orange); letter-spacing: -.01em;
  transition: transform .25s var(--ab-ease), box-shadow .25s var(--ab-ease); }
.ab-tile:hover { transform: translateY(-3px); color: var(--ab-orange-2); }
/* Encabezado tipo banda (fondo de color, titular centrado) */
.ab-band { padding: .6rem 1rem .45rem; text-align: center; }
.ab-band .ab-title { font-size: clamp(2.4rem, 11vw, 4.6rem); }
/* Cifras */
.ab-stats { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; background: var(--ab-mint); border-radius: 0; }
.ab-stats > div { display: grid; align-content: center; justify-items: center; text-align: center; padding: 1.2rem .4rem; gap: .35rem; }
.ab-stats b { font-family: var(--ab-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.4rem, 6vw, 2.6rem); line-height: .92; color: var(--ab-night); }
.ab-stats small { font-family: var(--ab-display); font-weight: 700; font-stretch: 80%; text-transform: uppercase; font-size: clamp(.78rem, 2.6vw, 1rem); line-height: 1.05; color: var(--ab-night); }
.ab-stats > .is-main { background: var(--ab-forest); border-radius: 22px; margin: -10px 0; box-shadow: 0 20px 34px -20px rgba(7, 49, 25, .8); }
.ab-stats > .is-main b, .ab-stats > .is-main small { color: var(--ab-mint); }
/* Imagen recortada tipo sticker (las imágenes ya traen su borde blanco) */
.ab-sticker { display: block; max-width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .18)); }
/* Cinta diagonal «DESCUENTO» */
.ab-ribbon { position: absolute; top: 22px; left: -46px; width: 190px; transform: rotate(-38deg); background: var(--ab-orange); color: #fff; text-align: center; padding: .38rem 0;
  font-family: var(--ab-display); font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .04em; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4); z-index: 2; }
/* Enlace subrayado de marca */
.ab-link { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--ab-orange); }

/* ── Movimiento ─────────────────────────────────────────────────────────── */
.ab-js .ab-in { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ab-ease), transform .8s var(--ab-ease); }
.ab-js .ab-in.is-in { opacity: 1; transform: none; }
.ab-js .ab-pop { opacity: 0; transform: scale(.92) rotate(-2deg); transition: opacity .7s var(--ab-ease), transform .7s var(--ab-ease); }
.ab-js .ab-pop.is-in { opacity: 1; transform: none; }
@keyframes ab-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.ab-float { animation: ab-float 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .ab-js .ab-in, .ab-js .ab-pop { opacity: 1; transform: none; transition: none; }
  .ab-float { animation: none; } .ab-btn, .ab-tile { transition: none; }
}

/* ── Barra de navegación común de agloservice.com (9-oct-2026) ─────────────
 * Funciona sin JavaScript: el menú del celular y «Entrar» son <details>. */
.ab-site { position: sticky; top: 0; z-index: 60; background: var(--ab-forest); color: var(--ab-mint); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); font-family: var(--ab-text); }
.ab-site-in { display: flex; align-items: center; gap: 1rem; min-height: 60px; }
.ab-site-logo { font-family: var(--ab-display); font-weight: 800; font-stretch: 75%; font-size: 1.45rem; color: var(--ab-orange); text-decoration: none; text-transform: uppercase; line-height: 1; margin-right: auto; white-space: nowrap; }
.ab-site-logo span { color: var(--ab-mint); margin-left: .18em; font-weight: 600; }
.ab-site-links { display: none; align-items: center; gap: .3rem; }
.ab-site-links a { position: relative; padding: .55rem .75rem; border-radius: 999px; color: rgba(244, 249, 240, .86); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.ab-site-links a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.ab-site-links a[aria-current="page"] { color: #fff; }
.ab-site-links a[aria-current="page"]::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--ab-orange); }
.ab-site details { position: relative; }
.ab-site summary { list-style: none; cursor: pointer; user-select: none; }
.ab-site summary::-webkit-details-marker { display: none; }
.ab-site-enter > summary { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.1rem; border-radius: 999px; background: var(--ab-orange); color: #fff; font-weight: 600; font-size: .95rem; }
.ab-site-enter > summary::after { content: ""; width: .45em; height: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.ab-site-enter[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.ab-site-menu > summary { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .2rem; color: var(--ab-mint); font-weight: 600; font-size: .95rem; }
.ab-site-menu > summary i, .ab-site-menu > summary i::before, .ab-site-menu > summary i::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .2s ease, opacity .2s ease; }
.ab-site-menu > summary i::before, .ab-site-menu > summary i::after { content: ""; position: absolute; left: 0; }
.ab-site-menu > summary i::before { top: -6px; } .ab-site-menu > summary i::after { top: 6px; }
.ab-site-menu[open] > summary i { background: transparent; } .ab-site-menu[open] > summary i::before { top: 0; transform: rotate(45deg); } .ab-site-menu[open] > summary i::after { top: 0; transform: rotate(-45deg); }
.ab-site summary:focus-visible { outline: 3px solid var(--ab-orange); outline-offset: 3px; border-radius: 999px; }
.ab-site-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); padding: .6rem; border-radius: 20px; background: var(--ab-paper); color: var(--ab-night); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .5); display: grid; gap: .2rem; animation: ab-drop .22s var(--ab-ease); }
@keyframes ab-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ab-site-panel a { display: grid; gap: .1rem; padding: .7rem .9rem; border-radius: 14px; color: var(--ab-night); text-decoration: none; }
.ab-site-panel a:hover, .ab-site-panel a:focus-visible { background: #fff; }
.ab-site-panel a b { font-family: var(--ab-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.3rem; line-height: 1; color: var(--ab-forest); }
.ab-site-panel a small { color: var(--ab-muted); font-size: .85rem; }
.ab-site-panel a[aria-current="page"] b { color: var(--ab-orange); }
.ab-site-panel h2 { margin: .7rem .9rem .2rem; font: 600 .74rem/1 var(--ab-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ab-orange); }
/* Celular: el menú ocupa todo el ancho bajo la barra */
.ab-site-menu .ab-site-panel { position: fixed; left: 12px; right: 12px; top: 68px; width: auto; max-height: calc(100vh - 84px); overflow: auto; }
.ab-site-enter { display: none; }
@media (min-width: 900px) {
  .ab-site-links, .ab-site-enter { display: flex; }
  .ab-site-menu { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ab-site-panel { animation: none; } }
