/* ==========================================================================
   Hachem Superstore — secondary pages (About, Location, Catering, Contact, CMS pages).
   Pushed per page via @push('styles'); reuses store.css tokens (--hs-*), .eyebrow, .section.
   ========================================================================== */

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(2.25rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.75rem); color: #fff; isolation: isolate; }
.page-hero.tone-green { background: radial-gradient(110% 140% at 0% 0%, #0b7a55 0%, var(--hs-green) 42%, var(--hs-green-deep) 100%); }
.page-hero.tone-teal { background: radial-gradient(110% 140% at 100% 0%, #1d8a7f 0%, #11645d 50%, #0b3f3b 100%); }
.page-hero.tone-paper { background: #fff; color: var(--hs-ink); border-bottom: 1px solid var(--hs-line); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(100deg, transparent 30%, #000 85%); }
.page-hero.tone-paper::before { background-image: radial-gradient(rgba(4, 101, 70, .12) 1.2px, transparent 1.2px); }
.page-hero-mark { position: absolute; right: max(2%, calc(50% - 640px)); bottom: -3.5rem; font-size: clamp(9rem, 20vw, 15rem); opacity: .09; transform: rotate(-12deg); z-index: -1; pointer-events: none; }
.page-hero.tone-paper .page-hero-mark { color: var(--hs-green); opacity: .07; }
.page-hero-grid { display: grid; gap: 2rem; align-items: center; }
.page-hero.has-aside .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .page-hero.has-aside .page-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.page-hero .eyebrow { color: var(--hs-tag); }
.page-hero.tone-paper .eyebrow { color: var(--hs-green); }
.page-hero h1 { color: inherit; font-size: clamp(2.2rem, 5.4vw, 4rem); font-stretch: 75%; letter-spacing: -.02em; max-width: 16ch; margin: .2rem 0 .9rem; }
.page-hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 52ch; opacity: .9; margin: 0; }
.page-hero.tone-paper .page-hero-lead { color: var(--hs-muted); opacity: 1; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.page-hero-copy > * { animation: hs-rise .6s cubic-bezier(.22, 1, .36, 1) both; }
.page-hero-copy > :nth-child(2) { animation-delay: .06s; }
.page-hero-copy > :nth-child(3) { animation-delay: .12s; }
.page-hero-copy > :nth-child(4) { animation-delay: .18s; }
@keyframes hs-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .page-hero-copy > * { animation: none; } }

/* About: road graphic */
.route-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 22px; padding: 1.4rem 1.4rem 1.2rem; backdrop-filter: blur(6px); }
.route-label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hs-tag); }
.route { list-style: none; padding: 0; margin: 1.2rem 0 1rem; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; text-align: center; }
.route::before { content: ""; position: absolute; top: 26px; left: 16.6%; right: 16.6%; height: 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--hs-tag) 0 18px, transparent 18px 30px), rgba(0, 0, 0, .28); }
.route li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.route-dot { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--hs-green-deep); border: 3px solid rgba(255, 255, 255, .35); font-size: 1.3rem; color: #d6e6dd; margin-bottom: .4rem; position: relative; z-index: 1; }
.route .is-store .route-dot { width: 64px; height: 64px; margin-top: -6px; border: 4px solid var(--hs-tag); background: #fff; box-shadow: 0 0 0 8px rgba(255, 216, 77, .2); animation: hs-ping 2.4s ease-out infinite; }
.route .is-store .route-dot img { width: 46px; height: 46px; border-radius: 50%; }
@keyframes hs-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 216, 77, .45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255, 216, 77, 0); } }
@media (prefers-reduced-motion: reduce) { .route .is-store .route-dot { animation: none; } }
.route strong { color: #fff; font-stretch: 85%; font-size: 1.05rem; }
.route small { color: rgba(255, 255, 255, .7); font-size: .78rem; }
.route .is-store small { color: var(--hs-tag); font-weight: 700; }
.route-note { margin: 0; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .15); font-weight: 700; display: flex; gap: .5rem; align-items: center; }
.route-note .bi { color: var(--hs-tag); }

