/* =========================================================
   Headbrid Services Page
   Add to /css/services.css or replace the existing page CSS.
   ========================================================= */

.hb-services {
    --hb-black: #0a0a0a;
    --hb-charcoal: #151515;
    --hb-gold: #c9a84c;
    --hb-gold-light: #e1c878;
    --hb-cream: #f7f5ef;
    --hb-white: #ffffff;
    --hb-text: #242424;
    --hb-muted: #66645f;
    --hb-line: rgba(10, 10, 10, .13);
    color: var(--hb-text);
    overflow: hidden;
}

.hb-services * { box-sizing: border-box; }
.hb-services .container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.hb-services h1, .hb-services h2, .hb-services h3, .hb-services p { margin-top: 0; }
.hb-services h1, .hb-services h2, .hb-services h3 { line-height: 1.12; }
.hb-services h1, .hb-services h2 { letter-spacing: -.035em; }
.hb-services h1 { font-size: clamp(2.5rem, 5vw, 4.65rem); max-width: 850px; margin-bottom: 24px; }
.hb-services h1 span { color: var(--hb-gold-light); }
.hb-services h2 { font-size: clamp(2rem, 3.4vw, 3.15rem); margin-bottom: 20px; }
.hb-services h3 { font-size: 1.28rem; margin-bottom: 12px; }
.hb-services p { line-height: 1.72; }
.hb-services a { transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.hb-services a:focus-visible, .hb-services summary:focus-visible { outline: 3px solid var(--hb-gold); outline-offset: 4px; }

.hb-services .hb-eyebrow {
    color: #947522;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .15em;
    line-height: 1.4;
    margin-bottom: 17px;
    text-transform: uppercase;
}
.hb-services-hero .hb-eyebrow,
.hb-final-cta .hb-eyebrow { color: var(--hb-gold-light); }

.hb-services .hb-services-hero {
    background: radial-gradient(circle at 85% 10%, rgba(201,168,76,.14), transparent 31%), var(--hb-black);
    color: var(--hb-white);
    padding: clamp(76px, 9vw, 125px) 0;
}
.hb-services .hb-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); align-items: center; gap: clamp(40px, 7vw, 90px); }
.hb-services .hb-hero-copy { max-width: 760px; }
.hb-services .hb-hero-lead { color: #dedbd3; font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 690px; margin-bottom: 28px; }
.hb-services .hb-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.hb-services .hb-actions .btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 13px 21px; border-radius: 3px; font-weight: 750; text-decoration: none; }
.hb-services .hb-actions .btn-gold { background: var(--hb-gold); border: 1px solid var(--hb-gold); color: var(--hb-black); }
.hb-services .hb-actions .btn-gold:hover { background: var(--hb-gold-light); border-color: var(--hb-gold-light); transform: translateY(-2px); }
.hb-services .hb-actions .btn-outline { background: transparent; border: 1px solid currentColor; color: inherit; }
.hb-services .hb-actions .btn-outline:hover { background: var(--hb-black); color: var(--hb-white); }
.hb-services .hb-text-link { color: inherit; font-size: .95rem; font-weight: 700; text-decoration: none; }
.hb-services .hb-text-link span { color: var(--hb-gold); margin-left: 5px; }
.hb-services .hb-text-link:hover { color: var(--hb-gold-light); }
.hb-services .hb-hero-note { color: #aaa79e; font-size: .82rem; margin: 20px 0 0; }

.hb-services .hb-hero-card { background: #171717; border: 1px solid rgba(201,168,76,.35); border-radius: 8px; padding: clamp(24px, 3vw, 34px); box-shadow: 0 24px 65px rgba(0,0,0,.22); }
.hb-services .hb-card-kicker { color: var(--hb-gold-light); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 25px; }
.hb-services .hb-problem-row { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 19px 0; border-top: 1px solid rgba(255,255,255,.12); }
.hb-services .hb-problem-row:first-of-type { border-top: 0; }
.hb-services .hb-check { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--hb-gold); border-radius: 50%; color: var(--hb-gold-light); font-size: .75rem; font-weight: 800; }
.hb-services .hb-problem-row strong { display: block; margin: 1px 0 5px; color: #fff; }
.hb-services .hb-problem-row p { color: #bdbab2; font-size: .9rem; line-height: 1.55; margin: 0; }

.hb-services .hb-section { padding: clamp(68px, 8vw, 105px) 0; }
.hb-services .hb-section-light { background: var(--hb-cream); }
.hb-services .hb-two-column { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 7vw, 100px); align-items: start; }
.hb-services .hb-two-column h2 { max-width: 540px; }
.hb-services .hb-body-copy { max-width: 620px; }
.hb-services .hb-body-copy p:last-child { margin-bottom: 0; }
.hb-services .hb-body-copy p { color: #55534d; }

.hb-services .hb-offer-section { background: #fff; }
.hb-services .hb-section-heading { margin-bottom: 42px; }
.hb-services .hb-heading-narrow { max-width: 750px; margin-inline: auto; text-align: center; }
.hb-services .hb-section-heading > p:last-child { color: var(--hb-muted); }
.hb-services .hb-offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.hb-services .hb-offer-card { display: flex; flex-direction: column; min-width: 0; padding: 30px; border: 1px solid #e3e0d8; border-radius: 7px; background: #fff; }
.hb-services .hb-offer-featured { border: 1px solid var(--hb-gold); box-shadow: 0 12px 34px rgba(31,25,10,.08); position: relative; }
.hb-services .hb-offer-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 25px; }
.hb-services .hb-offer-number { color: #9b7b2b; font-size: .8rem; font-weight: 850; letter-spacing: .08em; }
.hb-services .hb-offer-label { border-radius: 30px; background: #f4f0e3; color: #69551f; padding: 6px 10px; font-size: .7rem; font-weight: 750; }
.hb-services .hb-offer-card h3 { font-size: 1.5rem; }
.hb-services .hb-offer-summary { color: #5d5a53; font-size: .94rem; }
.hb-services .hb-list { list-style: none; padding: 0; margin: 12px 0 24px; }
.hb-services .hb-list li { position: relative; padding: 0 0 0 22px; margin: 12px 0; color: #45433e; font-size: .9rem; line-height: 1.55; }
.hb-services .hb-list li::before { content: ""; position: absolute; left: 1px; top: .58em; width: 8px; height: 8px; border-radius: 50%; background: var(--hb-gold); }
.hb-services .hb-offer-note { margin-top: auto; padding-top: 17px; border-top: 1px solid #ece9e1; font-size: .84rem; font-weight: 750; }
.hb-services .hb-card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: #6d5418; font-weight: 800; text-decoration: none; }
.hb-services .hb-card-link:hover { color: #17130a; gap: 12px; }
.hb-services .hb-disclaimer { max-width: 900px; margin: 26px auto 0; color: #77736a; font-size: .82rem; text-align: center; }

.hb-services .hb-deliverables-section { background: var(--hb-cream); }
.hb-services .hb-deliverables-intro { margin-bottom: 42px; }
.hb-services .hb-deliverables-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 42px; }
.hb-services .hb-deliverable { display: grid; grid-template-columns: 45px 1fr; gap: 17px; padding: 25px 0; border-top: 1px solid #dedbd2; }
.hb-services .hb-deliverable-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #c4a54d; border-radius: 4px; color: #87691e; font-size: .85rem; font-weight: 850; }
.hb-services .hb-deliverable h3 { margin-bottom: 7px; font-size: 1.12rem; }
.hb-services .hb-deliverable p { margin: 0; color: #625f58; font-size: .92rem; }

.hb-services .hb-process-section { background: var(--hb-black); color: #fff; }
.hb-services .hb-process-section .hb-section-heading > p:last-child { color: #bbb7ad; }
.hb-services .hb-process-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.hb-services .hb-process-step { padding: 22px 18px; border-top: 1px solid rgba(201,168,76,.75); background: #141414; }
.hb-services .hb-process-step > span { display: block; margin-bottom: 27px; color: var(--hb-gold-light); font-size: .8rem; font-weight: 850; }
.hb-services .hb-process-step h3 { font-size: 1.1rem; }
.hb-services .hb-process-step p { margin: 0; color: #bbb7ad; font-size: .88rem; line-height: 1.6; }

.hb-services .hb-management-section { background: #fff; }
.hb-services .hb-management-layout { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: clamp(40px, 8vw, 110px); }
.hb-services .hb-management-layout > div:first-child { max-width: 610px; }
.hb-services .hb-management-lead { color: #5d5a53; margin-bottom: 25px; }
.hb-services .hb-management-section .btn-outline { color: #171717; border-color: #171717; }
.hb-services .hb-management-section .btn-outline:hover { color: #fff; }
.hb-services .hb-management-panel { padding: 12px 28px; background: var(--hb-cream); border-radius: 7px; }
.hb-services .hb-management-panel > div { display: grid; grid-template-columns: 40px 1fr; gap: 15px; align-items: start; padding: 20px 0; border-bottom: 1px solid #e0ddd4; }
.hb-services .hb-management-panel > div:last-child { border-bottom: 0; }
.hb-services .hb-management-panel span { color: #967727; font-size: .8rem; font-weight: 850; }
.hb-services .hb-management-panel p { margin: 0; color: #5d5a53; font-size: .94rem; }
.hb-services .hb-management-panel strong { color: #191919; }

.hb-services .hb-fit-section { background: #f1eee6; }
.hb-services .hb-fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.hb-services .hb-fit-grid > article { padding: 30px; background: #fff; border: 1px solid #e0ddd4; border-radius: 6px; }
.hb-services .hb-fit-grid h3 { margin-bottom: 18px; }
.hb-services .hb-fit-grid .hb-list { margin-bottom: 0; }

.hb-services .hb-faq-section { background: #fff; }
.hb-services .hb-faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(35px, 7vw, 100px); align-items: start; }
.hb-services .hb-faq-list details { border-bottom: 1px solid #dedbd2; padding: 19px 0; }
.hb-services .hb-faq-list details:first-child { border-top: 1px solid #dedbd2; }
.hb-services .hb-faq-list summary { cursor: pointer; font-size: 1rem; font-weight: 800; line-height: 1.5; list-style: none; padding-right: 35px; position: relative; }
.hb-services .hb-faq-list summary::-webkit-details-marker { display: none; }
.hb-services .hb-faq-list summary::after { content: "+"; position: absolute; right: 4px; top: -3px; color: #987823; font-size: 1.5rem; font-weight: 400; }
.hb-services .hb-faq-list details[open] summary::after { content: "−"; }
.hb-services .hb-faq-list details p { margin: 12px 30px 2px 0; color: #605d56; font-size: .94rem; }

.hb-services .hb-final-cta { padding: clamp(70px, 8vw, 105px) 0; background: radial-gradient(circle at 50% 0%, rgba(201,168,76,.16), transparent 42%), #0a0a0a; color: #fff; text-align: center; }
.hb-services .hb-final-cta-inner { max-width: 800px; }
.hb-services .hb-final-cta h2 { max-width: 760px; margin-inline: auto; }
.hb-services .hb-final-cta p:not(.hb-eyebrow) { max-width: 680px; margin: 0 auto 28px; color: #c7c3ba; }
.hb-services .hb-actions-center { justify-content: center; }


/* Dark typography for the five light-background sections */

.hb-services .hb-section-light,
.hb-services .hb-deliverables-section,
.hb-services .hb-management-section,
.hb-services .hb-fit-section,
.hb-services .hb-faq-section {
    color: #222222;
}

/* Section headings */
.hb-services .hb-section-light h1,
.hb-services .hb-section-light h2,
.hb-services .hb-section-light h3,
.hb-services .hb-deliverables-section h1,
.hb-services .hb-deliverables-section h2,
.hb-services .hb-deliverables-section h3,
.hb-services .hb-management-section h1,
.hb-services .hb-management-section h2,
.hb-services .hb-management-section h3,
.hb-services .hb-fit-section h1,
.hb-services .hb-fit-section h2,
.hb-services .hb-fit-section h3,
.hb-services .hb-faq-section h1,
.hb-services .hb-faq-section h2,
.hb-services .hb-faq-section h3 {
    color: #171717;
}

/* Paragraphs and descriptive text */
.hb-services .hb-section-light p,
.hb-services .hb-deliverables-section p,
.hb-services .hb-management-section p,
.hb-services .hb-fit-section p,
.hb-services .hb-faq-section p {
    color: #55534d;
}

/* Gold section labels */
.hb-services .hb-section-light .hb-eyebrow,
.hb-services .hb-deliverables-section .hb-eyebrow,
.hb-services .hb-management-section .hb-eyebrow,
.hb-services .hb-fit-section .hb-eyebrow,
.hb-services .hb-faq-section .hb-eyebrow {
    color: #8a6b20;
}

/* FAQ questions */
.hb-services .hb-faq-section .hb-faq-list summary {
    color: #222222;
}


@media (max-width: 980px) {
    .hb-services .hb-hero-grid { grid-template-columns: 1fr; }
    .hb-services .hb-hero-card { max-width: 650px; }
    .hb-services .hb-offer-grid { grid-template-columns: 1fr 1fr; }
    .hb-services .hb-offer-card:last-child { grid-column: 1 / -1; }
    .hb-services .hb-process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hb-services .hb-process-step:last-child { grid-column: auto; }
}
@media (max-width: 700px) {
    .hb-services .container { width: min(100% - 32px, 560px); }
    .hb-services .hb-two-column,
    .hb-services .hb-management-layout,
    .hb-services .hb-faq-layout { grid-template-columns: 1fr; gap: 25px; }
    .hb-services .hb-offer-grid,
    .hb-services .hb-deliverables-grid,
    .hb-services .hb-fit-grid { grid-template-columns: 1fr; }
    .hb-services .hb-offer-card:last-child { grid-column: auto; }
    .hb-services .hb-process-grid { grid-template-columns: 1fr 1fr; }
    .hb-services .hb-process-step { padding: 20px 15px; }
    .hb-services .hb-process-step > span { margin-bottom: 18px; }
    .hb-services .hb-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
    .hb-services .hb-actions .btn { width: 100%; }
    .hb-services .hb-actions-center { align-items: center; }
    .hb-services .hb-offer-card { padding: 24px; }
    .hb-services .hb-fit-grid > article { padding: 24px; }
}
@media (max-width: 420px) {
    .hb-services .hb-process-grid { grid-template-columns: 1fr; }
    .hb-services .hb-offer-top { align-items: flex-start; flex-direction: column; }
}
