/* ================================================
   Office Tether — site.css
   Brand palette, layout, sections, and components
   Edit CSS variables below to update brand colours
   ================================================ */

/* ----- CSS Custom Properties (brand colours) ----- */
:root {
    --ot-navy:        #1b3a5c;
    --ot-blue:        #2563a8;
    --ot-blue-mid:    #3d7ec8;
    --ot-accent-bg:   #e8f0fb;
    --ot-accent-border: #c8d9f0;
    --ot-light-bg:    #f5f7fa;
    --ot-white:       #ffffff;
    --ot-text:        #1c2237;
    --ot-border:      #dce6f0;
    --ot-amber:       #e8a020;
    --ot-amber-dark:  #cf8f18;
}

/* ----- Base & typography ----- */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    position: relative;
    min-height: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ot-text);
    background-color: var(--ot-white);
}

/* ----- Focus ring (accessibility) ----- */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--ot-blue);
}

/* ====================================================
   NAVBAR
   ==================================================== */
.ot-navbar {
    background-color: var(--ot-navy);
}

.ot-navbar .navbar-brand {
    font-size: 1.15rem;
    letter-spacing: .02em;
    color: #ffffff;
}

.ot-navbar .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: .9rem;
}

.ot-navbar .nav-link:hover,
.ot-navbar .nav-link:focus {
    color: #ffffff;
}

/* ====================================================
   HERO SECTION
   ==================================================== */
.ot-hero {
    background: linear-gradient(140deg, var(--ot-navy) 0%, #254f82 55%, #2d6bbf 100%);
    color: #ffffff;
    min-height: 82vh;
    padding: 5rem 0 4rem;
    overflow: hidden;
}

.ot-hero__eyebrow {
    display: inline-block;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.ot-hero__headline {
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    font-weight: 700;
    line-height: 1.22;
    color: #ffffff;
}

.ot-hero__sub {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.ot-hero__image-frame {
    position: relative;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    padding: .95rem;
    border-radius: 1.5rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
    box-shadow: 0 22px 55px rgba(8, 24, 42, 0.28);
    backdrop-filter: blur(2px);
}

.ot-hero__image-frame::before {
    content: "";
    position: absolute;
    inset: -.6rem;
    border-radius: 1.8rem;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 55%);
    z-index: 0;
}

.ot-hero__image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    max-height: 520px;
    object-fit: cover;
    object-position: center center;
    border-radius: 1rem;
}

.ot-hero-illustration {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ot-hero-illustration svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(7, 26, 49, 0.18));
}

/* ====================================================
   BUTTONS
   ==================================================== */

/* Amber — primary call to action */
.btn-ot-primary {
    background-color: var(--ot-amber);
    border-color: var(--ot-amber);
    color: #1a1a2e;
    font-weight: 600;
}

.btn-ot-primary:hover,
.btn-ot-primary:focus {
    background-color: var(--ot-amber-dark);
    border-color: var(--ot-amber-dark);
    color: #1a1a2e;
}

/* Ghost white — secondary CTA on hero */
.btn-ot-outline {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
    font-weight: 500;
}

.btn-ot-outline:hover,
.btn-ot-outline:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

/* Navy solid — used on accent/light sections */
.btn-ot-navy {
    background-color: var(--ot-navy);
    border-color: var(--ot-navy);
    color: #ffffff;
    font-weight: 600;
}

.btn-ot-navy:hover,
.btn-ot-navy:focus {
    background-color: #162f4a;
    border-color: #162f4a;
    color: #ffffff;
}

/* Ghost white — used inside dark navy section */
.btn-ot-outline-light {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    font-weight: 500;
}

.btn-ot-outline-light:hover,
.btn-ot-outline-light:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

/* ====================================================
   SECTION BACKGROUNDS
   ==================================================== */
.ot-section-light  { background-color: var(--ot-light-bg); }
.ot-section-white  { background-color: var(--ot-white); }

.ot-section-accent {
    background-color: var(--ot-accent-bg);
    border-top: 1px solid var(--ot-accent-border);
    border-bottom: 1px solid var(--ot-accent-border);
}

.ot-section-navy   { background-color: var(--ot-navy); }

/* CTA section with background image */
#footer-cta {
    background: linear-gradient( rgba(17, 43, 63, 0.70), rgba(17, 43, 63, 0.70) ), url("/img/officetether-research-cta-1600x650.webp");
    background-size: cover;
    background-position: center 58%;
    background-repeat: no-repeat;
    padding: 5rem 1.5rem;
    color: #fff;
    text-align: center;
}

    #footer-cta .ot-section-heading,
    #footer-cta .ot-contact__sub {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    }

