/* ==========================================================================
   Clarity DevTest — Shared styles (base.css)
   Loaded by: clarityHome, clarityServices
   ========================================================================== */


/* ==========================================================================
   Fonts (self-hosted Poppins — avoids Google Fonts round-trip + FOUT)
   ========================================================================== */

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins/poppins-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/poppins/poppins-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/poppins/poppins-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/poppins/poppins-700.woff2') format('woff2');
}


/* ==========================================================================
   Variables
   ========================================================================== */

:root {
    --color-dark-blue: #002031;
    --color-red: #E00000;
    --color-bright-blue: #0179D0;
    --color-light-blue: #69B8FD;
    --color-white: #FFFFFF;
    --color-charcoal: #1D1D1D;
    --color-white-hover: #f0f3f5;
    --color-white-active: #e4e9ec;
    --color-red-hover: #c20000;
    --color-red-active: #a80000;
    --color-dark-blue-hover: #003a55;
    --color-dark-blue-active: #004d70;
    --color-panel-white: rgba(255, 255, 255, 0.7);
    --color-text-muted: #4f5e68;

    /* Type scale */
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.25rem;

    /* Semantic roles */
    --text-display:     clamp(2.5rem, 5vw + 0.5rem, 4.5rem);
    --text-section:     clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
    --text-subsection:  clamp(1.25rem, 2vw + 0.25rem, 1.5rem);
    --text-stat:        clamp(2rem, 3.5vw + 1rem, 3rem);
    --text-card-title:  var(--text-lg);
    --text-card-body:   var(--text-sm);
    --text-prose:       var(--text-base);

    /* Legacy aliases */
    --text-xl:   var(--text-display);
    --text-2xl:  var(--text-display);

    font-size: 16px;
}


/* ==========================================================================
   Base
   ========================================================================== */

html {
    background-color: var(--color-bright-blue);
    overscroll-behavior-y: none;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--color-dark-blue);
    background-color: #FFFFFF;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: var(--text-base);
    line-height: 1.5;
    font-weight: 400;
    font-style: normal;
    overscroll-behavior-y: none;
    overflow-x: hidden;
}

main {
    flex: 1 0 auto;
    background-color: #FFFFFF;
}

p {
    margin: 0 0 1rem 0;
}

a {
    color: var(--color-bright-blue);
    text-decoration: none;
}

a:hover {
    color: var(--color-dark-blue-hover);
    text-decoration: none;
}

a:active {
    color: var(--color-dark-blue-active);
    text-decoration: none;
}

#main-content:focus {
    outline: none;
}

#main-content:focus-visible {
    outline: 2px solid var(--color-light-blue);
    outline-offset: 2px;
}

.home_section_hero__body:focus {
    outline: none;
}


/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-weight: 600;
    line-height: 1.1;
}

h1 {
    font-size: var(--text-display);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: var(--text-section);
    margin-bottom: 1.25rem;
}

h3 {
    font-size: var(--text-lg);
    margin-bottom: 1rem;
}

h4 {
    font-size: var(--text-lg);
    margin-bottom: 0.5rem;
}

h5 {
    font-size: var(--text-lg);
    margin-bottom: 0.5rem;
}

h6 {
    font-size: var(--text-lg);
    margin-bottom: 0.5rem;
}


/* ==========================================================================
   Page intro (service/detail pages — matches Why Choose Us header)
   ========================================================================== */

.page_intro-section {
    padding: 7rem 1rem 2.5rem;
}

.page_intro-section__intro {
    max-width: 1050px;
    margin: 0 auto;
    text-align: center;
}

.page_intro-section__intro h1 {
    margin-bottom: 0;
}


/* ==========================================================================
   Typography — shared roles (section headings, cards, prose, FAQ)
   ========================================================================== */

.display-heading {
    font-size: var(--text-display);
    line-height: 1.1;
}

.section-heading {
    font-size: var(--text-section);
    line-height: 1.1;
    margin: 0 0 1.25rem;
}

.subsection-heading {
    font-size: var(--text-subsection);
    line-height: 1.15;
    margin: 0 0 1rem;
}

