/* agloservice.com — portada AGLO SERVICE con la marca 2026 (9-oct-2026, Claude).
 * Piezas comunes en /negocios/assets/ui/aglo-brand.css. Primero celular, luego pantallas grandes. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.lp { margin: 0; background: var(--ab-forest); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--ab-night); padding: .6rem 1rem; border-radius: 10px; }
.lp-skip:focus { top: 12px; }
.lp p { margin: 0; }

/* Barra superior */
.lp-nav { position: absolute; inset: 0 0 auto; z-index: 10; }
.lp-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.lp-logo { font-family: var(--ab-display); font-weight: 800; font-stretch: 75%; font-size: 1.45rem; letter-spacing: .02em; color: var(--ab-orange); text-decoration: none; text-transform: uppercase; line-height: 1; }
.lp-logo span { color: var(--ab-mint); margin-left: .18em; font-weight: 600; }
.lp-links { display: none; gap: 1.6rem; }
.lp-links a { color: rgba(244, 249, 240, .82); text-decoration: none; font-weight: 500; font-size: .95rem; }
.lp-links a:hover { color: #fff; }

/* Portada */
.lp-hero { padding: 34px 0 30px; overflow: hidden; }
.lp-bits { position: absolute; top: 0; right: 0; width: 46%; height: 100%; z-index: -1; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='96' font-family='monospace' font-size='12' fill='%23f23f0d'%3E%3Ctext x='4' y='14'%3E0 1 0 0 1 0 1 1 0%3C/text%3E%3Ctext x='4' y='38'%3E1 0 0 1 0 1 0 1%3C/text%3E%3Ctext x='4' y='62'%3E0 1 1 0 0 0 1 0 1%3C/text%3E%3Ctext x='4' y='86'%3E1 0 1 0 1 1 0 0%3C/text%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.lp-hero-in { position: relative; }
.lp-hero-title { font-size: clamp(3.6rem, 19.5vw, 11rem); font-stretch: 78%; font-weight: 800; letter-spacing: -.01em; line-height: .86; white-space: nowrap; }
.lp-hero-title span { display: inline-block; animation: lp-rise .9s var(--ab-ease) both; }
.lp-hero-title span + span { animation-delay: .1s; }
.lp-hero-sub { text-wrap: balance; margin-top: .5rem !important; color: var(--ab-sand); font-size: clamp(1.05rem, 4.4vw, 1.9rem); line-height: 1.2; letter-spacing: -.01em; animation: lp-rise .9s var(--ab-ease) .22s both; }
@keyframes lp-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.lp-how-band p { margin-inline: auto !important; padding: .55rem 0 .5rem; text-align: center; font-size: clamp(1.6rem, 6.4vw, 2.4rem); color: var(--ab-night); letter-spacing: -.01em; }

/* Los dos productos */
.lp-products { padding: 28px 0 44px; }
.lp-products-in { display: grid; gap: 22px; }
.lp-product { display: grid; justify-items: center; text-align: center; gap: .35rem; padding: 18px 20px 26px; text-decoration: none; transition: transform .3s var(--ab-ease), box-shadow .3s var(--ab-ease); }
.lp-product:hover { transform: translateY(-4px); }
.lp-product-img { width: min(62%, 240px); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .22)); }
.lp-product .ab-title { font-size: clamp(1.9rem, 8vw, 2.6rem); margin-top: .3rem; }
.lp-product-txt { max-width: 30ch; font-size: 1.08rem; line-height: 1.35; color: var(--ab-night); }

/* Conecta */
.lp-connect { position: relative; display: grid; place-items: center; min-height: clamp(300px, 80vw, 520px); padding: 40px 16px; overflow: hidden; text-align: center; }
.lp-crowd { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.lp-connect::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 52% at 50% 50%, rgba(7, 49, 25, .96) 30%, rgba(7, 49, 25, .55) 70%, rgba(7, 49, 25, .15)); }
.lp-connect-title { position: relative; z-index: 1; font-size: clamp(2.3rem, 10.4vw, 5.2rem); line-height: .95; text-shadow: 0 4px 24px rgba(0, 0, 0, .35); }
.lp-strip { color: var(--ab-night); }