#footer-cta .btn-ot-primary {
    background-color: #fff;
    border-color: #fff;
    color: var(--ot-navy);
    font-weight: 600;
}

#footer-cta .btn-ot-primary:hover,
#footer-cta .btn-ot-primary:focus {
    background-color: #f0f4f8;
    border-color: #f0f4f8;
    color: var(--ot-navy);
}

/* ====================================================
   SECTION HEADINGS
   ==================================================== */
.ot-section-heading {
    font-size: clamp(1.3rem, 3vw, 1.85rem);
    font-weight: 700;
    color: var(--ot-navy);
    margin-bottom: .6rem;
}

/* Variant for use on dark/navy backgrounds */
.ot-section-heading--light {
    color: #ffffff;
}

/* ====================================================
   SERVICE CARDS
   ==================================================== */
.ot-card {
    border: 1px solid var(--ot-border);
    border-radius: .5rem;
    transition: box-shadow .18s ease, transform .18s ease;
}

.ot-card:hover {
    box-shadow: 0 6px 22px rgba(27, 58, 92, 0.11);
    transform: translateY(-3px);
}

.ot-card__icon {
    font-size: 1.9rem;
    line-height: 1;
}

/* ====================================================
   CHECKLIST ITEMS (Free Check section)
   ==================================================== */
.ot-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    padding: .65rem .85rem;
    background: var(--ot-white);
    border: 1px solid var(--ot-accent-border);
    border-radius: .375rem;
    font-size: .93rem;
    color: #2c3e50;
}

.ot-check-icon {
    color: var(--ot-blue);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: .05rem;
}

/* ====================================================
   SUPPORT ITEMS (Setup & Support section)
   ==================================================== */
.ot-support-item {
    padding: 1.1rem 1.25rem;
    border-left: 3px solid var(--ot-blue-mid);
    background: var(--ot-light-bg);
    border-radius: 0 .375rem .375rem 0;
    height: 100%;
}

/* ====================================================
   AUDIENCE CHIPS (Who It's For section)
   ==================================================== */
.ot-audience-chip {
    display: inline-block;
    padding: .45rem .9rem;
    background: var(--ot-light-bg);
    border: 1px solid var(--ot-border);
    border-radius: 2rem;
    font-size: .875rem;
    color: var(--ot-navy);
    font-weight: 500;
    white-space: nowrap;
}

/* ====================================================
   GET IN TOUCH — contact sub-copy
   ==================================================== */
.ot-contact__sub {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.05rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ====================================================
   FAQ (details/summary)
   ==================================================== */
.ot-faq-item {
    border: 1px solid var(--ot-border);
    border-radius: .5rem;
    background: var(--ot-light-bg);
    padding: .85rem 1rem;
}

.ot-faq-item summary {
    font-weight: 600;
    cursor: pointer;
    color: var(--ot-navy);
}

.ot-faq-item p {
    margin-top: .75rem;
}

/* ====================================================
   FOOTER
   ==================================================== */
.ot-footer {
    background-color: #eef2f7;
    border-top: 1px solid var(--ot-border);
}

.ot-footer__brand {
    color: var(--ot-navy);
}

.ot-footer a {
    color: var(--ot-blue);
    text-decoration: none;
}

.ot-footer a:hover {
    text-decoration: underline;
}

/* ====================================================
   RESPONSIVE ADJUSTMENTS
   ==================================================== */
@media (max-width: 767.98px) {
    .ot-hero {
        min-height: auto;
        padding: 2.5rem 0 2.75rem;
    }

    .ot-hero__eyebrow {
        font-size: .72rem;
        letter-spacing: .075em;
    }

    .ot-hero__headline {
        font-size: 1.45rem;
    }

    .ot-hero__sub {
        font-size: 1rem;
        max-width: 100%;
    }

    .ot-hero__image-frame {
        padding: .6rem;
        border-radius: 1.1rem;
    }

    .ot-hero__image-frame::before {
        inset: -.35rem;
        border-radius: 1.3rem;
    }

    .ot-hero__image {
        min-height: 220px;
        max-height: 320px;
        border-radius: .85rem;
    }

    #footer-cta {
        padding: 3.5rem 1.5rem;
    }

    #who-it-is-for .col-auto {
        width: 100%;
    }

    .ot-audience-chip {
        display: block;
        max-width: 100%;
        white-space: normal;
    }
}
