/**
 * Shared responsive visual system for the public Call BDC website.
 * File: C:\Users\amolo\OneDrive\Documents\NetBeansProjects\ai_bdc\assets\css\site.css
 */

:root {
    color-scheme: light;
    --navy: #173f6d;
    --navy-deep: #0d2948;
    --blue: #1676c9;
    --blue-bright: #258de3;
    --blue-pale: #eaf4fd;
    --blue-soft: #d8ebfb;
    --ice: #f5f9fd;
    --ink: #17324e;
    --muted: #63778b;
    --white: #fff;
    --line: #d9e5ef;
    --shadow: 0 22px 60px rgba(13, 41, 72, 0.13);
    --radius: 22px;
    --shell: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

:focus-visible {
    outline: 3px solid #69b7f5;
    outline-offset: 3px;
}

.page-shell {
    width: min(var(--shell), calc(100% - 48px));
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.skip-link {
    position: fixed;
    z-index: 20;
    top: 12px;
    left: 12px;
    transform: translateY(-160%);
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--white);
    color: var(--navy);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 10;
    background: var(--navy);
    color: var(--white);
}

.site-header__inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
}

.brand__mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.1);
}

.brand__mark svg {
    width: 30px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.brand__name {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.1;
}

.brand__name strong {
    display: block;
    font-size: 18px;
    letter-spacing: 0.14em;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 34px;
}

.primary-navigation a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease;
}

.primary-navigation a:hover,
.primary-navigation a.is-active {
    color: var(--white);
}

.primary-navigation .nav-login {
    padding: 10px 17px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    color: var(--white);
}

.nav-login span {
    margin-left: 5px;
    color: #93cdfa;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.menu-toggle__icon {
    position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
    position: absolute;
    left: 0;
    content: "";
}

.menu-toggle__icon::before {
    top: -6px;
}

.menu-toggle__icon::after {
    top: 6px;
}

.hero {
    position: relative;
    display: flex;
    min-height: 610px;
    align-items: center;
    overflow: hidden;
    background-color: var(--navy-deep);
    background-image:
        linear-gradient(90deg, rgba(9, 34, 60, 0.93) 0%, rgba(12, 43, 74, 0.8) 38%, rgba(13, 41, 72, 0.2) 75%),
        url("../images/callbdc-hero.png");
    background-position: center, 55% center;
    background-size: cover;
    color: var(--white);
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 96px;
    background: linear-gradient(0deg, rgba(8, 30, 53, 0.5), transparent);
    content: "";
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    padding-block: 78px 112px;
}

.hero__content {
    max-width: 650px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blue-bright);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hero .eyebrow,
.page-banner .eyebrow {
    color: #a9d9ff;
}

.eyebrow::before {
    width: 24px;
    height: 2px;
    background: currentColor;
    content: "";
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--navy-deep);
    line-height: 1.13;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(42px, 6vw, 70px);
    letter-spacing: -0.055em;
}

.hero h1,
.page-banner h1 {
    color: var(--white);
}

.hero__text {
    max-width: 570px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(17px, 2vw, 20px);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--blue-bright);
    color: var(--white);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
    background: #0872c8;
    box-shadow: 0 12px 25px rgba(0, 65, 125, 0.2);
}

.button--light {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.07);
}

.button--light:hover {
    background: rgba(255, 255, 255, 0.16);
}

.button--outline {
    border-color: var(--line);
    background: transparent;
    color: var(--navy);
}

.button--outline:hover {
    background: var(--blue-pale);
}

.hero__note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.hero__note-mark {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 50%;
    background: rgba(113, 192, 255, 0.2);
    color: #b7e1ff;
    font-size: 15px;
}

.signal-strip {
    position: relative;
    z-index: 2;
    margin-top: -48px;
}

.signal-strip__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid rgba(214, 229, 242, 0.75);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.signal-item {
    display: flex;
    min-height: 96px;
    align-items: center;
    gap: 14px;
    padding: 20px 25px;
}

.signal-item + .signal-item {
    border-left: 1px solid var(--line);
}

.signal-item__icon,
.feature-card__icon {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--blue-pale);
    color: var(--blue);
}

.signal-item__icon {
    flex: 0 0 auto;
}

.feature-card__icon {
    margin-bottom: 24px;
}