/* Quiénes somos */
.lp-who { padding: 44px 0 0; }
.lp-who-title { text-align: center; text-wrap: balance; font-size: clamp(2rem, 9vw, 4.4rem); line-height: .94; max-width: 19ch; margin-inline: auto; }
.lp-route { position: relative; margin-top: 30px; height: clamp(200px, 50vw, 380px); background: linear-gradient(180deg, #dfe9d9, #cfdfc7); overflow: hidden; }
.lp-route-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-route-line { animation: lp-dash 2.6s linear infinite; }
@keyframes lp-dash { to { stroke-dashoffset: -200; } }
.lp-route-moto { position: absolute; left: 50%; bottom: 6%; width: min(52%, 360px); transform: translateX(-50%); filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .25)); animation: ab-float 5s ease-in-out infinite; }
.lp-stats { position: relative; margin-top: -2px; }

/* Casa e ideas */
.lp-house { padding: 50px 0 60px; }
.lp-house-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.lp-call { padding: 16px 14px; text-align: center; border-radius: 22px; }
.lp-call .ab-title { font-size: clamp(1.2rem, 5.2vw, 1.8rem); color: var(--ab-night); margin-bottom: .45rem; }
.lp-call p { font-size: .92rem; line-height: 1.38; color: #3a3a46; }
.lp-call-b { margin-top: 36px; }
.lp-house-fig { grid-column: 1 / -1; position: relative; margin: -6px auto 0; width: min(88%, 460px); }
.lp-house-fig img { display: block; width: 100%; filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .2)); }
.lp-house-fig figcaption { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); background: var(--ab-orange); color: var(--ab-night); padding: .35rem 1.2rem; border-radius: 14px; font-size: clamp(1.5rem, 6.4vw, 2.3rem); white-space: nowrap; box-shadow: 0 12px 24px -10px rgba(242, 63, 13, .8); }
.lp-call-d { margin-top: 36px; }

