/*
 * Computer Point LLC — reusable site-wide design system
 * Add AFTER css/style.css on each page.
 * Page-specific components are namespaced to avoid breaking legacy template styles.
 */
:root {
  --cp-orange: #eb8923;
  --cp-orange-dark: #bd6509;
  --cp-ink: #152238;
  --cp-body: #526176;
  --cp-muted: #6d7b8d;
  --cp-surface: #f5f8fc;
  --cp-border: #e3e9f1;
  --cp-white: #fff;
  --cp-radius: 18px;
  --cp-shadow: 0 16px 42px rgba(21, 34, 56, .09);
  --cp-shadow-hover: 0 22px 50px rgba(21, 34, 56, .14);
}
html { scroll-behavior: smooth; }
body { color: var(--cp-body); font-size: 16px; line-height: 1.75; }
img { max-width: 100%; }
h1, h2, h3, h4, h5, h6 { color: var(--cp-ink); letter-spacing: -.025em; }
p { line-height: 1.8; }
a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(235,137,35,.58); outline-offset: 3px; }
.header-top-bar { background: var(--cp-ink); padding: 9px 0; }
.header-top-bar a, .header-top-bar a span, .top-bar-info li a { color: #fff; }
.top-right-bar a .h4 { font-size: 15px; letter-spacing: 0; }
.navbar.navigation { background: #fff; box-shadow: 0 7px 24px rgba(21,34,56,.06); }
.navbar-brand img { max-height: 66px; width: auto; }
#navbarmain { padding: 10px 0; }
#navbarmain .nav-link { padding: 13px 15px; font-size: 13px; letter-spacing: .025em; }
#navbarmain .nav-link:hover, #navbarmain .nav-item.active .nav-link { color: var(--cp-orange-dark); }
.dropdown .dropdown-menu { border: 1px solid var(--cp-border); border-top: 3px solid var(--cp-orange); border-radius: 0 0 12px 12px; box-shadow: var(--cp-shadow); }
.dropdown .dropdown-item { padding: 12px 18px; }
.btn { border-radius: 8px; }
.btn-main { background: var(--cp-orange); border-color: var(--cp-orange); }
.btn-main:hover { background: var(--cp-orange-dark); border-color: var(--cp-orange-dark); transform: translateY(-2px); }
.btn-main-2 { background: var(--cp-ink); border-color: var(--cp-ink); }
.btn-main-2:hover { background: var(--cp-orange-dark); border-color: var(--cp-orange-dark); transform: translateY(-2px); }
.footer { padding-top: 65px; background: #f7f9fc; }
.footer .logo img { max-width: 210px; height: auto; }
.footer h4 { color: var(--cp-ink); }
.footer .divider { background: var(--cp-orange); }
.footer .footer-menu a:hover { color: var(--cp-orange-dark); }
.footer-socials li a { background: var(--cp-ink); }
.footer-socials li a:hover { background: var(--cp-orange-dark); }
.footer-contact-block h4 { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.backtop { background: var(--cp-orange); right: 22px; bottom: 22px; width: 48px; height: 48px; }

/* About page */
.cp-about-page { --cp-local-width: 1140px; overflow: clip; color: var(--cp-body); }
.cp-about-page .container { max-width: var(--cp-local-width); }
.cp-about-page h1, .cp-about-page h2, .cp-about-page h3 { color: var(--cp-ink); }
.cp-page-hero { position: relative; padding: 26px 0 86px; background: radial-gradient(circle at 90% 10%, rgba(235,137,35,.12), transparent 32%), linear-gradient(135deg, #f7f9fc 0%, #fff 64%, #fff8ef 100%); }
.cp-breadcrumb { display: flex; align-items: center; gap: 11px; margin-bottom: 38px; color: var(--cp-muted); font-size: 13px; }
.cp-breadcrumb a { color: var(--cp-orange-dark); text-decoration: none; }
.cp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 76px); }
.cp-hero-copy { padding: 14px 0; }
.cp-eyebrow { display: inline-block; margin: 0 0 13px; color: var(--cp-orange-dark); font-size: 11px; font-weight: 800; letter-spacing: .15em; line-height: 1.6; text-transform: uppercase; }
.cp-about-page .cp-hero-copy h1 { max-width: 700px; margin: 0 0 23px; font-size: clamp(2.35rem, 4.1vw, 4.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -.045em; }
.cp-hero-lead { max-width: 650px; margin-bottom: 27px; color: #526176; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.75; }
.cp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cp-button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 12px; padding: 13px 21px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 750; line-height: 1.4; text-align: center; text-decoration: none !important; }
.cp-button-primary { background: var(--cp-orange); color: #fff !important; box-shadow: 0 9px 20px rgba(235,137,35,.2); }
.cp-button-primary:hover { transform: translateY(-2px); background: var(--cp-orange-dark); color: #fff; }
.cp-button-secondary { border-color: #dce3eb; background: #fff; color: var(--cp-ink) !important; }
.cp-button-secondary:hover { border-color: var(--cp-orange); color: var(--cp-orange-dark) !important; }
.cp-trust-points { display: grid; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; color: #536276; font-size: 13px; }
.cp-trust-points li { display: flex; align-items: flex-start; gap: 10px; }
.cp-trust-points li span { display: inline-flex; width: 20px; height: 20px; flex: 0 0 20px; align-items: center; justify-content: center; border-radius: 50%; background: #fff0df; color: var(--cp-orange-dark); font-weight: 900; }
.cp-hero-visual { position: relative; min-width: 0; }
.cp-hero-visual > img { display: block; width: 100%; aspect-ratio: 5 / 4; border: 8px solid rgba(255,255,255,.9); border-radius: 24px; box-shadow: 0 24px 65px rgba(21,34,56,.16); object-fit: cover; }
.cp-visual-caption { position: absolute; right: -14px; bottom: 25px; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 24px); padding: 14px 18px; border: 1px solid rgba(227,233,241,.9); border-radius: 13px; background: rgba(255,255,255,.96); box-shadow: var(--cp-shadow); }
.cp-caption-mark { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border-radius: 11px; background: var(--cp-ink); color: #fff; font-size: 14px; font-weight: 900; }
.cp-visual-caption strong, .cp-visual-caption span:not(.cp-caption-mark) { display: block; }
.cp-visual-caption strong { color: var(--cp-ink); font-size: 14px; }
.cp-visual-caption span:not(.cp-caption-mark) { color: var(--cp-muted); font-size: 12px; }
.cp-section { padding: 84px 0; }
.cp-two-column { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.cp-about-page h2 { margin: 0 0 17px; font-size: clamp(1.85rem, 3vw, 2.8rem); font-weight: 800; line-height: 1.18; letter-spacing: -.04em; }
.cp-prose p { margin: 0 0 16px; }
.cp-prose p:last-child { margin-bottom: 0; }
.cp-services-band { background: var(--cp-surface); }
.cp-section-heading { max-width: 760px; margin: 0 auto 39px; text-align: center; }
.cp-section-heading > p:last-child { max-width: 680px; margin: 0 auto; }
.cp-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cp-service-card { display: flex; min-width: 0; flex-direction: column; padding: 26px 23px 24px; border: 1px solid var(--cp-border); border-radius: var(--cp-radius); background: #fff; box-shadow: 0 8px 24px rgba(21,34,56,.035); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.cp-service-card:hover { transform: translateY(-5px); border-color: rgba(235,137,35,.5); box-shadow: var(--cp-shadow-hover); }
.cp-service-icon { display: grid; width: 48px; height: 48px; margin-bottom: 23px; place-items: center; border-radius: 13px; background: #fff1e2; color: var(--cp-orange-dark); font-size: 13px; font-weight: 900; }
.cp-about-page .cp-service-card h3 { margin: 0 0 12px; font-size: 18px; font-weight: 800; line-height: 1.4; }
.cp-service-card p { flex: 1; margin: 0 0 21px; color: var(--cp-muted); font-size: 14px; line-height: 1.75; }
.cp-service-card a, .cp-text-link { color: var(--cp-orange-dark); font-size: 13px; font-weight: 800; text-decoration: none; }
.cp-service-card a:hover, .cp-text-link:hover { color: var(--cp-ink); }
.cp-partnership-card { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(22px, 4vw, 48px); border: 1px solid var(--cp-border); border-radius: 24px; background: #fff; box-shadow: var(--cp-shadow); }
.cp-partnership-image img { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 16px; object-fit: cover; }
.cp-partnership-copy > p:not(.cp-eyebrow) { margin-bottom: 22px; }
.cp-capability-list { display: grid; gap: 15px; margin: 25px 0; }
.cp-capability-list > div { display: flex; gap: 12px; align-items: flex-start; }
.cp-capability-list > div > span:first-child { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border-radius: 50%; background: #fff1e2; color: var(--cp-orange-dark); font-size: 12px; font-weight: 900; }
.cp-capability-list strong, .cp-capability-list small { display: block; }
.cp-capability-list strong { color: var(--cp-ink); font-size: 14px; }
.cp-capability-list small { margin-top: 3px; color: var(--cp-muted); font-size: 13px; line-height: 1.6; }
.cp-values-section { background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.cp-values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cp-values-grid article { padding: 28px; border: 1px solid var(--cp-border); border-radius: 16px; background: #fff; }
.cp-values-grid article > span { display: inline-block; margin-bottom: 18px; color: var(--cp-orange-dark); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.cp-about-page .cp-values-grid h3 { margin-bottom: 10px; font-size: 20px; font-weight: 800; }
.cp-values-grid p { margin: 0; color: var(--cp-muted); font-size: 14px; }
.cp-faq-section { background: var(--cp-surface); }
.cp-faq-list { max-width: 900px; margin: 0 auto; }
.cp-faq-item { margin: 0 0 12px; overflow: hidden; border: 1px solid var(--cp-border); border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(21,34,56,.035); }
.cp-faq-item summary { position: relative; padding: 19px 56px 19px 22px; color: var(--cp-ink); cursor: pointer; font-weight: 750; line-height: 1.5; list-style: none; }
.cp-faq-item summary::-webkit-details-marker { display: none; }
.cp-faq-item summary::after { position: absolute; top: 50%; right: 22px; color: var(--cp-orange-dark); content: "+"; font-size: 25px; font-weight: 400; transform: translateY(-50%); }
.cp-faq-item[open] summary::after { content: "−"; }
.cp-faq-item > div { padding: 0 22px 19px; }
.cp-faq-item p { margin: 0; }
.cp-faq-item a { color: var(--cp-orange-dark); }
.cp-bottom-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding: 28px 30px; border: 1px solid var(--cp-border); border-radius: 17px; background: #fff; }
.cp-bottom-cta h2 { margin-bottom: 7px; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.cp-bottom-cta p { margin: 0; color: var(--cp-muted); font-size: 14px; }
@media (max-width: 991.98px) {
  .cp-hero-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cp-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-partnership-card { gap: 28px; }
  .cp-section { padding: 68px 0; }
}
@media (max-width: 767.98px) {
  .header-top-bar .row { text-align: center; }
  .top-right-bar { text-align: center !important; }
  .top-right-bar a .h4 { font-size: 14px; }
  .navbar-brand img { max-height: 54px; }
  #navbarmain { padding: 8px 0; }
  .cp-page-hero { padding: 22px 0 58px; }
  .cp-breadcrumb { margin-bottom: 24px; }
  .cp-hero-grid, .cp-two-column, .cp-partnership-card { grid-template-columns: 1fr; }
  .cp-hero-grid { gap: 32px; }
  .cp-about-page .cp-hero-copy h1 { font-size: clamp(2.2rem, 9vw, 3.3rem); }
  .cp-hero-visual { margin: 0 5px; }
  .cp-visual-caption { right: 5px; bottom: 15px; }
  .cp-section { padding: 56px 0; }
  .cp-service-grid, .cp-values-grid { grid-template-columns: 1fr; }
  .cp-service-card { padding: 24px; }
  .cp-partnership-card { padding: 22px; }
  .cp-bottom-cta { align-items: stretch; flex-direction: column; padding: 23px; }
  .cp-bottom-cta .cp-button { width: 100%; }
}
@media (max-width: 420px) {
  .cp-hero-actions { flex-direction: column; align-items: stretch; }
  .cp-button { width: 100%; }
  .cp-visual-caption { left: 8px; right: 8px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* FIX: Display the complete Tally partner certificate */
.cp-partnership-section .cp-partnership-card {
    align-items: center;
}

.cp-partnership-section .cp-partnership-image {
    width: 100%;
    min-width: 0;
    height: auto !important;
    min-height: 0;
    overflow: visible !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-partnership-section .cp-partnership-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center;
    border-radius: 16px;
}

/* Tablet and mobile */
@media (max-width: 991px) {
    .cp-partnership-section .cp-partnership-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cp-partnership-section .cp-partnership-image {
        width: 100%;
    }

    .cp-partnership-section .cp-partnership-image img {
        width: 100%;
        height: auto !important;
        object-fit: contain !important;
    }
}