.prose-block {
    max-width: 820px;
    margin-inline: auto;
}

.prose-block--narrow {
    max-width: 720px;
}

.prose-block--wide {
    max-width: 900px;
}

.prose-block p {
    margin: 0;
    font-size: var(--text-prose);
    font-weight: 500;
    line-height: 1.55;
}

.prose-block p + p {
    margin-top: 1rem;
}

.prose-block__lead {
    margin: 0;
    font-size: var(--text-prose);
    font-weight: 500;
    line-height: 1.5;
}

.prose-block__lead--muted {
    color: var(--color-text-muted);
    font-weight: 400;
}

.prose-block--compact p {
    font-size: var(--text-card-body);
    font-weight: 400;
    color: var(--color-text-muted);
}

.service-card-title,
[class*="benefits-section__item"] :is(h2, h3),
[class*="benefits-section__title"],
[class*="features-section__item"] h3,
[class*="features-section__card"] h3,
[class*="focus-section__item"] h3,
[class*="layers-section__card"] h3,
.services_intro-section__card h3,
.why-choose-us-clients-stay__card h3,
.ai_benefits-section__card h3,
.managed_it_benefits-section__card h3 {
    margin: 0 0 0.5rem;
    font-size: var(--text-card-title);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-dark-blue);
}

.service-card-body,
[class*="benefits-section__item"] p,
[class*="features-section__item"] p,
[class*="features-section__card"] p,
[class*="focus-section__item"] p,
[class*="layers-section__card"] p,
[class*="layers-section__capstone"] p,
.services_intro-section__card p,
.why-choose-us-clients-stay__card p,
.ai_benefits-section__card p,
.managed_it_benefits-section__card p {
    margin: 0;
    font-size: var(--text-card-body);
    line-height: 1.55;
    color: var(--color-text-muted);
}

.stat-number,
[class*="stats-section__number"] {
    font-size: var(--text-stat);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

[class*="faq-section"] > .container > h2,
[class*="faq-section"] .container > h2:first-child {
    margin: 0 0 1rem;
}

[class*="faq-section__lead"] {
    max-width: 650px;
    margin: 0 auto;
    font-size: var(--text-prose);
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-dark-blue);
}

