.hal-marketing {background:#FCFCFC}
.hal-marketing .container {max-width:1158px;padding-left:24px;padding-right:24px}
.hal-marketing .hal-public-header {background:#131313;position:relative;z-index:100}
.hal-marketing .hal-public-header .navbar {min-height:94px;padding:16px 0}
.hal-marketing .hal-public-header .navbar-nav {gap:24px}
.hal-marketing .hal-public-header .nav-link {color:#fcfcfc;font-size:16px;padding:8px 0}
.hal-marketing .hal-public-header .nav-link.active,.hal-marketing .hal-public-header .nav-link:hover {color:#efaf5d}
.hal-marketing .hal-public-header .btn {min-width:168px}
.hal-marketing .hal-public-content>.row {padding:56px max(24px,calc((100vw - 1110px)/2));margin:0;height:auto!important;position:relative}
.hal-marketing .hal-public-content>.row>div {min-width:0}
.hal-marketing .hal-public-content .h1 {font-size:40px;font-weight:800;line-height:1.1}
.hal-marketing .hal-public-content>.row:first-child .h1 {font-size:70px;line-height:.95;letter-spacing:-.02em}
.hal-marketing .hal-public-content p,.hal-marketing .hal-public-content .h6 {line-height:1.5}
.hal-marketing .hal-public-content .strip-container {display:none!important}
.hal-marketing .halfi-top-row {background:linear-gradient(135deg,#131313,#494949);color:white}
.hal-marketing .hal-public-content .text-brown {color:#9b5a0b!important}
.hal-marketing .halfi-top-row .text-brown {color:#efaf5d!important}
.hal-marketing .halfi-slogan-top,.hal-marketing .halfi-slogan-bottom {width:auto!important;max-width:720px;margin:0 auto}
.hal-marketing .halfi-slogan-bottom {max-width:510px;font-size:18px}
.hal-marketing .hal-public-home .halfi-top-row {min-height:700px}
.hal-marketing .halfi-top-row .halfi-btn-large {min-width:232px;margin-top:24px;margin-bottom:30px;min-height:54px}
.hal-marketing .halfi-top-row img[src*='smile'] {width:min(650px,90%);max-height:180px;object-fit:contain}
.hal-marketing .halfi-first-mid-row {background:var(--hal-cream)}
.hal-marketing .halfi-first-mid-row+.halfi-first-mid-row {padding-top:0}
.hal-marketing .product-feature-square {display:flex;align-items:flex-start;gap:20px;width:auto;height:auto;margin:0;padding:20px 16px 24px 0}
.hal-marketing .product-feature-margin-l {margin-left:0}
.hal-marketing .product-feature-icon {position:static;display:block;flex:0 0 64px}
.hal-marketing .product-feature-icon img {width:64px;height:64px;object-fit:contain}
.hal-marketing .product-feature-square .card-body {padding:0}
.hal-marketing .product-feature-title,.hal-marketing .product-feature-description {position:static!important;margin:0 0 8px!important;width:auto!important}
.hal-marketing .hal-public-content>.row:has(.halfi-mid-panel) {padding:0}
.hal-marketing .halfi-mid-panel {padding:64px 56px 64px max(24px,calc((100vw - 1110px)/2));background:var(--hal-primary);height:auto;min-height:420px}
.hal-marketing .halfi-mid-panel h3 {font-size:34px;margin:18px 0}
.hal-marketing .happy-customer {min-height:420px;background-size:cover;background-position:center}
.hal-marketing .halfi-mid-row {background:var(--hal-cream);align-items:center}
.hal-marketing .halfi-mid-row h3 {margin-top:0!important;font-size:40px;text-align:left!important}
.hal-marketing .halfi-mid-row .text-center {text-align:left!important}
.hal-marketing .halfi-works-container {width:100%;margin:0;position:static}
.hal-marketing .halfi-works-item {height:auto;margin:0;display:grid;grid-template-columns:44px 1fr;column-gap:18px;row-gap:20px}
.hal-marketing .halfi-works-serial {position:static;margin:0;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-weight:700;background:var(--hal-primary);color:white}
.hal-marketing .halfi-works-item .card-body {padding:0;margin:0}
.hal-marketing .halfi-works-title,.hal-marketing .halfi-works-description {margin:0 0 6px;position:static;width:auto}
.hal-marketing .halfi-works-item>.btn {grid-column:1/-1;margin:12px 0!important;justify-self:start}
.hal-marketing .halfi-mid-row img[src*='app-demo'] {width:100%;height:auto;max-height:620px;object-fit:contain;margin:0!important}
.hal-marketing .hal-public-cta {padding:60px 0;background:var(--hal-primary) url('/assets/hal-web/patterns/cta-arches.svg') center/cover no-repeat}
.hal-marketing .hal-cta-card {display:flex;gap:40px;align-items:center;justify-content:space-between;padding:48px 56px;border-radius:10px;background:linear-gradient(135deg,#ffffffe8,#ffffffb8);box-shadow:0 4px 4px #1313131a}
.hal-marketing .hal-cta-card h2 {font-size:34px;max-width:430px;font-weight:800;margin:0}
.hal-marketing .hal-cta-card .btn {min-width:232px;min-height:54px}
.hal-marketing .hal-public-footer {background:#131313;color:white;padding-top:48px}
.hal-marketing .hal-footer-grid {display:grid;grid-template-columns:1.1fr 1fr 1fr 1.3fr;gap:36px;padding-bottom:40px}
.hal-marketing .hal-public-footer h2 {font-size:14px;text-transform:uppercase;color:#efaf5d;letter-spacing:.06em;margin:0 0 18px}
.hal-marketing .hal-public-footer a {display:block;color:white;margin-bottom:10px;font-size:14px;overflow-wrap:anywhere}
.hal-marketing .hal-public-footer p {font-size:14px;margin-top:16px}
.hal-marketing .hal-public-copyright {background:#252525;font-size:12px;padding:14px 0}
.hal-marketing .contact-title {margin:0!important}
.hal-marketing .contact-title .h6 {max-width:360px}
.hal-marketing .contact-form {position:static;background:#131313;padding:30px;border-radius:10px;width:100%;height:auto;margin:0!important}
.hal-marketing .contact-form .row {row-gap:16px}
.hal-marketing .contact-form .form-control {margin:0;padding:12px 15px;min-height:46px}
.hal-marketing .contact-form textarea {height:110px;resize:vertical}
.hal-marketing .contact-info {background:var(--hal-cream)}
.hal-marketing .contact-info .mt-5 {margin:0!important}
.hal-marketing .contact-info .text-truncate {white-space:normal}
.hal-marketing .contact-info p[style*='width'] {width:auto!important;max-width:350px}
.hal-marketing .mapouter,.hal-marketing .gmap_canvas {width:100%;height:267px}
.hal-marketing .gmap_canvas iframe {width:100%;height:267px;border:1px solid var(--hal-primary);border-radius:10px}
.hal-marketing .gmap_canvas>a,.hal-marketing .gmap_canvas>br {display:none}
.hal-marketing .hal-public-content .product-service-description {position:static;width:auto;margin:0!important;max-width:700px}
.hal-marketing .product-service-description .h4 {margin-top:56px!important;font-size:40px}
.hal-marketing .hal-public-content .service-item-left,.hal-marketing .hal-public-content .service-item-right {width:auto;margin:0!important;padding:24px 28px 24px 0;border-bottom:1px solid #cf7e1960}
.hal-marketing .hal-public-content .service-item-left .text-truncate,.hal-marketing .hal-public-content .service-item-right .text-truncate {white-space:normal}
.hal-marketing .hal-public-content img[src*='abstract-5'],.hal-marketing .hal-public-content img[src*='abstract-6'] {position:static!important;width:100%;height:260px;object-fit:cover;margin:40px 0 0!important;border-radius:10px}
.hal-marketing.hal-public-products-and-services .hal-public-content>.row:nth-child(3)>div>div {width:auto!important;margin:0!important;max-width:650px}
.hal-marketing.hal-public-faq .halfi-top-row>div>div {position:static!important;margin:0 auto!important;max-width:760px}
.hal-marketing.hal-public-faq .halfi-top-row .h1 {font-size:60px}
.hal-marketing.hal-public-faq .input-group {max-width:550px;margin:28px auto 0}
.hal-marketing.hal-public-faq .input-group input {border-radius:10px 0 0 10px!important}
.hal-marketing.hal-public-faq .input-group button {border-radius:0 10px 10px 0!important;margin:0!important;height:46px}
.hal-marketing .accordion {position:static!important;margin:0!important;width:100%}
.hal-marketing .accordion-item {border:0;border-bottom:1px solid #cf7e1960;background:transparent}
.hal-marketing .accordion-button {padding:24px 0;background:transparent;color:var(--hal-ink);box-shadow:none;font-family:inherit;font-size:18px}
.hal-marketing .accordion-button:not(.collapsed) {color:var(--hal-link)}
.hal-marketing .accordion-body {padding:0 0 24px;line-height:1.6;max-width:900px}
.hal-marketing.hal-public-about .hal-public-content>.row:first-child {min-height:0}
.hal-marketing.hal-public-about .hal-public-content>.row:first-child .mt-5 {margin:0!important;position:static!important;width:auto!important;max-width:850px}
.hal-marketing.hal-public-about .hal-public-content>.row:nth-child(2) {padding-top:48px;padding-bottom:48px}
.hal-marketing.hal-public-about .hal-public-content>.row:nth-child(2) h5 {margin-top:0!important;font-size:34px}
.hal-marketing.hal-public-about .hal-public-content>.row:nth-child(2) h6 {width:auto!important;max-width:400px;margin:20px auto!important}
.hal-marketing.hal-public-about .hal-public-content>.row:nth-child(3)>div>div {position:static;width:auto!important;margin:0!important}
.hal-marketing.hal-public-about .hal-public-content>.row:nth-child(3) img {margin:0!important;max-height:330px}
.hal-marketing #our-team {padding-bottom:0}
.hal-marketing #our-team+.row {padding-top:20px}
.hal-marketing #our-team+.row>.mt-5 {display:none}
.hal-marketing #our-team+.row>div>div {margin:0 0 32px!important;width:100%!important;text-align:left}
.hal-marketing #our-team+.row img {width:100%;height:230px;object-fit:cover;border-radius:10px}
@media(max-width:991px) {
 .hal-marketing .hal-public-header .navbar-nav {gap:8px;padding:20px 0;align-items:stretch}
 .hal-marketing .hal-public-content>.row:first-child .h1 {font-size:48px}
 .hal-marketing .hal-cta-card {padding:32px;gap:24px}
 .hal-marketing .hal-footer-grid {grid-template-columns:1fr 1fr}
 .hal-marketing .hal-public-content>.row {padding:40px 24px}
 .hal-marketing .halfi-mid-panel {padding:40px 24px}
 .hal-marketing .hal-public-content .h1 {font-size:34px}
}
@media(max-width:767px) {
 .hal-marketing .hal-public-content>.row:first-child .h1 {font-size:40px;line-height:1.05}
 .hal-marketing .hal-public-content>.row {padding:36px 20px;gap:24px}
 .hal-marketing .hal-public-content>.row>[class*='col-'] {padding:0}
 .hal-marketing .hal-public-content .halfi-slogan-bottom {font-size:16px}
 .hal-marketing .halfi-top-row .pt-5 {padding-top:8px!important}
 .hal-marketing .halfi-top-row img[src*='smile'] {width:100%;margin-top:24px}
 .hal-marketing .hal-public-content .h1,.hal-marketing .halfi-mid-row h3 {font-size:32px}
 .hal-marketing .product-feature-square {padding:0;gap:16px}
 .hal-marketing .halfi-mid-panel {padding:36px 24px!important}
 .hal-marketing .happy-customer {min-height:320px}
 .hal-marketing .hal-cta-card {display:block;padding:28px}
 .hal-marketing .hal-cta-card h2 {font-size:30px;margin-bottom:24px}
 .hal-marketing .hal-cta-card .btn {min-width:0;width:100%}
 .hal-marketing .hal-footer-grid {gap:24px;grid-template-columns:1fr 1fr}
 .hal-marketing .contact-form {padding:24px}
 .hal-marketing.hal-public-about .hal-public-content>.row:first-child img {max-width:27%;max-height:160px;object-fit:cover}
}

/* Public website increment PUB-01: shared shell and Home. */
.hal-marketing a:focus-visible,.hal-marketing button:focus-visible {outline:3px solid #b96000;outline-offset:5px}
.hal-marketing .hal-public-header a:focus-visible,.hal-marketing .hal-public-footer a:focus-visible,.hal-marketing .hal-home-hero a:focus-visible {outline-color:#ffcb83}
.hal-marketing .hal-public-header .nav-link {min-height:44px;display:flex;align-items:center}
.hal-marketing .hal-home-hero {padding:88px 0;background:#161a18;color:#fff}
.hal-marketing .hal-home-hero h1 {font-size:clamp(2.6rem,5.5vw,4.5rem);font-weight:800;line-height:1.08;letter-spacing:-.035em;color:#fff;margin:16px 0 24px}
.hal-marketing .hal-home-hero h1 span {color:#efaf5d}
.hal-marketing .hal-home-hero a:not(.btn) {color:#ffcb83;text-underline-offset:4px}
.hal-marketing .hal-home-lead {font-size:1.15rem;max-width:590px;color:#e1e5df;margin-bottom:28px}
.hal-marketing .hal-home-hero .btn,.hal-marketing .hal-home-section .btn {padding:12px 22px;min-height:48px;white-space:normal}
.hal-marketing .hal-eyebrow {font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;font-weight:700;color:#8b500a;margin-bottom:12px}
.hal-marketing .hal-home-hero .hal-eyebrow {color:#ffcb83}
.hal-marketing .hal-home-intro {padding:36px;border:1px solid #536052;border-radius:24px;background:#253127}
.hal-marketing .hal-home-intro h2 {font-size:1.8rem;color:white;margin:24px 0 16px}
.hal-marketing .hal-home-section {padding:76px 0;scroll-margin-top:24px}
.hal-marketing .hal-home-section h2 {font-size:clamp(1.8rem,3vw,2.6rem);font-weight:700;letter-spacing:-.025em;margin-bottom:20px}
.hal-marketing .hal-section-intro {max-width:680px;color:#555}
.hal-marketing .hal-home-section h3 {font-size:1.2rem;font-weight:700}
.hal-marketing .hal-home-soft {background:#f5f3ec}
.hal-marketing .hal-service-card {border:1px solid #e4e4da;border-radius:16px;box-shadow:none}
.hal-marketing .hal-service-card .card-body {padding:28px}
.hal-marketing .hal-service-card h3 {margin-top:24px}
.hal-marketing .hal-service-card p {color:#555;margin-bottom:24px}
.hal-marketing .hal-service-card a {color:#854900;font-weight:600;text-underline-offset:4px}
.hal-marketing .hal-home-steps {counter-reset:step;list-style:none;padding:0;margin:0}
.hal-marketing .hal-home-steps li {position:relative;padding:0 0 24px 64px;counter-increment:step}
.hal-marketing .hal-home-steps li::before {content:counter(step);position:absolute;left:0;top:0;width:40px;height:40px;display:grid;place-items:center;background:#ece0cd;color:#693900;border-radius:50%;font-weight:700}
.hal-marketing .hal-home-note {padding:32px;border-radius:20px;background:#f5f3ec}
.hal-marketing .hal-mobile-preview {width:100%;max-width:360px;height:380px;object-fit:contain}
@media(max-width:767px){.hal-marketing .hal-home-hero,.hal-marketing .hal-home-section {padding:44px 0}.hal-marketing .hal-home-intro {padding:24px}.hal-marketing .hal-mobile-preview {height:300px}}
@media(prefers-reduced-motion:reduce){.hal-marketing *,.hal-marketing *::before,.hal-marketing *::after {scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.hal-marketing .hal-product-copy {white-space:pre-line;overflow-wrap:anywhere;max-width:75ch}
.hal-marketing .hal-product-detail {padding-top:24px;margin-top:24px;border-top:1px solid #e4e4da}
.hal-marketing .hal-home-section h1 {font-size:clamp(2rem,4vw,3.5rem);font-weight:800;overflow-wrap:anywhere}
.hal-marketing .hal-contact-map {width:100%;border:0;border-radius:12px}
.hal-marketing .hal-faq-answer {border-bottom:1px solid #ddd;padding:20px 0;max-width:900px}
.hal-marketing summary {cursor:pointer;font-weight:600;line-height:1.6}
.hal-marketing summary:focus-visible {outline:3px solid #b96000;outline-offset:5px}
.hal-marketing .hal-faq-answer p {margin:16px 0 0;max-width:75ch}

/* Shared public help: native details remains usable without JavaScript. */
.hal-marketing .hal-public-help {position:fixed;right:24px;bottom:24px;z-index:1040;max-width:calc(100vw - 32px)}
.hal-marketing .hal-help-launcher {list-style:none;display:flex;align-items:center;gap:10px;padding:14px 20px;border-radius:30px;background:#713b00;color:#fff;box-shadow:0 6px 24px #0003;width:max-content;margin-left:auto}
.hal-marketing .hal-help-launcher::-webkit-details-marker {display:none}
.hal-marketing .hal-help-panel {position:absolute;right:0;bottom:calc(100% + 12px);width:360px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 120px);overflow-y:auto;padding:24px;border:1px solid #e5ded3;border-radius:18px;background:#fff;color:#252525;box-shadow:0 12px 48px #0003;overscroll-behavior:contain}
.hal-marketing .hal-help-panel .list-group-item {display:flex;justify-content:space-between;gap:12px}
.hal-marketing .hal-public-copyright {padding-bottom:100px}
@media(max-width:575px){.hal-marketing .hal-public-help {right:16px;bottom:16px}.hal-marketing .hal-help-panel {padding:18px;max-height:calc(100dvh - 104px)}}

/* Public-site readability and navigation at intermediate viewport widths. */
.hal-marketing .btn-primary,.hal-marketing .halfi-btn-primary {background:#8a4b08!important;border-color:#8a4b08;color:#fff!important}
.hal-marketing .btn-primary:hover,.hal-marketing .halfi-btn-primary:hover {background:#713b00!important}
.hal-marketing input:focus-visible,.hal-marketing select:focus-visible,.hal-marketing textarea:focus-visible {outline:3px solid #8a4b08;outline-offset:3px}
.hal-marketing .form-control,.hal-marketing .form-select {min-height:44px;font-size:16px}
.hal-marketing .hal-public-content p a {text-decoration:underline;text-underline-offset:3px}
.hal-marketing [id] {scroll-margin-top:24px}
.hal-marketing .hal-help-panel {max-height:calc(100vh - 120px);max-height:calc(100dvh - 120px)}
@media(max-width:1399.98px){.hal-marketing .hal-public-header .navbar-nav {gap:8px;padding:20px 0;align-items:stretch}.hal-marketing .hal-public-header .nav-link {padding:10px 0}}
@media(min-width:1400px){.hal-marketing .hal-public-header .container {max-width:1320px}.hal-marketing .hal-public-header .navbar-nav {gap:18px}}
@media(max-width:575px){.hal-marketing .hal-help-panel {max-height:calc(100vh - 104px);max-height:calc(100dvh - 104px)}}

.hal-marketing .hal-home-hero .btn-outline-light {color:#fff!important}
.hal-marketing .hal-home-hero .btn-outline-light:hover {color:#131313!important;background:#fff}

/* Submit-in-progress indicator; reuses Bootstrap's spinner rotation. */
.hal-marketing .hal-btn-spinner {display:inline-block;width:1em;height:1em;margin-right:.5em;vertical-align:-.15em;border:.2em dotted currentColor;border-radius:50%;animation:spinner-border 1s linear infinite}
.hal-marketing .btn[data-busy-label]:disabled {opacity:.8}

/* Keyboard focus scrolls clear of the floating help button (WCAG 2.4.11). */
html {scroll-padding-bottom:96px}
/* Bootstrap's muted grey is 4.2:1 on the soft cream panels; this shade passes AA on white and cream. */
.hal-marketing .text-muted,.hal-marketing .breadcrumb-item.active {color:#5c636a!important}
/* Links inside alerts take the alert's own AA text colour instead of the brand link colour. */
.hal-marketing .alert a {color:inherit;text-decoration:underline}
/* Bootstrap's field-error red is 4.4:1 at small sizes; this shade passes AA. */
.hal-marketing .invalid-feedback {color:#b02a37}
/* Contact form honeypot: off-screen, not display:none, so simple bots still fill it. */
.hal-marketing .hal-contact-trap {position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
/* PW-17 media: team photos and product images keep their aspect ratio inside the existing cards. */
.hal-marketing .hal-team-photo {width:160px;height:160px;object-fit:cover;border-radius:50%}
.hal-marketing .hal-product-image {width:100%;height:auto;max-height:420px;object-fit:cover;border-radius:16px}
/* PW-19 calculator asset-type selector: native radios styled as a wrapping button grid. */
.hal-marketing .hal-asset-types {display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}
.hal-marketing .hal-asset-type {display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal}
.hal-marketing .btn-check:checked + .hal-asset-type {background:#8a4b08;border-color:#8a4b08;color:#fff}
.hal-marketing .btn-check:focus-visible + .hal-asset-type {outline:3px solid #131313;outline-offset:2px}
/* PW-20 live chat inside the help panel. */
.hal-marketing .hal-chat {border:1px solid #e5ded3;border-radius:12px;padding:12px}
.hal-marketing .hal-chat-log {max-height:220px;overflow-y:auto;display:flex;flex-direction:column;gap:6px;padding:4px}
.hal-marketing .hal-chat-message {margin:0;padding:8px 10px;border-radius:10px;max-width:90%;overflow-wrap:anywhere;white-space:pre-wrap;font-size:.9rem}
.hal-marketing .hal-chat-visitor {align-self:flex-end;background:#f5f3ec}
.hal-marketing .hal-chat-staff {align-self:flex-start;background:#fff;border:1px solid #e5ded3}
.hal-marketing .hal-chat-system {align-self:center;background:transparent;color:#5c636a;font-size:.8rem}
.hal-marketing .hal-chat-author {display:block;font-weight:600;font-size:.75rem;margin-bottom:2px}
.hal-marketing .hal-help-launcher[data-unread]::after {content:attr(data-unread);display:inline-block;min-width:1.4em;margin-left:6px;padding:0 6px;border-radius:999px;background:#b02a37;color:#fff;font-size:.8rem;text-align:center}

/* Live chat: typing indicator */
.hal-chat-typing{margin:.25rem 0 0;font-size:.85rem;color:var(--hal-muted,#5c636a);font-style:italic}
