/* ════════════════════════════════════════════════════════════════════════
   Hero slogan band + hero corners (HERO-1, owner 2026-11-18). Static, no build.
   Markup: components/hero-slogan-band (the band) + App\Support\HeroBand::heroClass() (the hero).
   Linked, with the Noto Serif face, only on a page that shows the band.
   docs/architecture/design-system.md "Hero band"; docs/design/style-manual.md "The slogan lettering".
   ════════════════════════════════════════════════════════════════════════ */

/* ── The hero: corners + a soft shadow under it (shows in the light theme). z-index 1 keeps the next section from
      covering the shadow. ── */
.hsb-hero { position: relative; z-index: 1;
    box-shadow: 0 22px 44px -20px rgba(13,43,103,.55), 0 8px 18px -10px rgba(15,23,42,.28); }
.hsb-hero--bottom { border-radius: 0 0 26px 26px; }
.hsb-hero--all { border-radius: 22px; margin: 12px 14px 0; }

/* ── The band: navy in both themes (owner: "como no es parte del tema … se miraria igual de bien en el light theme").
      Under the hero's content (z-index 0, before it in the page), never takes a tap. ── */
.hsb { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; display: flex; align-items: center;
    justify-content: center; gap: 16px; height: 66px; padding: 0 16px; pointer-events: none;
    border-bottom-left-radius: inherit; border-bottom-right-radius: inherit;
    background: linear-gradient(to top, rgba(4,17,34,.80), rgba(4,17,34,.44) 62%, rgba(4,17,34,0)); }
/* The app's lettering: Noto Serif Italic 500, 0.033em (prix-mobile-user SplashScreen, the video end card). */
.hsb-t { min-width: 0; font: italic 500 25px/1.15 'Noto Serif', Georgia, serif; letter-spacing: .033em; color: #fff;
    text-align: center; text-wrap: balance; text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 6px 20px rgba(0,0,0,.40); }
.hsb-sep { flex: none; width: 1px; height: 22px; background: rgba(255,255,255,.45); }
.hsb-logo { flex: none; display: block; height: 28px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.40)); }
.hsb-logo--l { display: none; }
.hsb--nomark .hsb-sep, .hsb--nomark .hsb-logo { display: none !important; }

/* A light hero without a photo (the feature landing pages; the agents directory without its image) in the light
   theme: NO navy bar. Owner 2026-11-18, after seeing it live: "the other landing pages that dont have the dark image
   look nasty on the white background it should be better to turn the fonts black for the light themes automatically".
   The lettering and the logo go dark by themselves on a very soft shade (navy on the page's light background is far
   above 4.5:1); a photo hero and the dark theme keep the navy band. No setting: it follows the hero. */
.hsb--plain.hsb--on-light,
html:not(.dark) .hsb--plain:not(.hsb--on-dark) {
    background: linear-gradient(to top, rgba(13,43,103,.08), rgba(13,43,103,0)); }

/* "Blanca en el tema claro" (an option, not the default; owner: "no pongas la franja blanca pero deja la opcion vigente
   en el backend"): the soft white band in the light theme only; the dark theme keeps the navy band. */
.hsb--white.hsb--on-light,
html:not(.dark) .hsb--white:not(.hsb--on-dark) {
    background: linear-gradient(to top, rgba(255,255,255,.90), rgba(255,255,255,.62) 62%, rgba(255,255,255,0)); }
.hsb--plain.hsb--on-light .hsb-t,
html:not(.dark) .hsb--plain:not(.hsb--on-dark) .hsb-t,
.hsb--white.hsb--on-light .hsb-t,
html:not(.dark) .hsb--white:not(.hsb--on-dark) .hsb-t { color: #0d2b67; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.hsb--plain.hsb--on-light .hsb-sep,
html:not(.dark) .hsb--plain:not(.hsb--on-dark) .hsb-sep,
.hsb--white.hsb--on-light .hsb-sep,
html:not(.dark) .hsb--white:not(.hsb--on-dark) .hsb-sep { background: rgba(13,43,103,.35); }
.hsb--plain.hsb--on-light .hsb-logo--d,
html:not(.dark) .hsb--plain:not(.hsb--on-dark) .hsb-logo--d,
.hsb--white.hsb--on-light .hsb-logo--d,
html:not(.dark) .hsb--white:not(.hsb--on-dark) .hsb-logo--d { display: none; }
.hsb--plain.hsb--on-light .hsb-logo--l,
html:not(.dark) .hsb--plain:not(.hsb--on-dark) .hsb-logo--l,
.hsb--white.hsb--on-light .hsb-logo--l,
html:not(.dark) .hsb--white:not(.hsb--on-dark) .hsb-logo--l { display: block; filter: none; }

/* ── Room for the band: a hero whose content sits close to its bottom edge keeps its content above the band. ── */
.lp-hero.hsb-hero { padding-bottom: 96px; }
/* The main /landing hero (the map photo, `lp-maphero`): the band sits above the photo's own shade (`::after`) and, on
   phones and tablets, above the solid block that holds the text (both would cover a z-index 0 band); it still takes no
   tap. The hero clips its photo to the rounded corners. Room for the band under the buttons in the stacked layout. */
.lp-maphero.hsb-hero { overflow: hidden; }
.lp-maphero .hsb { z-index: 2; }
@media (max-width: 1024px) { .lp-maphero.hsb-hero .lp-maphero-grid { padding-bottom: 104px; } }
.dhh.hsb-hero .dhh-in { padding-bottom: 96px; }

/* ── Phones (owner: "para el telefono me gusta el 5") ── */
@media (max-width: 480px) {
    .hsb { height: 46px; gap: 10px; }
    .hsb-t { font-size: 16px; }
    .hsb-sep { height: 14px; }
    .hsb-logo { height: 19px; }
    .hsb-hero--bottom { border-radius: 0 0 20px 20px; }
    .hsb-hero--all { border-radius: 18px; margin: 8px 8px 0; }
    .lp-hero.hsb-hero, .dhh.hsb-hero .dhh-in { padding-bottom: 72px; }
    .lp-maphero.hsb-hero .lp-maphero-grid { padding-bottom: 80px; }
}