[class*="faq-section__list"] {
    max-width: 820px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

[class*="faq-section__item"] {
    background-color: var(--color-white);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

[class*="faq-section__question"] {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 600;
    font-size: var(--text-lg);
    line-height: 1.3;
    color: var(--color-dark-blue);
}

[class*="faq-section__question"]::-webkit-details-marker {
    display: none;
}

[class*="faq-section__question"]::after {
    content: "+";
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    color: var(--color-red);
    transition: transform 0.2s ease;
}

[class*="faq-section__item"][open] [class*="faq-section__question"]::after {
    transform: rotate(45deg);
}

[class*="faq-section__question"]:focus-visible {
    outline: 2px solid var(--color-bright-blue);
    outline-offset: 3px;
    border-radius: 0.25rem;
}

[class*="faq-section__answer"] {
    margin: 1rem 0 0;
    color: var(--color-text-muted);
    font-size: var(--text-card-body);
    line-height: 1.6;
}

@media (max-width: 560px) {
    [class*="faq-section__question"] {
        font-size: var(--text-base);
    }
}


/* ==========================================================================
   Utilities
   ========================================================================== */

.text-red { color: var(--color-red); }
.text-dark-blue { color: var(--color-dark-blue); }
.text-light-blue { color: var(--color-light-blue); }
.text-light-blue-on-blue { color: #8FC9FF; }

/* Light-blue accent on blue/dark-blue backgrounds — improved WCAG contrast */
.text-white .text-light-blue,
.home_section_cta .text-light-blue,
.services_work-section .text-light-blue,
.cybersecurity_layers-section .text-light-blue,
.backup_recovery_lifecycle-section .text-light-blue,
.backup_recovery_response-section .text-light-blue,
.cloud_services_migration-section .text-light-blue,
.it_consulting_advisor-section .text-light-blue,
.ai_next-step-section .text-light-blue,
.why_choose_us_team-section .text-light-blue,
.managed_it_stats-section .text-light-blue,
.web_development_longevity-section .text-light-blue {
    color: #8FC9FF;
}
.text-white { color: var(--color-white); }

.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }

.text-center { text-align: center; }

.content-narrow {
    max-width: 700px;
    margin: 0 auto;
}

.heading-line {
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 100;
    padding: 0.75rem 1rem;
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    font-weight: 500;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--color-light-blue);
    outline-offset: 2px;
}


/* ==========================================================================
   Layout — container (Bootstrap 5–compatible)
   ========================================================================== */

.container {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

@media (max-width: 575px) {
    .container { --bs-gutter-x: 1.5rem; }
}

@media (min-width: 576px) {
    .container { max-width: 95%; }
}

@media (min-width: 992px) {
    .container { max-width: 960px; }
}

@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}

@media (min-width: 1400px) {
    .container { max-width: 1320px; }
}

.container-fluid {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}


/* ==========================================================================
   Internal page header — shared across all non-home pages
   ========================================================================== */

.internal-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    isolation: isolate;
    padding: 1rem 0 clamp(2.5rem, 6vw, 3rem);
    margin-bottom: 0;
    z-index: 500;
    overflow: visible;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.internal-header__bg {
    position: absolute;
    inset: 0;
    top: -50px;
    z-index: 0;
    pointer-events: none;
}

.internal-header__bg svg {
    display: block;
    width: 100%;
    height: 100%;
}

.internal-header__inner {
    position: relative;
    z-index: 1;
}

.internal-page-body {
    padding-top: 0;
}


/* ==========================================================================
   Shared — header navigation (home hero + internal page header)
   ========================================================================== */

.home_section_hero__header-inner,
.internal-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.home_section_hero__logo,
.internal-header__logo {
    height: 65px;
}

.home_section_hero__nav-list,
.internal-header__nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.home_section_hero__nav-link,
.internal-header__nav-link {
    display: inline-block;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.2rem;
}

.home_section_hero__nav-link:hover,
.home_section_hero__nav-link:active,
.internal-header__nav-link:hover,
.internal-header__nav-link:active {
    color: var(--color-white);
}

.home_section_hero__nav-link:not(.is-active):hover,
.internal-header__nav-link:not(.is-active):hover {
    border-bottom-color: var(--color-light-blue);
}

.home_section_hero__nav-link.is-active,
.internal-header__nav-link.is-active {
    color: var(--color-white);
    font-weight: 600;
    border-bottom-color: var(--color-white);
}

.home_section_hero__nav-link:focus-visible,
.internal-header__nav-link:focus-visible {
    outline: 2px solid var(--color-light-blue);
    outline-offset: 2px;
}

.nav-toggle {
    display: none;
    box-sizing: border-box;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    padding: 10px 7px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 1rem;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 1px;
}

.nav-toggle:focus { outline: none; }

.nav-toggle:focus-visible {
    outline: 2px solid var(--color-light-blue);
    outline-offset: 2px;
}

.mobile-nav__panel-header {
    display: none;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .home_section_hero__header-inner nav,
    .internal-header__inner nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        z-index: 10;
        overflow-y: auto;
        background-color: var(--color-dark-blue);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .home_section_hero__header.is-nav-open .home_section_hero__header-inner nav,
    .internal-header.is-nav-open .internal-header__inner nav {
        transform: translateX(0);
    }

    .home_section_hero__header-inner nav.no-transition,
    .internal-header__inner nav.no-transition {
        transition: none;
    }

    .mobile-nav__panel-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
    }

    .mobile-nav__logo {
        height: 60px;
    }

    .mobile-nav__close {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 44px;
        height: 44px;
        padding: 0;
        border: none;
        background: transparent;
        color: var(--color-white);
        font-size: 2rem;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-nav__close:focus {
        outline: none;
    }

    .mobile-nav__close:focus-visible {
        outline: 2px solid var(--color-light-blue);
        outline-offset: 2px;
    }

    .home_section_hero__nav-list,
    .internal-header__nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .home_section_hero__nav-link.is-active,
    .internal-header__nav-link.is-active {
        color: var(--color-white);
        border-bottom-color: var(--color-white);
    }

    .home_section_hero__nav-link:not(.is-active):hover,
    .home_section_hero__nav-link:not(.is-active):active,
    .internal-header__nav-link:not(.is-active):hover,
    .internal-header__nav-link:not(.is-active):active {
        border-bottom-color: rgba(255, 255, 255, 0.75);
    }
}

body.nav-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .home_section_hero__header-inner nav,
    .internal-header__inner nav {
        transition: none;
    }
}