/* Facts strip, overlapping the hero */
.fact-strip { display: grid; grid-template-columns: repeat(2, 1fr); margin: -1.75rem 0 0; position: relative; z-index: 2; background: #fff; border: 1px solid var(--hs-line); border-radius: var(--hs-radius-l); box-shadow: var(--hs-shadow-m); overflow: hidden; }
@media (min-width: 768px) { .fact-strip { grid-template-columns: repeat(4, 1fr); } }
.fact-strip > div { padding: 1.1rem 1.25rem; border-right: 1px solid var(--hs-line); border-bottom: 1px solid var(--hs-line); }
.fact-strip dt { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; font-stretch: 78%; color: var(--hs-green); line-height: 1.05; }
.fact-strip dd { margin: .15rem 0 0; color: var(--hs-muted); font-size: .88rem; }

/* ---------- Long-form CMS text ---------- */
.prose { font-size: 1.06rem; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose > p:first-child { font-size: 1.2rem; line-height: 1.55; color: var(--hs-ink); }
.prose h2, .prose h3 { margin: 1.8rem 0 .7rem; font-stretch: 85%; }
.prose h3 { font-size: 1.3rem; }
.prose ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.prose ul li { display: flex; gap: .65rem; align-items: baseline; }
.prose ul li::before { content: ""; flex: none; width: .55rem; height: .55rem; border-radius: 2px; background: var(--hs-tag); border: 1px solid var(--hs-tag-edge); transform: rotate(45deg) translateY(-2px); }
.prose ol { list-style: none; padding: 0; counter-reset: step; display: grid; gap: .9rem; }
.prose ol li { counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; gap: .9rem; align-items: start; padding: .9rem 1rem; background: var(--hs-paper); border-radius: var(--hs-radius-m); border: 1px solid var(--hs-line); }
.prose ol li::before { content: counter(step); width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--hs-green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.prose img { max-width: 100%; height: auto; border-radius: var(--hs-radius-m); }
.prose a { font-weight: 600; }
.prose-card { background: #fff; border: 1px solid var(--hs-line); border-radius: var(--hs-radius-l); padding: clamp(1.25rem, 3vw, 2rem); }
.sticky-aside { position: sticky; top: 150px; }
@media (max-width: 991.98px) { .sticky-aside { position: static; } }
.panel-lg { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--hs-radius-l); }

/* ---------- Store contact card ---------- */
.store-card { background: #fff; border: 1px solid var(--hs-line); border-radius: var(--hs-radius-l); padding: 1.25rem; box-shadow: 0 1px 0 rgba(21, 32, 26, .03); }
.store-card-head { display: flex; gap: .75rem; align-items: center; padding-bottom: .9rem; margin-bottom: .9rem; border-bottom: 1px dashed var(--hs-line); }
.store-card-head img { border-radius: 10px; }
.store-card-head strong { display: block; font-size: 1.1rem; font-stretch: 85%; }
.store-card-head span { color: var(--hs-muted); font-size: .85rem; }
.store-card-address { display: flex; gap: .55rem; font-size: .95rem; }
.store-card-address .bi { color: var(--hs-green); margin-top: .15rem; }
.hours-chip { display: inline-flex; gap: .5rem; align-items: flex-start; background: #fff7d6; border: 1px solid #f2d877; color: #6b5100; border-radius: var(--hs-radius-s); padding: .45rem .7rem; font-size: .85rem; font-weight: 600; }
.hours-chip.is-known { background: var(--hs-green-wash); border-color: #b9d6c6; color: var(--hs-green-deep); white-space: pre-line; }
.phone-list { display: grid; gap: .4rem; }
.phone-btn { display: flex; align-items: center; gap: .7rem; padding: .65rem .85rem; border-radius: var(--hs-radius-s); background: var(--hs-paper); border: 1px solid var(--hs-line); color: var(--hs-ink); text-decoration: none; font-weight: 800; font-variant-numeric: tabular-nums; }
.phone-btn > .bi:first-child { color: var(--hs-green); }
.phone-btn > .bi:last-child { margin-left: auto; opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .2s ease; }
.phone-btn:hover { background: var(--hs-green); border-color: var(--hs-green); color: #fff; }
.phone-btn:hover > .bi { color: var(--hs-tag); opacity: 1; transform: none; }

/* ---------- About: counters + ways ---------- */
.counter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: .8rem; }
.counter-card { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem; border-radius: var(--hs-radius-l); background: var(--tint); color: var(--tint-ink); text-decoration: none; min-height: 190px; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.counter-card:hover { transform: translateY(-4px); box-shadow: var(--hs-shadow-m); color: var(--tint-ink); }
.counter-icon { width: 52px; height: 52px; border-radius: 16px; background: #fff; display: grid; place-items: center; font-size: 1.5rem; transition: transform .3s ease; }
.counter-card:hover .counter-icon { transform: rotate(-6deg) scale(1.06); }
.counter-name { font-weight: 800; font-stretch: 82%; font-size: 1.3rem; line-height: 1.1; }
.counter-desc { font-size: .85rem; opacity: .85; }
.counter-go { margin-top: auto; font-weight: 800; font-size: .85rem; display: inline-flex; gap: .35rem; align-items: center; }
.counter-go .bi { transition: transform .2s ease; }
.counter-card:hover .counter-go .bi { transform: translateX(4px); }

.ways { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.way { display: flex; flex-direction: column; gap: .4rem; padding: 1.5rem; border-radius: var(--hs-radius-l); text-decoration: none; position: relative; overflow: hidden; min-height: 230px; transition: transform .25s ease, box-shadow .25s ease; }
a.way:hover { transform: translateY(-4px); box-shadow: var(--hs-shadow-m); }
.way h3 { font-size: 1.45rem; font-stretch: 80%; margin: .4rem 0 0; color: inherit; }
.way p { margin: 0; opacity: .85; }
.way-icon { font-size: 1.8rem; }
.way-go { margin-top: auto; padding-top: .8rem; font-weight: 800; display: inline-flex; gap: .4rem; align-items: center; }
.way-go .bi { transition: transform .2s ease; }
a.way:hover .way-go .bi { transform: translateX(4px); }
.way-web { background: var(--hs-green); color: #fff; }
.way-web:hover { color: #fff; }
.way-web .way-icon, .way-web .way-go { color: var(--hs-tag); }
.way-app { background: var(--hs-ink); color: #fff; }
.way-app .way-icon { color: var(--hs-tag); }
.way-visit { background: var(--hs-tag) repeating-linear-gradient(-45deg, transparent 0 22px, rgba(255, 255, 255, .22) 22px 44px); color: var(--hs-ink); }
.way-visit:hover { color: var(--hs-ink); }
.store-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .85rem; border-radius: 10px; background: #000; border: 1px solid rgba(255, 255, 255, .35); color: #fff; text-decoration: none; line-height: 1.05; font-weight: 700; }
.store-badge .bi { font-size: 1.45rem; }
.store-badge small { display: block; font-size: .62rem; font-weight: 500; opacity: .8; }
.store-badge:hover { background: #fff; color: #000; }

/* ---------- Location ---------- */
.loc-hero { position: relative; min-height: clamp(420px, 62vh, 600px); display: flex; align-items: flex-end; background: var(--hs-green-wash); }
.loc-map { position: absolute; inset: 0; z-index: 0; }
.loc-hero-inner { position: relative; z-index: 1; padding-top: 2rem; padding-bottom: 2rem; pointer-events: none; }
@media (min-width: 992px) { .loc-hero { align-items: center; } }
.loc-card { pointer-events: auto; max-width: 470px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-radius: 22px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 24px 60px rgba(21, 32, 26, .22); border: 1px solid rgba(255, 255, 255, .7); animation: hs-rise .6s cubic-bezier(.22, 1, .36, 1) both; }
.loc-card h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-stretch: 75%; margin: .1rem 0 .8rem; }
.loc-card h1 span { display: block; font-size: .5em; color: var(--hs-muted); font-stretch: 90%; font-weight: 700; letter-spacing: 0; margin-top: .3rem; }
.loc-address { display: flex; gap: .55rem; }
.loc-address .bi { color: var(--hs-green); margin-top: .2rem; }
.loc-card .hours-chip { margin-bottom: 1rem; }
@media (max-width: 991.98px) { .loc-hero { flex-direction: column; align-items: stretch; min-height: 0; } .loc-map { position: relative; height: 300px; } .loc-hero-inner { margin-top: -3rem; padding-top: 0; } .loc-card { max-width: none; } }
.hs-pin span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--hs-green); border: 3px solid #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.hs-pin img { width: 34px; height: 34px; border-radius: 8px; transform: rotate(45deg); }
.leaflet-container { font-family: var(--hs-font); }

.loc-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .loc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.loc-info { background: #fff; border: 1px solid var(--hs-line); border-radius: var(--hs-radius-l); padding: 1.5rem; display: flex; flex-direction: column; gap: .3rem; }
.loc-info p { color: var(--hs-muted); }
.loc-info-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--hs-green-wash); color: var(--hs-green); display: grid; place-items: center; font-size: 1.35rem; margin-bottom: .5rem; }
.loc-info-accent { background: var(--hs-green-deep); border-color: var(--hs-green-deep); color: #fff; }
.loc-info-accent h2 { color: #fff; }
.loc-info-accent p { color: rgba(255, 255, 255, .82); }
.loc-info-accent .loc-info-icon { background: rgba(255, 255, 255, .1); color: var(--hs-tag); }
.coord-copy { display: inline-flex; align-items: center; gap: .55rem; align-self: flex-start; border: 1px dashed var(--hs-green); background: var(--hs-green-wash); color: var(--hs-green-deep); border-radius: var(--hs-radius-s); padding: .45rem .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.coord-copy small { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; opacity: .7; }
.coord-copy:hover { background: var(--hs-green); color: #fff; border-style: solid; }

/* ---------- Catering ---------- */
.flow-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); counter-reset: none; }
@media (min-width: 768px) { .flow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.flow-steps li { display: flex; flex-direction: column; gap: .25rem; padding: 1.4rem; background: #fff; border: 1px solid var(--hs-line); border-radius: var(--hs-radius-l); position: relative; }
.flow-steps li:not(:last-child)::after { content: "\F138"; font-family: "bootstrap-icons"; position: absolute; right: -1.05rem; top: 50%; transform: translateY(-50%); width: 2rem; height: 2rem; border-radius: 50%; background: var(--hs-tag); display: none; place-items: center; z-index: 1; font-size: 1rem; }
@media (min-width: 768px) { .flow-steps li:not(:last-child)::after { display: grid; } }
.flow-no { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #11645d; color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: .5rem; }
.flow-steps strong { font-size: 1.15rem; font-stretch: 85%; }
.flow-steps span:not(.flow-no) { color: var(--hs-muted); font-size: .95rem; }
.mini-depts { display: grid; gap: .4rem; }
.mini-depts a { display: flex; align-items: center; gap: .7rem; padding: .5rem .65rem; border-radius: var(--hs-radius-s); color: var(--hs-ink); text-decoration: none; font-weight: 700; border: 1px solid transparent; }
.mini-depts a > span { width: 36px; height: 36px; border-radius: 10px; background: var(--tint); color: var(--tint-ink); display: grid; place-items: center; }
.mini-depts a:hover { background: var(--hs-paper); border-color: var(--hs-line); }
.mini-depts a .bi-arrow-right { transition: transform .2s ease; }
.mini-depts a:hover .bi-arrow-right { transform: translateX(3px); }

/* ---------- Contact ---------- */
.contact-quick { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); margin-top: -2rem; position: relative; z-index: 2; }
.quick-card { display: flex; flex-direction: column; gap: .1rem; padding: 1.15rem 1.2rem; background: #fff; border: 1px solid var(--hs-line); border-radius: var(--hs-radius-l); box-shadow: var(--hs-shadow-m); color: var(--hs-ink); text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
a.quick-card:hover { transform: translateY(-3px); border-color: var(--hs-green); color: var(--hs-ink); }
.quick-icon { width: 44px; height: 44px; border-radius: 13px; background: var(--hs-green); color: var(--hs-tag); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: .5rem; }
.quick-icon.is-wa { background: #1f9d55; color: #fff; }
.quick-label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hs-muted); }
.quick-card strong { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.quick-card small { color: var(--hs-muted); }
.social-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--hs-paper); border: 1px solid var(--hs-line); color: var(--hs-green); font-size: 1.1rem; text-decoration: none; }
.social-btn:hover { background: var(--hs-green); color: #fff; border-color: var(--hs-green); }

.topic-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.topic-chip input { position: absolute; opacity: 0; pointer-events: none; }
.topic-chip span { display: inline-flex; gap: .45rem; align-items: center; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--hs-line); background: #fff; font-weight: 700; font-size: .92rem; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.topic-chip span .bi { color: var(--hs-green); }
.topic-chip span:hover { border-color: var(--hs-green); }
.topic-chip input:checked + span { background: var(--hs-green); border-color: var(--hs-green); color: #fff; }
.topic-chip input:checked + span .bi { color: var(--hs-tag); }
.topic-chip input:focus-visible + span { outline: 3px solid var(--hs-tag-edge); outline-offset: 2px; }
.contact-form legend { font-size: 1rem; float: none; }
.sent-panel { text-align: center; padding: 2rem 1rem; animation: hs-rise .5s cubic-bezier(.22, 1, .36, 1) both; outline: none; }
.sent-icon { width: 72px; height: 72px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--hs-green-wash); color: var(--hs-green); font-size: 2rem; margin-bottom: 1rem; box-shadow: 0 0 0 10px rgba(4, 101, 70, .06); }

.faq { display: grid; gap: .55rem; }
.faq details { background: #fff; border: 1px solid var(--hs-line); border-radius: var(--hs-radius-m); transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: var(--hs-green); box-shadow: 0 6px 18px rgba(4, 101, 70, .08); }
.faq summary { list-style: none; padding: .95rem 1.1rem; font-weight: 800; display: flex; align-items: center; gap: .75rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\F4FE"; font-family: "bootstrap-icons"; margin-left: auto; color: var(--hs-green); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--hs-green-deep); }
.faq details p { padding: 0 1.1rem 1rem; margin: 0; color: var(--hs-muted); }

/* Room for cards that overlap the hero's bottom edge */
.page-hero:has(+ .contact-quick), .page-hero:has(+ .container .fact-strip) { padding-bottom: clamp(3.5rem, 7vw, 5rem); }
@media (max-width: 575.98px) {
  .contact-quick { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .contact-quick > :first-child { grid-column: 1 / -1; }
  .quick-card { padding: .9rem; box-shadow: 0 8px 20px rgba(21, 32, 26, .1); }
  .quick-icon { width: 36px; height: 36px; font-size: 1rem; border-radius: 11px; margin-bottom: .35rem; }
  .quick-card strong { font-size: 1rem; }
}