/* Detalle de productos */
.lp-detail { padding: 64px 0; }
.lp-detail-in { display: grid; gap: 34px; align-items: center; }
.lp-detail-copy { display: grid; gap: 1rem; justify-items: start; }
.lp-detail-copy h2 { font-size: clamp(2.3rem, 10vw, 4.4rem); line-height: .92; }
.lp-detail-copy > p { font-size: 1.08rem; line-height: 1.55; color: #3a3a46; max-width: 54ch; }
.lp-detail-alt .lp-detail-copy > p { color: rgba(244, 249, 240, .82); }
.lp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.lp-checks li { position: relative; padding-left: 2rem; font-weight: 500; line-height: 1.35; }
.lp-checks li::before { content: ""; position: absolute; left: 0; top: .08em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--ab-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.lp-detail-alt .lp-checks li { color: var(--ab-mint); }
.lp-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }
.lp-detail .ab-btn-line { color: var(--ab-forest); }

/* Teléfono con pantalla de ejemplo */
.lp-phone { position: relative; margin: 0 auto; width: min(78%, 340px); }
.lp-phone img { display: block; width: 100%; position: relative; z-index: 1; }
.lp-screen { position: absolute; z-index: 2; left: 34%; top: 6.5%; width: 43.2%; height: 60.6%; border-radius: 13% / 6.5%; overflow: hidden; display: grid; align-content: start; gap: 7%; padding: 0 0 8%; }
.lp-screen-neg { background: radial-gradient(70% 50% at 20% 70%, rgba(242, 63, 13, .35), transparent 70%), radial-gradient(60% 50% at 90% 40%, rgba(214, 107, 69, .35), transparent 70%), #efe4d4; }
.lp-s-band { background: var(--ab-forest); color: var(--ab-orange); font-family: var(--ab-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1rem, 5vw, 1.5rem); text-align: center; padding: 14% 4% 5%; line-height: .9; }
.lp-s-tile { margin: 0 9%; padding: 9% 4%; background: var(--ab-glass); box-shadow: var(--ab-glass-shadow); border-radius: 14px; text-align: center; color: var(--ab-orange); font-size: clamp(.78rem, 3.4vw, 1rem); font-weight: 500; }
.lp-phone figcaption { text-align: center; font-size: .78rem; color: var(--ab-muted); margin-top: .4rem; }

/* Ruta de un pedido */
.lp-flow { list-style: none; margin: 0; padding: 22px; display: grid; gap: 0; border-radius: var(--ab-r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); counter-reset: f; }
.lp-flow li { position: relative; display: grid; gap: .15rem; padding: 0 0 22px 46px; color: var(--ab-mint); counter-increment: f; }
.lp-flow li:last-child { padding-bottom: 0; }
.lp-flow li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ab-display); font-weight: 800; background: rgba(255, 255, 255, .12); color: var(--ab-mint); }
.lp-flow li::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: rgba(255, 255, 255, .16); }
.lp-flow li:last-child::after { display: none; }
.lp-flow li.is-done::before { background: var(--ab-mint); color: var(--ab-forest); }
.lp-flow li.is-now::before { background: var(--ab-orange); color: #fff; box-shadow: 0 0 0 6px rgba(242, 63, 13, .25); }
.lp-flow b { font-family: var(--ab-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.lp-flow span { font-size: .95rem; color: rgba(244, 249, 240, .72); }

/* Accesos */
.lp-access { padding: 60px 0 70px; }
.lp-access-title { font-size: clamp(2.4rem, 11vw, 4.4rem); text-align: center; }
.lp-access-sub { text-align: center; color: var(--ab-muted); max-width: 46ch; margin: .6rem auto 1.8rem !important; line-height: 1.5; }
.lp-access-grid { display: grid; gap: 12px; }
.lp-door { display: grid; gap: .2rem; padding: 18px 54px 18px 22px; border-radius: 22px; text-decoration: none; position: relative; transition: transform .25s var(--ab-ease); }
.lp-door::after { content: ""; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--ab-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5L10.5 8 6 12.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 60% no-repeat; }
.lp-door:hover { transform: translateY(-3px); }
.lp-door b { font-family: var(--ab-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.6rem; line-height: 1; color: var(--ab-forest); }
.lp-door span { color: #4a4a55; font-size: .95rem; }
.lp-door-sm b { font-size: 1.3rem; color: var(--ab-night); }

/* Pie */
.lp-safe { text-align: center; padding: 1.1rem 1rem; font-size: clamp(1.05rem, 4.2vw, 1.6rem); color: var(--ab-mint); }
.lp-foot { padding: 48px 0 30px; font-size: .92rem; }
.lp-foot a { color: var(--ab-paper); }
.lp-foot-grid { display: grid; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.lp-foot-grid p { margin-top: .6rem !important; color: #c9c4bd; max-width: 34ch; }
.lp-foot nav { display: grid; gap: .45rem; }
.lp-foot nav b { font-family: var(--ab-display); font-weight: 800; font-stretch: 80%; text-transform: uppercase; color: var(--ab-orange); letter-spacing: .04em; }
.lp-foot nav a { text-decoration: none; color: #e7e2da; } .lp-foot nav a:hover { text-decoration: underline; }
.lp-foot-legal { padding: 24px 0; line-height: 1.8; overflow-wrap: anywhere; color: #c9c4bd; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.lp-foot-legal nav { display: block; }
.lp-foot-legal p + p { margin-top: .6rem !important; }
.lp-foot-end { display: flex; justify-content: space-between; gap: 1rem; padding-top: 18px; color: #9d978f; font-size: .85rem; }

/* Pantallas grandes */
@media (min-width: 760px) {
  .lp-links { display: flex; }
  .lp-hero { padding: 64px 0 60px; }
  .lp-products-in { grid-template-columns: 1fr 1fr; gap: 28px; }
  .lp-product { padding: 26px 30px 34px; }
  .lp-house-grid { grid-template-columns: 1fr 1.25fr 1fr; grid-template-rows: auto auto; gap: 22px 26px; align-items: center; }
  .lp-house-fig { grid-column: 2; grid-row: 1 / span 2; width: 100%; margin: 0; }
  .lp-call-a { grid-column: 1; grid-row: 1; } .lp-call-c { grid-column: 1; grid-row: 2; }
  .lp-call-b { grid-column: 3; grid-row: 1; margin-top: 0; } .lp-call-d { grid-column: 3; grid-row: 2; margin-top: 0; }
  .lp-call { padding: 22px 20px; }
  .lp-call p { font-size: 1rem; }
  .lp-detail { padding: 96px 0; }
  .lp-detail-in { grid-template-columns: 1.1fr .9fr; gap: 60px; }
  .lp-detail-alt .lp-detail-in { grid-template-columns: 1fr 1fr; }
  .lp-access-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-door-sm { grid-column: 1 / -1; }
  .lp-foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 1100px) { .lp-access-grid { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) { .lp-hero-title span, .lp-hero-sub { animation: none; } .lp-route-line, .lp-route-moto { animation: none; } html { scroll-behavior: auto; } }