/* ==========================================================================
   Shared — CTA band (home + services)
   ========================================================================== */

.home_section_cta {
    padding: 4rem 0;
    background-color: var(--color-bright-blue);
}

.home_section_cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    overflow: visible;
}

.home_section_cta__content {
    flex: 1 1 auto;
    min-width: 0;
}

.home_section_cta__title {
    max-width: 600px;
    font-size: var(--text-display);
}

.home_section_cta__title .text-light-blue {
    display: inline-block;
    font-size: var(--text-section);
}

.home_section_cta__text {
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.home_section_cta__image-wrap {
    position: relative;
    flex: 0 1 auto;
    max-width: min(50%, 450px);
    line-height: 0;
}

.home_section_cta__caption {
    position: absolute;
    left: 0;
    top: auto;
    bottom: 8%;
    z-index: 1;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
    transform: translateX(-68%) rotate(-8deg);
    color: var(--color-white);
    font-family: "Segoe Script", "Bradley Hand ITC", "Bradley Hand", "Snell Roundhand", "Apple Chancery", cursive;
    font-size: clamp(0.9rem, 1.45vw, 1.1rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-shadow: 0 1px 10px rgba(0, 32, 49, 0.28);
    pointer-events: none;
}

.home_section_cta__caption-arrow {
    display: block;
    width: 3.25rem;
    height: 1.55rem;
    margin-right: 0.15rem;
    transform: rotate(-28deg);
}

.home_section_cta__image-link {
    display: block;
    line-height: 0;
}

.home_section_cta__image {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .home_section_cta__caption {
        bottom: 5%;
        transform: translateX(-22%) rotate(-7deg);
        font-size: clamp(0.85rem, 2.4vw, 1rem);
        white-space: normal;
        max-width: 9rem;
    }

    .home_section_cta__caption-arrow {
        width: 2.85rem;
        height: 1.35rem;
    }
}

@media (max-width: 630px) {
    .home_section_cta__image-wrap {
        display: none;
    }
}


/* ==========================================================================
   Components — Buttons
   ========================================================================== */

.button {
    display: inline-block;
    box-sizing: border-box;
    padding: 0.7rem 1rem;
    border-radius: 5px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.button:focus { outline: none; }

.button:focus-visible {
    outline: 2px solid var(--color-light-blue);
    outline-offset: 2px;
}

.button:disabled,
.button[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.solid-white {
    background-color: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-dark-blue);
}

.solid-white:hover:not(:disabled):not([aria-disabled="true"]) {
    background-color: var(--color-white-hover);
    border-color: var(--color-white-hover);
}

.solid-white:active:not(:disabled):not([aria-disabled="true"]) {
    background-color: var(--color-white-active);
    border-color: var(--color-white-active);
}

.outline-white {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.outline-white:hover:not(:disabled):not([aria-disabled="true"]) {
    background-color: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-dark-blue);
}

.outline-white:active:not(:disabled):not([aria-disabled="true"]) {
    background-color: var(--color-white-hover);
    border-color: var(--color-white-hover);
    color: var(--color-dark-blue);
}

.solid-red {
    background-color: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

.solid-red:hover:not(:disabled):not([aria-disabled="true"]) {
    background-color: var(--color-red-hover);
    border-color: var(--color-red-hover);
}

.solid-red:active:not(:disabled):not([aria-disabled="true"]) {
    background-color: var(--color-red-active);
    border-color: var(--color-red-active);
}

.solid-dark-blue {
    background-color: var(--color-dark-blue);
    border-color: var(--color-dark-blue);
    color: var(--color-white);
}

.solid-dark-blue:hover:not(:disabled):not([aria-disabled="true"]) {
    background-color: var(--color-dark-blue-hover);
    border-color: var(--color-dark-blue-hover);
    color: var(--color-white);
}

.solid-dark-blue:active:not(:disabled):not([aria-disabled="true"]) {
    background-color: var(--color-dark-blue-active);
    border-color: var(--color-dark-blue-active);
    color: var(--color-white);
}


/* ==========================================================================
   Components — Forms
   ========================================================================== */

.clarity-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.clarity-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.clarity-form__row--full {
    grid-template-columns: 1fr;
}

@media (max-width: 540px) {
    .clarity-form__row {
        grid-template-columns: 1fr;
    }
}

.clarity-form__field {
    min-width: 0;
}

.clarity-form__label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-dark-blue);
}

.clarity-form__input,
.clarity-form__select,
.clarity-form__textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #c5cdd3;
    border-radius: 5px;
    font-family: inherit;
    font-size: var(--text-base);
    color: var(--color-dark-blue);
    background-color: var(--color-white);
}

.clarity-form__input::placeholder,
.clarity-form__textarea::placeholder {
    color: var(--color-text-muted);
}

.clarity-form__input:focus,
.clarity-form__select:focus,
.clarity-form__textarea:focus {
    outline: 2px solid var(--color-bright-blue);
    outline-offset: 1px;
    border-color: var(--color-bright-blue);
    box-shadow: 0 0 0 2px rgba(1, 121, 208, 0.2);
}

.clarity-form__input:focus-visible,
.clarity-form__select:focus-visible,
.clarity-form__textarea:focus-visible {
    outline: 2px solid var(--color-bright-blue);
    outline-offset: 1px;
}

.clarity-form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
    cursor: pointer;
}

