/* Commission 2158: the home of C2080's whole-site direction («Working order»), picked by Luis on 04/12/2026 over «Said and done».
   Only / and /es link this file. Ported from the C2080 artifact's site.css onto the repository's tokens: Outfit from brand.css
   on swap, so the headline paints at once; gcg-wrap; gcg-btn. The working pieces use C2089's markup and js/pieces.js, styled
   here for a black ground and scoped under .hx. Two fixes from C2155's critics: the hero holds one piece and fits one screen
   at 390x844 and 1440x900; the plan and form pieces stand in their own section below it. */
:root{--hx-grad:linear-gradient(118deg,#0174E7 0%,#903DFF 100%);--hx-on-dark:#c9c9d3;--hx-line:rgba(0,0,0,.14)}

/* The hero: black, one working piece */
/* DS15: the hero is one screen tall, never more (min-height, and its content fits 390x844 and 1440x900) */
.hx-hero{position:relative;isolation:isolate;overflow:clip;background:#000;color:#fff;padding:calc(var(--nav-h) + 16px) 0 28px;min-height:100svh;box-sizing:border-box}
.hx-hero::after{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(70% 46% at 50% 62%,rgba(144,61,255,.42),transparent 70%),radial-gradient(60% 40% at 20% 78%,rgba(1,116,231,.4),transparent 70%)}
.hx-hero__g{display:grid;row-gap:0}
.hx-h1{font-family:var(--gcg-font);font-size:42px;font-weight:800;line-height:1;letter-spacing:-.035em;color:#fff;margin:0;text-wrap:balance}
html[lang="es"] .hx-h1{font-size:38px}
.hx-h1 .g{background:var(--hx-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.hx-sub{font-size:18px;line-height:1.35;font-weight:500;color:#fff;margin:12px 0 0;text-wrap:pretty}
.hx-cta{margin:16px 0 0}
/* DS5: the hero's action keeps the site's own button size; only the floating call, outside main, is set here */
.hx-sticky{min-height:48px;display:inline-flex;align-items:center;padding:0 26px;font-size:16px;font-weight:600}
.hx-hero__p{margin-top:18px}

/* A working piece (C2089's markup): the page as usually found, then as fixed */
.hx .piece{margin:0;display:flex;flex-direction:column;gap:4px;min-width:0}
.hx .piece-card{background:#fff;color:#000;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 0 0 1px rgba(255,255,255,.1),0 34px 70px -26px rgba(144,61,255,.75),0 18px 44px -18px rgba(1,116,231,.6)}
.hx .stage{position:relative;height:246px;overflow:hidden}
.hx .st{position:absolute;inset:0;display:flex;flex-direction:column;transition:clip-path .9s cubic-bezier(.65,0,.2,1)}
.hx .st.found{clip-path:inset(0 0 0 0);z-index:2}
.hx .piece[data-state="fixed"] .st.found{clip-path:inset(0 0 0 100%)}
.hx .piece[data-state="found"] .st.fixed{visibility:hidden;transition:visibility 0s .9s}
.hx .st.found::after{content:"";position:absolute;top:0;bottom:0;right:0;width:3px;background:var(--hx-grad)}
.hx .cap{display:flex;flex-wrap:wrap;align-items:center;gap:0 18px;font-size:15px;line-height:1.35;color:var(--hx-on-dark)}
.hx .cap a{color:#fff;text-decoration:none;font-weight:500;font-size:16px;min-height:44px;display:inline-flex;align-items:center;flex-wrap:wrap;gap:0 6px}
.hx .cap a b{font-weight:700;text-decoration:underline;text-underline-offset:.2em}
/* the toggle has a line of its own: pieces.js changes its label a second after load, and a longer label must not wrap the caption and move the page (C2158, layout.test) */
.hx .again{flex-basis:100%;text-align:left;appearance:none;border:0;background:none;color:var(--hx-on-dark);font:500 15px var(--gcg-font);text-decoration:underline;text-underline-offset:.18em;cursor:pointer;padding:0;min-height:44px}
/* the toggle's line is kept before js/pieces.js shows it, so the caption does not move at first paint (C2158 critics: about 45 px at 2 s) */
.hx .again[hidden]{display:block;visibility:hidden}
.hx .sample{flex-basis:100%;font-size:14px;color:var(--hx-on-dark);margin:0}
/* C2176 (C2173 critic F4): on a short phone (375x667, 360x640) the hero, its caption and its toggle fit one screen. Taller phones,
   tablets and laptops keep the rules above. The words and the h1 keep their size; the space and the piece give 86 px. */
@media (max-width:768px) and (max-height:700px){
  .hx-hero{padding-top:calc(var(--nav-h) + 6px);padding-bottom:16px}
  .hx-sub{margin-top:8px}.hx-cta{margin-top:12px}.hx-hero__p{margin-top:12px}
  .hx-hero .stage{height:196px}
  /* .hx-hero.hx outranks the menu piece's own rules, which come later in this file */
  .hx-hero.hx .p-menu{padding-top:10px}.hx-hero.hx .p-menu .mt{font-size:21px;margin-bottom:2px}.hx-hero.hx .p-menu .rule{margin-bottom:2px}
  .hx-hero.hx .dish{font-size:16px;padding:4px 0}.hx-hero.hx .st.fixed .dish:first-child{padding:4px 8px}
  .hx-hero.hx .sr-strip{min-height:48px;padding:4px 16px}
  .hx-hero.hx .sr-strip q{font-size:15px} /* C2176 critic F1: /es's «Pargo a la parrilla, 320 lempiras» on one line down to 320 px */
}

/* piece: menu */
.hx .p-menu{padding:14px 16px 0;background:#fff;flex:1}
.hx .p-menu .mt{margin:0 0 4px;font-size:24px;font-weight:800;letter-spacing:-.03em;line-height:1.1;color:#000}
.hx .p-menu .rule{height:2px;background:#000;margin-bottom:4px}
.hx .dishes{list-style:none;margin:0;padding:0}
.hx .dish{display:flex;justify-content:space-between;align-items:baseline;gap:10px;border-bottom:1px solid var(--hx-line);font-size:17px;font-weight:500;color:#000;padding:7px 0}
.hx .dish>span:last-child{font-weight:700}
.hx .st.fixed .dish:first-child{background:var(--hx-grad);color:#fff;border-color:transparent;border-radius:8px;padding:7px 8px;margin:0 -8px}
.hx .sr-strip,.hx .msg{margin-top:auto;background:#000;color:#fff;padding:10px 16px;line-height:1.3;min-height:60px;display:flex;flex-direction:column;justify-content:center}
.hx .sr-strip small,.hx .msg small{font-size:14px;letter-spacing:.06em;color:#b9b9c4;font-weight:600}
.hx .sr-strip q{font-size:17px;font-weight:500;quotes:"“" "”"}
.hx .msg span{font-size:16px;font-weight:500}
.hx .found .p-menu{background:#f4f1ea;color:#3a3a40}
.hx .imgtag{position:absolute;left:10px;top:10px;z-index:3;background:#000;color:#fff;font-size:14px;font-weight:600;padding:4px 9px;border-radius:6px}

/* piece: lot map */
.hx .p-map{flex:1;background:#fff;padding:12px 12px 0;display:flex;flex-direction:column}
.hx .p-map svg{width:100%;height:auto;display:block}
.hx .lot{stroke:#fff;stroke-width:2.5}
.hx .lot.av{fill:#0174E7}.hx .lot.rs{fill:#903DFF}.hx .lot.sd{fill:#c9c9d1}
.hx .lot.sel{stroke:#000;stroke-width:3.5}
.hx .lotn{font:700 14px var(--gcg-font);fill:#fff;text-anchor:middle}
.hx .lotn.d{fill:#30303a}
.hx .legend{display:flex;gap:12px;font-size:14px;font-weight:500;padding:6px 2px;flex-wrap:wrap;margin:0;color:#000}
.hx .legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.hx .legend .av{background:#0174E7}.hx .legend .rs{background:#903DFF}.hx .legend .sd{background:#c9c9d1}
/* the found layers carry no CSS filter: a filtered layer under the wiping clip-path repainted every frame and starved the
   page's other animations under load (C2158: reveal.test missed the home's work section in 3 of 3 full runs) */
.hx .found .p-map{background:#ecebe6}
.hx .found .lot.av,.hx .found .lot.rs{fill:#9d9da6}.hx .found .lot.sd{fill:#d2d2d7}.hx .found .legend i{background:#9d9da6}

/* piece: form */
.hx .p-form{flex:1;background:#fff;color:#000;padding:18px;display:flex;flex-direction:column;gap:8px}
.hx .p-form .lab{font-size:15px;font-weight:600}
.hx .p-form .field{justify-content:flex-start;text-align:left;height:48px;border:1.5px solid #000;border-radius:10px;padding:0 14px;display:flex;align-items:center;font-size:17px}
.hx .p-form .fake{height:48px;border:2.5px solid #b3261e;border-radius:10px}
.hx .p-form .err{color:#b3261e;font-weight:600;font-size:15px}
.hx .p-form .send{align-self:flex-start;background:#000;color:#fff;border-radius:999px;padding:11px 22px;font-weight:600;font-size:15px;margin-top:6px}

/* The bench: the other two pieces and the offer, under the hero */
.hx-bench{background:#000;color:#fff;padding:40px 0 72px}
.hx-bench__lede{font-size:16px;line-height:1.6;color:var(--hx-on-dark);max-width:60ch;margin:0 0 28px}
.hx-bench__lede a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.35)}
.hx-pieces{display:grid;gap:44px;max-width:920px}
.hx-bench__sample{margin:24px 0 0}
.hx-offer+.hx-bench__lede{margin:40px 0 0}
.hx-offer{font-size:24px;line-height:1.25;font-weight:600;letter-spacing:-.02em;max-width:26em;margin:48px 0 0;color:#fff}
.hx-offer small{display:block;font-size:15px;font-weight:400;letter-spacing:0;color:var(--hx-on-dark);margin-top:8px}
.hx-offer__go{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-top:22px;font-size:17px;font-weight:400;letter-spacing:0}
.hx-offer__go a:not(.gcg-btn){color:#fff;min-height:44px;display:inline-flex;align-items:center}

/* The floating call on phones: no bar, shown once the hero has scrolled past (DS29) */
.hx-sticky{position:fixed;left:50%;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:120;transform:translate(-50%,160%);transition:transform .35s cubic-bezier(.2,.7,.2,1);box-shadow:0 14px 34px -10px rgba(0,0,0,.55);white-space:nowrap}
.hx-sticky.on{transform:translate(-50%,0)}

@media(min-width:700px){.hx-pieces{grid-template-columns:repeat(2,1fr);gap:40px 24px}}
/* DS29 (C2146's rule): the floating call shows at 768 px and under */
@media(min-width:769px){.hx-sticky{display:none}}
@media(min-width:900px){
  .hx-hero{padding:calc(var(--nav-h) + 36px) 0 48px;display:flex;flex-direction:column;justify-content:center}
  .hx-hero__g{grid-template-columns:minmax(0,1fr) 440px;column-gap:64px;align-items:start}
  .hx-hero__g>.hx-h1{grid-column:1;grid-row:1;font-size:clamp(72px,7.4vw,108px);line-height:.96}
  html[lang="es"] .hx-hero__g>.hx-h1{font-size:clamp(64px,6.6vw,96px)}
  .hx-hero__g>.hx-sub{grid-column:1;grid-row:2;font-size:24px;margin-top:28px;max-width:19em}
  .hx-hero__g>.hx-cta{grid-column:1;grid-row:3;margin-top:28px}
  .hx-hero__g>.hx-hero__p{grid-column:2;grid-row:1/5;margin-top:0}
  .hx-hero__p .stage{height:360px}
  .hx-hero__p .p-menu{padding:22px 24px 0}.hx-hero__p .p-menu .mt{font-size:34px}.hx-hero__p .dish{font-size:20px;padding:11px 0}
  .hx-hero__p .st.fixed .dish:first-child{padding:11px 8px}
  .hx-hero__p .sr-strip{min-height:76px;padding:14px 24px}.hx-hero__p .sr-strip q{font-size:20px}
  .hx-bench{padding:56px 0 110px}
  .hx-offer{font-size:40px;line-height:1.12}
}
/* DS20: no one-word last line in the home's own text and in its sections' paragraphs (C2144's fail, read on / and /es) */
.hx p,.hx-hero .hx-sub,main .gcg-section p,main .gcg-section li,main .gcg-section h3{text-wrap:pretty}
@media(prefers-reduced-motion:reduce){.hx .st,.hx-sticky{transition:none!important}}