.signal-item__icon svg,
.feature-card__icon svg {
    display: block;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    margin: 0;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.signal-item strong {
    display: block;
    color: var(--navy);
    font-size: 14px;
    line-height: 1.25;
}

.signal-item > div > span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.section {
    padding-block: 100px;
}

.section--soft {
    background: var(--ice);
}

.section--navy {
    background: var(--navy);
    color: var(--white);
}

.section-heading {
    max-width: 710px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading .eyebrow {
    justify-content: center;
    margin-bottom: 15px;
}

.section-heading h2 {
    margin-bottom: 15px;
    font-size: clamp(32px, 4vw, 46px);
    letter-spacing: -0.045em;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 17px;
}

.section--navy .section-heading h2,
.section--navy h3 {
    color: var(--white);
}

.section--navy .section-heading p {
    color: rgba(255, 255, 255, 0.75);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-card h3 {
    margin-bottom: 11px;
    font-size: 20px;
    letter-spacing: -0.025em;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 15px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(36px, 7vw, 92px);
}

.split-layout--reverse > :first-child {
    order: 2;
}

.split-layout--reverse > :last-child {
    order: 1;
}

.split-layout__image {
    position: relative;
}

.split-layout__image img {
    width: 100%;
    min-height: 390px;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.split-layout__image::after {
    position: absolute;
    right: -14px;
    bottom: -14px;
    z-index: -1;
    width: 43%;
    height: 43%;
    border-radius: 24px;
    background: var(--blue-soft);
    content: "";
}

.split-layout__content .eyebrow {
    margin-bottom: 15px;
}

.split-layout__content h2 {
    margin-bottom: 20px;
    font-size: clamp(32px, 4vw, 46px);
    letter-spacing: -0.045em;
}

.split-layout__content p {
    color: var(--muted);
    font-size: 16px;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 28px;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--ink);
}

.check-list li::before {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    margin-top: 2px;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-pale);
    color: var(--blue);
    content: "✓";
    font-size: 13px;
    font-weight: 800;
}

.use-case-list {
    display: grid;
    gap: 15px;
    margin: 24px 0 28px;
}

.use-case-item dt {
    margin-bottom: 3px;
    color: var(--ink);
    font-weight: 700;
}

.use-case-item dd {
    margin: 0;
    color: var(--muted);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step-card {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

.step-card__number {
    display: inline-block;
    margin-bottom: 22px;
    color: #91cbf7;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.step-card h3 {
    margin-bottom: 11px;
    font-size: 21px;
}

.step-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 42px 48px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 88% 30%, rgba(104, 181, 239, 0.2), transparent 25%),
        linear-gradient(120deg, #173f6d, #0f5fa4);
    color: var(--white);
}

.cta-panel h2 {
    max-width: 620px;
    margin-bottom: 10px;
    color: var(--white);
    font-size: clamp(28px, 3.5vw, 40px);
    letter-spacing: -0.04em;
}

.cta-panel p {
    max-width: 620px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
}

.page-banner {
    position: relative;
    overflow: hidden;
    padding-block: 82px 96px;
    background:
        radial-gradient(circle at 80% 0%, rgba(44, 143, 226, 0.55), transparent 31%),
        linear-gradient(115deg, var(--navy-deep), var(--navy));
    color: var(--white);
}

.page-banner--image {
    background-image:
        linear-gradient(90deg, rgba(9, 34, 60, 0.92), rgba(13, 48, 82, 0.74)),
        url("../images/callbdc-business-owner.png");
    background-position: center, 60% center;
    background-size: cover;
}

.page-banner__content {
    max-width: 780px;
}

.page-banner .eyebrow {
    margin-bottom: 17px;
}

.page-banner h1 {
    margin-bottom: 18px;
    font-size: clamp(40px, 6vw, 62px);
}

.page-banner p {
    max-width: 650px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service-detail {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.service-detail__number {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.service-detail h2 {
    margin: 14px 0 12px;
    font-size: 23px;
    letter-spacing: -0.03em;
}

.service-detail p {
    margin-bottom: 0;
    color: var(--muted);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 48px;
    align-items: start;
}

.contact-card {
    padding: 31px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 40px rgba(13, 41, 72, 0.07);
}

.contact-card h2 {
    margin-bottom: 18px;
    font-size: 25px;
}

.contact-details {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.contact-details__item {
    padding-top: 17px;
    border-top: 1px solid var(--line);
}

.contact-details__item span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-details__item a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    min-height: 49px;
    padding: 12px 14px;
    border: 1px solid #cbd9e6;
    border-radius: 11px;
    background: #fbfdff;
    color: var(--ink);
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.challenge-refresh-button {
    min-height: 40px;
    justify-self: start;
    padding: 8px 15px;
    font-size: 13px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #8a9aaa;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.form-consent input {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    margin-top: 3px;
    accent-color: var(--blue);
}

.form-consent a {
    color: var(--navy);
    font-weight: 700;
}

.form-message {
    padding: 14px 16px;
    border-radius: 11px;
    font-size: 14px;
}

.form-message--success {
    border: 1px solid #b7dec9;
    background: #eef9f2;
    color: #175d37;
}

.form-message--error {
    border: 1px solid #f1c1bd;
    background: #fff5f3;
    color: #8d2a23;
}

.honeypot-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.legal-copy {
    max-width: 840px;
    margin-inline: auto;
}

.legal-copy h2 {
    margin-top: 34px;
    margin-bottom: 10px;
    font-size: 23px;
}

.legal-copy p,
.legal-copy li {
    color: var(--muted);
}

.legal-copy a {
    color: var(--blue);
    font-weight: 700;
}

.legal-notice-box {
    padding: 24px;
    border-left: 4px solid var(--blue);
    border-radius: 0 12px 12px 0;
    background: var(--ice);
}

.site-footer {
    padding-top: 64px;
    background: #0e2d4f;
    color: var(--white);
}

.site-footer__main {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.brand--footer .brand__mark {
    border-color: rgba(255, 255, 255, 0.25);
}

.site-footer__summary {
    max-width: 290px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

.site-footer__links {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    align-content: start;
    gap: 11px 25px;
    padding-top: 8px;
}

.site-footer__links a,
.site-footer__contact a,
.site-footer__privacy-note {
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__contact a:hover {
    color: var(--white);
}

.site-footer__contact {
    display: grid;
    justify-items: start;
    gap: 10px;
}

.site-footer__contact .eyebrow {
    color: #a9d9ff;
}

.site-footer__contact a:first-of-type {
    color: var(--white);
    font-weight: 700;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
}

@media (max-width: 850px) {
    .primary-navigation {
        gap: 20px;
    }

    .hero {
        min-height: 560px;
        background-position: center, 62% center;
    }

    .split-layout {
        gap: 40px;
    }

    .signal-item {
        padding-inline: 17px;
    }
}

@media (max-width: 700px) {
    .page-shell {
        width: min(var(--shell), calc(100% - 36px));
    }

    .site-header__inner {
        min-height: 72px;
    }

    .menu-toggle {
        display: flex;
    }

    .primary-navigation {
        position: absolute;
        top: calc(100% - 1px);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 8px 18px 18px;
        background: var(--navy);
        box-shadow: 0 20px 26px rgba(8, 30, 53, 0.17);
    }

    .primary-navigation.is-open {
        display: flex;
        flex-direction: column;
    }

    .primary-navigation a {
        padding: 12px 6px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .primary-navigation .nav-login {
        width: fit-content;
        margin-top: 12px;
        padding: 9px 15px;
        border: 1px solid rgba(255, 255, 255, 0.42);
    }

    .hero {
        min-height: 590px;
        align-items: flex-end;
        background-image:
            linear-gradient(0deg, rgba(9, 34, 60, 0.95) 0%, rgba(12, 43, 74, 0.76) 55%, rgba(13, 41, 72, 0.18) 100%),
            url("../images/callbdc-hero.png");
        background-position: center, 58% center;
    }

    .hero__inner {
        padding-block: 60px 105px;
    }

    .hero__content {
        max-width: 580px;
    }

    h1 {
        font-size: clamp(40px, 11vw, 58px);
    }

    .signal-strip {
        margin-top: -58px;
    }

    .signal-strip__inner {
        grid-template-columns: 1fr;
    }

    .signal-item {
        min-height: 75px;
        padding: 14px 18px;
    }

    .signal-item + .signal-item {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .section {
        padding-block: 72px;
    }

    .section-heading {
        margin-bottom: 34px;
        text-align: left;
    }

    .section-heading .eyebrow {
        justify-content: flex-start;
    }

    .feature-grid,
    .steps-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .split-layout--reverse > :first-child,
    .split-layout--reverse > :last-child {
        order: initial;
    }

    .split-layout__image img {
        min-height: 290px;
    }

    .page-banner {
        padding-block: 62px 72px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 32px 26px;
    }

    .site-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
    }

    .site-footer__main > :first-child {
        grid-column: 1 / -1;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 430px) {
    .button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .button-row .button {
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field--full {
        grid-column: auto;
    }

    .contact-card {
        padding: 22px;
    }

    .site-footer__main {
        grid-template-columns: 1fr;
    }

    .site-footer__main > :first-child {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