.clarity-form__textarea {
    min-height: 6rem;
    resize: vertical;
}

.clarity-form__checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
    padding: 0.25rem 0;
    font-size: var(--text-sm);
    cursor: pointer;
}

.clarity-form__checkbox-row input {
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    min-height: 1.5rem;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.clarity-form__honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.clarity-form__status {
    font-size: var(--text-sm);
    font-weight: 500;
    min-height: 0;
}

.clarity-form__status:empty {
    display: none;
}

.clarity-form__status.is-success {
    color: #1a7f37;
}

.clarity-form__status.is-error {
    color: var(--color-red);
}

.clarity-form__row--submit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.clarity-form__spinner {
    display: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #c5cdd3;
    border-top-color: var(--color-bright-blue);
    border-radius: 50%;
}

.is-submitting .clarity-form__spinner {
    display: block;
    animation: clarity-form-spin 0.7s linear infinite;
}

@keyframes clarity-form-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ==========================================================================
   Components — Bubble panels
   ========================================================================== */

.shadow {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

.bubble-panel {
    min-width: 0;
    border-radius: 0.75rem;
    padding: 1.75rem;
}


/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    flex-shrink: 0;
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: 4rem 0 3rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(16rem, 1.6fr) repeat(2, minmax(10rem, 1fr));
    gap: 2.5rem 4rem;
    align-items: start;
}

@media (max-width: 900px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 3rem;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 540px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.site-footer__brand {
    max-width: 22rem;
}

.site-footer__logo {
    margin-bottom: 1rem;
}

.site-footer__tagline {
    margin: 0 0 1.25rem;
    font-size: var(--text-sm);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}

.site-footer__social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-footer__social-link {
    display: inline-flex;
    line-height: 0;
}

.site-footer__social-link:focus {
    outline: none;
}

.site-footer__social-link:focus-visible {
    outline: 2px solid var(--color-light-blue);
    outline-offset: 2px;
}

.site-footer__nav {
    padding: 0;
}

.site-footer__heading,
.site-footer h2.site-footer__heading {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__nav-list a {
    font-size: var(--text-sm);
}

.site-footer__nav-list a.is-active {
    color: var(--color-light-blue);
    font-weight: 600;
}

.site-footer__nav-list li + li {
    margin-top: 0.35rem;
}

.site-footer a:hover,
.site-footer a:active {
    color: var(--color-light-blue);
}

@media (max-width: 900px) {
    /* Avoid light-blue link text on blue/dark bands (footer tap states, active nav items) */
    .site-footer a.text-white:hover,
    .site-footer a.text-white:active,
    .site-footer a.text-white:focus-visible,
    .site-footer__nav-list a.is-active {
        color: var(--color-white);
    }

    /* Inline links on bright/medium-blue sections */
    .home_section_cta a:not(.button):not(.site-header__logo-link),
    .home_section_solutions a:not(.button):not(.site-header__logo-link):not(.clarity-form__recaptcha-note a),
    .why_choose_us_story-section a:not(.button) {
        color: var(--color-dark-blue);
    }

    .home_section_cta a:not(.button):not(.site-header__logo-link):hover,
    .home_section_cta a:not(.button):not(.site-header__logo-link):active,
    .home_section_solutions a:not(.button):not(.site-header__logo-link):not(.clarity-form__recaptcha-note a):hover,
    .home_section_solutions a:not(.button):not(.site-header__logo-link):not(.clarity-form__recaptcha-note a):active,
    .why_choose_us_story-section a:not(.button):hover,
    .why_choose_us_story-section a:not(.button):active {
        color: var(--color-dark-blue-hover);
    }
}

.site-footer__industries {
    margin-top: 1.5rem;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__industries .site-footer__heading,
.site-footer__industries h2.site-footer__heading {
    text-align: left;
    font-size: 0.75rem;
    line-height: 1.25;
    margin: 0 0 0.5rem;
}

.site-footer__industries-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__industries-list li {
    padding: 0.3rem 0.65rem;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.3;
}

.site-footer__bottom {
    margin-top: 1rem;
    padding: 1.75rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
}

.site-footer__copyright {
    margin: 0;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

.site-footer__contact-line {
    margin: 0;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
}

.site-footer__disclaimer {
    margin: 0.75rem 0 0;
    flex-basis: 100%;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

@media (max-width: 768px) {
    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__contact-line {
        text-align: left;
    }
}

@media (max-width: 548px) {
    .site-footer__nav,
    .site-footer__industries,
    .site-footer__phone {
        display: none;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.site-header__logo-link {
    display: inline-flex;
    line-height: 0;
    text-decoration: none;
}

.site-header__logo-link:focus {
    outline: none;
}

.site-header__logo-link:focus-visible {
    outline: 2px solid var(--color-light-blue);
    outline-offset: 2px;
}


/* ==========================================================================
   Hand floater
   ========================================================================== */

.site-floater-hand {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 900;
    line-height: 0;
    text-decoration: none;
}

.site-floater-hand__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-dark-blue);
    box-shadow: 0 4px 18px rgba(0, 32, 49, 0.18);
    transform-origin: bottom center;
    animation: site-floater-hand-wave 2.5s ease-in-out infinite;
}

.site-floater-hand__icon {
    display: block;
    width: 1.65rem;
    height: 1.65rem;
}

.site-floater-hand:hover .site-floater-hand__button,
.site-floater-hand:focus-visible .site-floater-hand__button {
    background-color: var(--color-white-hover);
    box-shadow: 0 6px 22px rgba(0, 32, 49, 0.22);
}

.site-floater-hand:focus {
    outline: none;
}

.site-floater-hand:focus-visible {
    outline: 2px solid var(--color-light-blue);
    outline-offset: 4px;
    border-radius: 50%;
}

@keyframes site-floater-hand-wave {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(12deg); }
    40% { transform: rotate(-4deg); }
    60% { transform: rotate(10deg); }
    80% { transform: rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
    .site-floater-hand__button {
        animation: none;
    }
}

@media (max-width: 540px) {
    .site-floater-hand {
        right: 1rem;
        bottom: 1rem;
    }

    .site-floater-hand__button {
        width: 3rem;
        height: 3rem;
    }

    .site-floater-hand__icon {
        width: 1.5rem;
        height: 1.5rem;
    }
}
