/*!
 * CatEye Website - public theme
 * Original stylesheet for the CatEye Technology site. Section, column and
 * widget classes (ce-*) are produced by the CMS and the content migration.
 */

/* ---------------------------------------------------------------- tokens */
:root {
    --c-primary: #6239bd;
    --c-primary-dark: #472d9a;
    --c-accent: #74c5da;
    --c-link: #30bbf2;
    --c-link-hover: #1b9fd3;
    --c-heading: #092933;
    --c-subheading: #1e73be;
    --c-text: #768894;
    --c-border: #e0dede;
    --c-soft: #f4f6f7;
    --c-footer-bg: #eff1f2;
    --c-footer-text: #8c8989;
    --c-footer-link: #788b98;
    --c-bottom-bg: #282a2b;
    --c-bottom-text: #97b0c1;
    --f-head: 'Teko', 'Arial Narrow', sans-serif;
    --f-body: 'Roboto', Arial, Helvetica, sans-serif;
    --container: 1300px;
    --gutter: 30px;
    --gap: 4%;
    --header-h: 100px;
    --radius: 4px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 30px;
    color: var(--c-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--c-link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-link-hover); }
p { margin: 0 0 20px; }
ul, ol { margin: 0 0 20px; padding-left: 1.4em; }
hr { border: 0; border-top: 1px solid var(--c-border); margin: 20px 0; }
blockquote { margin: 0 0 20px; padding: 10px 24px; border-left: 4px solid var(--c-accent); font-style: italic; }
table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
th, td { border: 1px solid var(--c-border); padding: 8px 12px; text-align: left; }
iframe { max-width: 100%; border: 0; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-head);
    font-weight: 400;
    color: var(--c-heading);
    margin: 0 0 20px;
}
h1 { font-size: clamp(38px, 4.6vw, 54px); line-height: 1.1; }
h2 { font-size: clamp(40px, 5vw, 65px); line-height: 1; }
h3 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.4; color: var(--c-subheading); letter-spacing: 1px; }
h4 { font-size: 26px; line-height: 1.3; }
h5 { font-size: 22px; line-height: 1.3; }
h6 { font-size: 18px; line-height: 1.4; }
strong, b { font-weight: 700; }

.sr-only, .hp-field {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }

/* ------------------------------------------------------------- containers */
.ce-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.ce-container-narrow { max-width: 960px; }
.ce-container-fluid { padding: 0 var(--gutter); }

/* ----------------------------------------------------------------- header */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
    transition: box-shadow .3s;
}
.site-header.is-stuck { box-shadow: 0 6px 20px rgba(9, 41, 51, .12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .3s; }
.site-header.is-stuck .header-inner { height: 76px; }
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { width: 70px; height: 70px; object-fit: contain; transition: width .3s, height .3s; }
.site-header.is-stuck .site-logo img { width: 56px; height: 56px; }
.site-logo-text { font-family: var(--f-head); font-size: 30px; color: var(--c-primary); }

.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a {
    display: flex; align-items: center; gap: 6px; white-space: nowrap;
    padding: 0 20px;
    line-height: var(--header-h);
    font-family: var(--f-head); font-size: 22px; letter-spacing: 1px;
    color: #3d3f4e;
    transition: color .2s, line-height .3s;
}
.site-header.is-stuck .site-nav .menu > li > a { line-height: 76px; }
.site-nav .menu > li > a i { font-size: 13px; margin-top: -4px; }
.site-nav .menu > li:hover > a,
.site-nav .menu > li.is-active > a,
.site-nav .menu > li > a:focus { color: var(--c-primary); }
.site-nav .menu > li.is-active > a { box-shadow: inset 0 -3px 0 var(--c-primary); }
.submenu-toggle { display: none; }
.site-nav .sub-menu {
    list-style: none; margin: 0; padding: 0;
    position: absolute; left: 0; top: 100%;
    min-width: 240px;
    background: #fff;
    border-top: 3px solid var(--c-primary);
    box-shadow: 0 12px 30px rgba(9, 41, 51, .12);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 10;
}
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a {
    display: block; padding: 11px 22px;
    font-size: 13px; line-height: 1.6; letter-spacing: .5px;
    color: #616a7d;
    border-bottom: 1px solid #f2efef;
}
.site-nav .sub-menu li:last-child a { border-bottom: 0; }
.site-nav .sub-menu a:hover, .site-nav .sub-menu .is-active > a { background: #f8f8f8; color: var(--c-primary); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 26px; height: 2px; background: var(--c-heading); position: relative; transition: transform .25s, background .25s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -8px; }
.nav-toggle-bars::after { top: 8px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1100px) {
    .site-nav .menu > li > a { padding: 0 12px; font-size: 20px; }
}
/* Switch to the menu button before the full menu runs out of room */
@media (max-width: 1150px) {
    :root { --header-h: 80px; }
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: #fff; box-shadow: 0 12px 24px rgba(9, 41, 51, .15);
        max-height: 0; overflow: hidden; transition: max-height .35s ease;
    }
    .nav-open .site-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
    .site-nav .menu { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
    .site-nav .menu > li { display: flex; flex-wrap: wrap; border-bottom: 1px solid #f0f0f0; }
    .site-nav .menu > li > a, .site-header.is-stuck .site-nav .menu > li > a { flex: 1; line-height: 52px; padding: 0 var(--gutter); }
    .site-nav .menu > li > a i { display: none; }
    .site-nav .menu > li.is-active > a { box-shadow: none; }
    .submenu-toggle {
        display: block; width: 56px; background: none; border: 0; border-left: 1px solid #f0f0f0;
        color: var(--c-heading); cursor: pointer; font-size: 16px;
    }
    .submenu-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
    .site-nav .sub-menu {
        position: static; flex-basis: 100%; min-width: 0; border-top: 0; box-shadow: none;
        opacity: 1; visibility: visible; transform: none; display: none; background: #fafafa;
    }
    .site-nav .sub-menu.is-open { display: block; }
    .site-nav .sub-menu a { padding-left: calc(var(--gutter) + 18px); font-size: 14px; }
}

/* ------------------------------------------------------------------- hero */
.ce-hero {
    position: relative;
    height: var(--hero-h, 600px);
    min-height: 420px;
    max-height: 90vh;
    overflow: hidden;
    background: #5b3ab3;
    color: #fff;
}
.ce-hero.is-full-height { height: calc(100vh - var(--header-h)); min-height: 480px; max-height: 900px; }
.ce-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.ce-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.ce-slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.06); transition: transform 9s ease-out;
}
.ce-slide.is-active .ce-slide-bg { transform: scale(1); }
.ce-slide::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(9, 41, 51, .62) 0%, rgba(9, 41, 51, .35) 50%, rgba(9, 41, 51, .1) 100%);
}
.ce-slide-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.ce-slide-text { max-width: 640px; }
.ce-slide-title {
    font-family: var(--f-head); font-weight: 400;
    font-size: clamp(46px, 7vw, 96px); line-height: .95;
    color: #fff; margin: 0 0 18px; letter-spacing: .5px;
}
.ce-slide-rule { display: block; width: 200px; max-width: 50%; border-top: 5px solid var(--c-accent); margin: 26px 0; }
.ce-slide-sub { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.6; color: rgba(255, 255, 255, .92); margin: 0 0 28px; }
.ce-slide-graphic { flex: 0 1 45%; display: flex; justify-content: flex-end; }
.ce-slide-graphic img { max-height: calc(var(--hero-h, 600px) * .75); width: auto; }
.ce-slide-link { position: absolute; inset: 0; z-index: 3; }
.ce-slide.is-active .ce-slide-text > * { animation: ce-rise .9s both; }
.ce-slide.is-active .ce-slide-text > *:nth-child(2) { animation-delay: .15s; }
.ce-slide.is-active .ce-slide-text > *:nth-child(3) { animation-delay: .3s; }
.ce-slide.is-active .ce-slide-text > *:nth-child(4) { animation-delay: .45s; }
.ce-slide.is-active .ce-slide-graphic { animation: ce-fade 1.2s .3s both; }
@keyframes ce-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes ce-fade { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.ce-hero-arrow {
    position: absolute; top: 50%; z-index: 4; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%; border: 0;
    background: rgba(0, 0, 0, .25); color: #fff; font-size: 22px; cursor: pointer; transition: background .2s;
}
.ce-hero-arrow:hover { background: var(--c-primary); }
.ce-hero-arrow.prev { left: 20px; }
.ce-hero-arrow.next { right: 20px; }
.ce-hero-dots { position: absolute; bottom: 24px; left: 0; right: 0; z-index: 4; display: flex; justify-content: center; gap: 10px; }
.ce-hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.ce-hero-dots button.is-active { background: #fff; }
@media (max-width: 800px) {
    .ce-hero, .ce-hero.is-full-height { height: auto; min-height: 460px; }
    .ce-slide { position: absolute; }
    .ce-slide-inner { padding-top: 60px; padding-bottom: 70px; }
    .ce-slide-graphic { display: none; }
    .ce-hero-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .ce-slide, .ce-slide-bg, .ce-slide.is-active .ce-slide-text > *, .ce-slide.is-active .ce-slide-graphic { transition: none; animation: none; transform: none; }
}

/* ------------------------------------------------------------ page header */
.page-header {
    background: linear-gradient(120deg, var(--c-primary-dark), var(--c-primary) 60%, #7a52d6);
    color: #fff; padding: 70px 0 60px;
}
.page-header .page-title { color: #fff; font-size: clamp(42px, 5vw, 65px); line-height: 1; margin: 0; }
.page-header-label { margin: 0 0 6px; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: var(--c-accent); }
.page-header-label a { color: var(--c-accent); }
.page-header-desc { margin: 14px 0 0; max-width: 760px; color: rgba(255, 255, 255, .85); }
.preview-bar { background: #fff4d6; color: #7a5b00; text-align: center; padding: 8px 16px; font-size: 14px; border-bottom: 1px solid #f0dc9b; }

/* --------------------------------------------------------------- sections */
.ce-section { position: relative; padding: 60px 0; }
.ce-section[id] { scroll-margin-top: calc(var(--header-h) + 10px); }
.ce-section.has-bg-image { background-size: cover; background-position: center; }
.ce-section > .ce-container > :last-child,
.ce-section > .ce-container-fluid > :last-child { margin-bottom: 0; }
.ce-text-light { color: #fff; }
.ce-text-light h1, .ce-text-light h2, .ce-text-light h3, .ce-text-light h4, .ce-text-light h5, .ce-text-light h6 { color: #fff; }
.ce-text-light a:not(.ce-btn) { color: var(--c-accent); }
.ce-text-light .ce-title-lines::before, .ce-text-light .ce-title-lines::after { border-color: rgba(255, 255, 255, .35); }
.ce-text-dark { color: var(--c-text); }
.template-narrow .ce-layout-boxed > .ce-container { max-width: 960px; }

/* ----------------------------------------------------------------- columns */
.ce-row { display: flex; flex-wrap: wrap; column-gap: var(--gap); row-gap: 30px; margin-bottom: 20px; }
.ce-row:last-child { margin-bottom: 0; }
.ce-col { flex: 0 0 100%; min-width: 0; }
.ce-col > :last-child { margin-bottom: 0; }
.ce-col-1-1 { flex-basis: 100%; }
.ce-col-1-2 { flex-basis: calc((100% - var(--gap)) / 2); }
.ce-col-1-3 { flex-basis: calc((100% - 2 * var(--gap)) / 3); }
.ce-col-2-3 { flex-basis: calc((100% - 2 * var(--gap)) / 3 * 2 + var(--gap)); }
.ce-col-1-4 { flex-basis: calc((100% - 3 * var(--gap)) / 4); }
.ce-col-3-4 { flex-basis: calc((100% - 3 * var(--gap)) / 4 * 3 + 2 * var(--gap)); }
.ce-col-1-5 { flex-basis: calc((100% - 4 * var(--gap)) / 5); }
.ce-col-2-5 { flex-basis: calc((100% - 4 * var(--gap)) / 5 * 2 + var(--gap)); }
.ce-col-3-5 { flex-basis: calc((100% - 4 * var(--gap)) / 5 * 3 + 2 * var(--gap)); }
.ce-col-4-5 { flex-basis: calc((100% - 4 * var(--gap)) / 5 * 4 + 3 * var(--gap)); }
.ce-col-1-6 { flex-basis: calc((100% - 5 * var(--gap)) / 6); }
.ce-col-5-6 { flex-basis: calc((100% - 5 * var(--gap)) / 6 * 5 + 4 * var(--gap)); }
.ce-col-middle { display: flex; flex-direction: column; justify-content: center; }
.ce-col[style*="background"] { border-radius: 2px; }
@media (max-width: 800px) {
    .ce-row { row-gap: 24px; }
    .ce-col, .ce-col-custom { flex-basis: 100% !important; }
    .ce-hide-mobile { display: none !important; }
}

/* ------------------------------------------------------------------ titles */
.ce-title { margin-bottom: 31px; }
.ce-title-center { text-align: center; }
.ce-title-right { text-align: right; }
/* Decorative rules beside a heading, drawn inline so the heading text stays one piece */
.ce-title-lines { overflow: hidden; }
.ce-title-lines::before, .ce-title-lines::after {
    content: ''; display: inline-block; vertical-align: middle; width: 100%; height: 0;
    border-top: 1px solid var(--c-border); position: relative; top: -.12em;
}
.ce-title-lines::before { margin-left: -100%; margin-right: 24px; }
.ce-title-lines::after { margin-right: -100%; margin-left: 24px; }
.ce-title-lines:not(.ce-title-center):not(.ce-title-right)::before { display: none; }
.ce-title-lines.ce-title-right::after { display: none; }
.ce-headline { font-size: clamp(38px, 4vw, 52px); line-height: 1.1; color: var(--c-heading); margin-bottom: 18px; }
.ce-headline strong, .ce-headline b { font-weight: 600; color: var(--c-primary); }
.ce-text-light .ce-headline strong { color: var(--c-accent); }
.ce-subheadline { font-size: 17px; line-height: 1.8; }
.ce-subheading { font-size: 30px; margin-top: 30px; }
.ce-widget-title { font-size: 30px; }
.ce-sep { border: 0; border-top: 1px solid var(--c-border); margin: 20px auto 20px 0; max-width: 100%; }
.ce-sep-double { border-top-style: double; border-top-width: 4px; }
.ce-spacer { display: block; }
.ce-image { margin: 0 0 20px; }
.ce-image img { display: inline-block; vertical-align: middle; }
.ce-offices p { margin-bottom: 14px; }
.ce-office-label { font-weight: 500; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.ce-alert { padding: 16px 20px; border-left: 4px solid var(--c-primary); background: #f5f2fc; margin-bottom: 20px; }
.ce-empty { color: var(--c-text); font-style: italic; }

/* ----------------------------------------------------------------- buttons */
.ce-btn, .ce-form button[type="submit"], .ce-section input[type="submit"] {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    padding: 12px 30px 9px;
    font-family: var(--f-head); font-size: 21px; line-height: 1.2; letter-spacing: 1px; text-transform: uppercase;
    color: #fff; background: var(--c-primary);
    border: 2px solid var(--c-primary); border-radius: 30px;
    cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.ce-btn:hover, .ce-form button[type="submit"]:hover, .ce-section input[type="submit"]:hover {
    background: var(--c-primary-dark); border-color: var(--c-primary-dark); color: #fff;
}
.ce-btn-lg { font-size: 23px; padding: 15px 40px 12px; }
.ce-btn-small { font-size: 18px; padding: 8px 20px 6px; }
.ce-btn-outline { background: transparent; border-color: #fff; color: #fff; }
.ce-btn-outline:hover { background: #fff; border-color: #fff; color: var(--c-primary); }
.ce-btn-outline-dark { background: transparent; border-color: var(--c-heading); color: var(--c-heading); }
.ce-btn-outline-dark:hover { background: var(--c-heading); border-color: var(--c-heading); color: #fff; }
.ce-btn-wrap { margin: 10px 0 20px; }
.ce-more { font-size: 13px; color: var(--c-link); }
.ce-more::after { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-left: 6px; font-size: 11px; }

/* --------------------------------------------------------------- checklist */
.ce-checklist { list-style: none; padding: 0; margin: 0 0 20px; }
.ce-checklist li { display: flex; gap: 14px; align-items: baseline; margin-bottom: 10px; line-height: 1.7; }
.ce-checklist li > i { flex: 0 0 18px; text-align: center; color: var(--c-accent); }
.ce-text-light .ce-checklist li > i { color: #fff; }

/* ----------------------------------------------------------- content boxes */
.ce-boxes { display: grid; gap: 34px 4%; margin-bottom: 20px; }
.ce-cols-1 { grid-template-columns: 1fr; }
.ce-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ce-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ce-cols-4 { grid-template-columns: repeat(4, 1fr); }
.ce-cols-5 { grid-template-columns: repeat(5, 1fr); }
.ce-cols-6 { grid-template-columns: repeat(6, 1fr); }
.ce-box-head, .ce-box-link { display: flex; align-items: center; gap: 24px; color: inherit; }
.ce-box-link:hover .ce-box-title { color: var(--c-accent); }
.ce-box-title { font-size: 30px; line-height: 35px; margin: 0; color: inherit; letter-spacing: 0; }
.ce-section:not(.ce-text-light) .ce-box-title { color: var(--c-heading); }
.ce-box-body { margin-top: 12px; }
.ce-box-body > :last-child { margin-bottom: 0; }
.ce-boxes-side .ce-box-body { padding-left: 100px; }
.ce-boxes-top .ce-box { text-align: center; }
.ce-boxes-top .ce-box-head, .ce-boxes-top .ce-box-link { flex-direction: column; gap: 16px; }
.ce-box-icon {
    flex: 0 0 auto;
    display: inline-grid; place-items: center;
    width: 76px; height: 76px; font-size: 28px;
    color: #fff; background: var(--c-accent);
}
.ce-box-icon.ce-icon-circle {
    border-radius: 50%;
    border: 6px solid var(--c-primary-dark);
    box-shadow: 0 0 0 2px var(--c-accent);
}
.ce-box-icon:not(.ce-icon-circle) { background: none; color: var(--c-accent); font-size: 40px; }
.ce-box-image { width: auto; height: auto; background: none; }
.ce-boxes-side .ce-box { position: relative; }

/* ---------------------------------------------------------------- features */
.ce-features { display: grid; gap: 40px 4%; margin: 10px 0 20px; }
.ce-features-top .ce-feature { text-align: center; }
.ce-feature-icon { font-size: 58px; line-height: 1; color: #404040; margin-bottom: 22px; }
.ce-text-light .ce-feature-icon { color: #fff; }
.ce-feature-image img { max-height: 90px; width: auto; }
.ce-feature-title { font-size: 24px; letter-spacing: 1px; margin-bottom: 10px; color: var(--c-heading); }
.ce-text-light .ce-feature-title { color: #fff; }
.ce-feature-text { font-size: 15px; line-height: 1.75; }
.ce-feature-text > :last-child { margin-bottom: 0; }
.ce-features-side .ce-feature { display: grid; grid-template-columns: 70px 1fr; column-gap: 20px; }
.ce-features-side .ce-feature-icon { grid-row: span 3; font-size: 44px; }

/* ------------------------------------------------------------------ people */
.ce-person { text-align: center; padding-bottom: 24px; border-bottom: 1px solid var(--c-border); margin-bottom: 20px; }
.ce-person-photo { margin: 0 0 22px; overflow: hidden; }
.ce-person-photo img { display: block; margin: 0 auto; transition: transform .4s; }
.ce-person:hover .ce-person-photo img { transform: scale(1.04); }
.ce-person-name { font-size: 26px; margin: 0; letter-spacing: 1px; }
.ce-person-role { font-family: var(--f-head); font-size: 22px; color: var(--c-heading); margin: 0 0 8px; }
.ce-social { display: flex; justify-content: center; gap: 12px; margin: 0 0 10px; }
.ce-social a { color: #0077b5; font-size: 17px; }
.ce-social a:hover { color: var(--c-primary); }
.ce-person-bio { font-size: 15px; }

/* ------------------------------------------------------------ testimonials */
.ce-testimonials { position: relative; max-width: 1000px; margin: 0 auto 20px; }
.ce-testimonial { margin: 0; text-align: center; }
.ce-testimonials.is-carousel .ce-testimonial { display: none; }
.ce-testimonials.is-carousel .ce-testimonial.is-active { display: block; animation: ce-fade-in .6s both; }
@keyframes ce-fade-in { from { opacity: 0; } to { opacity: 1; } }
.ce-testimonial blockquote {
    margin: 0; padding: 30px 40px;
    background: #1d1d1f; color: #d9d9d9;
    border: 0; font-style: italic; font-size: 16px; line-height: 1.9; letter-spacing: .3px;
    position: relative;
}
.ce-testimonial blockquote::after {
    content: ''; position: absolute; left: 50%; bottom: -12px; margin-left: -12px;
    border: 12px solid transparent; border-bottom: 0; border-top-color: #1d1d1f;
}
.ce-testimonial blockquote p:last-child { margin-bottom: 0; }
.ce-testimonial figcaption { margin-top: 24px; font-size: 15px; color: #fff; }
.ce-section:not(.ce-text-light) .ce-testimonial figcaption { color: var(--c-heading); }
.ce-testimonial figcaption strong { font-weight: 700; letter-spacing: 1px; }
.ce-testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.ce-testimonial-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; }
.ce-section:not(.ce-text-light) .ce-testimonial-dots button { background: #ccc; }
.ce-testimonial-dots button.is-active { background: var(--c-accent) !important; }

/* ------------------------------------------------------------------- logos */
.ce-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 30px 50px; margin: 10px 0 20px; }
.ce-logos img { max-height: 90px; width: auto; filter: grayscale(.15); transition: filter .3s, transform .3s; }
.ce-logos a:hover img, .ce-logos img:hover { filter: none; transform: scale(1.05); }
.ce-logos.is-marquee { display: block; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ce-logos-track { display: flex; align-items: center; gap: 60px; width: max-content; animation: ce-marquee var(--marquee-s, 40s) linear infinite; }
.ce-logos.is-marquee:hover .ce-logos-track { animation-play-state: paused; }
@keyframes ce-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ----------------------------------------------------------------- toggles */
.ce-toggle { border-bottom: 1px solid var(--c-border); }
.ce-toggle summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
    padding: 14px 0; font-family: var(--f-head); font-size: 22px; letter-spacing: 1px; color: var(--c-heading);
}
.ce-toggle summary::-webkit-details-marker { display: none; }
.ce-toggle summary::before {
    content: '+'; flex: 0 0 22px; height: 22px; line-height: 22px; text-align: center;
    background: var(--c-primary); color: #fff; font-family: var(--f-body); font-size: 16px; border-radius: 2px;
}
.ce-toggle[open] summary::before { content: '\2212'; }
.ce-toggle-body { padding: 0 0 18px 36px; }

/* ---------------------------------------------------------------- counters */
.ce-counters { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-bottom: 20px; }
.ce-counter { text-align: center; }
.ce-counter-ring {
    --p: 0; --ring: var(--c-primary);
    width: 220px; height: 220px; border-radius: 50%; margin: 0 auto;
    display: grid; place-items: center; position: relative;
    background: conic-gradient(var(--ring) calc(var(--p-anim, var(--p)) * 1%), #f2f2f2 0);
    font-family: var(--f-head); font-size: 54px; color: var(--c-heading);
}
.ce-counter-ring::before { content: ''; position: absolute; inset: 14px; border-radius: 50%; background: #fff; }
.ce-counter-ring > * { position: relative; }
.ce-counter-ring i { font-size: 64px !important; }
.ce-counter-label { margin-top: 14px; font-family: var(--f-head); font-size: 22px; color: var(--c-heading); }

/* --------------------------------------------------------------- flipboxes */
.ce-flipboxes { display: grid; gap: 30px; margin-bottom: 20px; }
.ce-flipbox { perspective: 1200px; min-height: 220px; }
.ce-flip-inner { position: relative; height: 100%; min-height: 220px; transition: transform .7s; transform-style: preserve-3d; }
.ce-flipbox:hover .ce-flip-inner, .ce-flipbox:focus-within .ce-flip-inner { transform: rotateY(180deg); }
.ce-flip-front, .ce-flip-back {
    position: absolute; inset: 0; backface-visibility: hidden;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    padding: 30px; border-radius: var(--radius); background: #f6f6f6;
}
.ce-flip-back { transform: rotateY(180deg); background: var(--c-primary); color: #fff; }
.ce-flip-back h1, .ce-flip-back h2, .ce-flip-back h3, .ce-flip-back h4 { color: #fff; }
.ce-flip-front h2, .ce-flip-back h3 { font-size: 30px; margin: 0 0 10px; }

/* ------------------------------------------------------------------ videos */
.ce-video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 20px; background: #000; }
.ce-video iframe, .ce-video video { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ------------------------------------------------------------------- posts */
.ce-posts { display: grid; gap: 50px 4%; margin-bottom: 30px; }
.ce-posts-grid.ce-cols-1 { grid-template-columns: 1fr; }
.ce-post-card { min-width: 0; }
.ce-post-thumb { display: block; overflow: hidden; margin-bottom: 18px; aspect-ratio: 3 / 2; background: var(--c-soft); }
.ce-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ce-post-card:hover .ce-post-thumb img { transform: scale(1.05); }
.ce-post-title { font-size: clamp(30px, 3vw, 42px); line-height: 1.24; margin: 0 0 8px; letter-spacing: 0; }
.ce-post-title a { color: var(--c-link); }
.ce-post-title a:hover { color: var(--c-primary); }
.ce-post-meta { font-size: 13px; line-height: 1.8; margin: 0 0 14px; }
.ce-post-meta .sep { margin: 0 8px; color: #c8c8c8; }
.ce-post-meta a { color: var(--c-link); }
.ce-post-excerpt { margin-bottom: 12px; }
.ce-post-more { margin: 0; }
.ce-posts-large .ce-post-card {
    background: #fff; color: var(--c-text);
    padding: 44px 44px 34px; box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}
.ce-posts-large .ce-post-more { text-align: right; }
.ce-posts-list .ce-post-card { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 30px; align-items: start; }
.ce-posts-list .ce-post-thumb { margin: 0; }
.ce-text-light .ce-posts-large .ce-post-card a.ce-more, .ce-text-light .ce-post-card .ce-post-title a { color: var(--c-link); }
.ce-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0 0; font-size: 14px; }
.ce-pagination a, .ce-pagination span {
    min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: 1px solid var(--c-border); color: var(--c-text);
}
.ce-pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.ce-pagination .current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* ------------------------------------------------------------ single post */
.single-post-article { padding: 80px 0 50px; }
.post-featured { margin: 0 0 34px; }
.post-featured img { display: block; width: 100%; max-height: 560px; object-fit: cover; }
.post-title { font-size: clamp(40px, 5vw, 65px); line-height: 1; margin-bottom: 10px; }
.post-meta { margin-bottom: 30px; }
.entry-content::after { content: ''; display: block; clear: both; }
.entry-content img { margin: 10px 0; }
.post-tags { margin: 30px 0 0; font-size: 13px; }
.post-tags i { color: var(--c-primary); margin-right: 6px; }
.post-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 0 12px; border: 1px solid var(--c-border); border-radius: 20px; color: var(--c-text); line-height: 28px; }
.post-tags a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.post-share { margin: 34px 0 0; padding: 22px 26px; background: var(--c-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.post-share h4 { flex: 1 1 260px; margin: 0; font-size: 22px; }
.post-share a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 4px; color: #fff; font-size: 17px; }
.share-linkedin { background: #0077b5; } .share-facebook { background: #3b5998; } .share-x { background: #111; }
.share-whatsapp { background: #25d366; } .share-email { background: #6c7a86; }
.post-share a:hover { color: #fff; opacity: .85; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--c-border); font-family: var(--f-head); font-size: 22px; }
.post-nav a { color: var(--c-heading); max-width: 48%; }
.post-nav a:hover { color: var(--c-primary); }
.post-nav .next { margin-left: auto; text-align: right; }

/* -------------------------------------------------------------------- jobs */
.ce-jobs { display: grid; gap: 18px; margin-bottom: 20px; }
.ce-job {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px;
    padding: 26px 30px; background: #fff; border: 1px solid var(--c-border); border-left: 4px solid var(--c-primary);
    transition: box-shadow .25s, transform .25s;
}
.ce-job:hover { box-shadow: 0 14px 34px rgba(9, 41, 51, .1); transform: translateY(-2px); }
.ce-job-title { font-size: 30px; line-height: 1.2; margin: 0 0 6px; letter-spacing: 0; }
.ce-job-title a { color: var(--c-heading); }
.ce-job-title a:hover { color: var(--c-primary); }
.ce-job-specs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; }
.ce-job-specs i { color: var(--c-primary); margin-right: 4px; }
.ce-jobs-intro { margin-bottom: 30px; }
.job-summary { background: var(--c-soft); padding: 28px 30px; border-top: 4px solid var(--c-primary); position: sticky; top: 110px; }
.job-summary h3 { font-size: 28px; color: var(--c-heading); margin-bottom: 10px; }
.job-summary dl { margin: 0 0 20px; }
.job-summary dt { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #9aa6ae; }
.job-summary dd { margin: 0 0 12px; color: var(--c-heading); }
.job-apply { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--c-border); max-width: 900px; }

/* ------------------------------------------------------------------- forms */
.ce-form { display: grid; gap: 18px; }
.ce-form > button[type="submit"] { justify-self: start; }
.ce-form-row, .ce-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ce-form-fields > .ce-field-full { grid-column: 1 / -1; }
.ce-form-actions { margin-top: 6px; }
.ce-contact-form { max-width: 820px; }
.ce-form label { display: block; font-size: 14px; color: var(--c-heading); font-weight: 500; }
.ce-form small { display: block; color: #9aa6ae; font-weight: 400; }
.ce-form .req { color: #d63638; }
.ce-form input[type="text"], .ce-form input[type="email"], .ce-form input[type="tel"], .ce-form input[type="file"],
.ce-form textarea, .ce-search-form input,
.ce-section .form-control, .ce-section input[type="text"], .ce-section input[type="email"], .ce-section input[type="tel"],
.ce-section select, .ce-section textarea {
    display: block; width: 100%; margin-top: 6px;
    padding: 11px 14px; min-height: 46px;
    font: 16px/1.5 var(--f-body); color: #333;
    background: #fff; border: 1px solid #d2d2d2; border-radius: var(--radius);
    transition: border-color .2s, box-shadow .2s;
}
.ce-form input:focus, .ce-form textarea:focus, .ce-section .form-control:focus, .ce-search-form input:focus,
.ce-section input:focus, .ce-section select:focus, .ce-section textarea:focus {
    outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(98, 57, 189, .15);
}
.ce-form .has-error input, .ce-form .has-error textarea { border-color: #d63638; }
.field-error { display: block; color: #d63638; font-size: 13px; font-weight: 400; margin-top: 4px; }
.ce-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--c-text) !important; }
.ce-check input { margin-top: 7px; }
.ce-check .field-error { flex-basis: 100%; }
.ce-notice { padding: 16px 20px; border-radius: var(--radius); background: var(--c-soft); margin-bottom: 20px; color: var(--c-heading); }
.ce-notice.success { background: #e9f8ef; color: #1c6b3c; }
.ce-notice.error { background: #fdecec; color: #a12424; }
.ce-search-form { display: flex; gap: 10px; margin: 0 0 30px; max-width: 640px; }
.ce-search-form input { margin: 0; }
.ce-search-pages { columns: 2; margin-bottom: 30px; }
/* Embedded CRM web forms */
.ce-section form .form-group { margin-bottom: 16px; }
.ce-section form .col-25 label { font-size: 14px; font-weight: 500; color: var(--c-heading); }
.ce-text-light form .col-25 label { color: #fff; }
.ce-section .g-recaptcha { margin: 10px 0 16px; }
@media (max-width: 700px) {
    .ce-form-row, .ce-form-fields { grid-template-columns: 1fr; }
    .ce-search-form { flex-direction: column; }
    .ce-search-pages { columns: 1; }
}

/* ------------------------------------------------------------------ footer */
.footer-widgets { background: var(--c-footer-bg); color: var(--c-footer-text); padding: 60px 0 40px; font-size: 13px; line-height: 2; }
.footer-widgets h4 { font-family: var(--f-body); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--c-footer-text); margin: 0 0 16px; }
.footer-widgets ul { list-style: none; margin: 0; padding: 0; }
.footer-widgets a { color: var(--c-footer-link); text-transform: uppercase; letter-spacing: .5px; }
.footer-widgets a:hover { color: var(--c-primary); }
.footer-bottom { background: var(--c-bottom-bg); color: var(--c-bottom-text); padding: 18px 0; font-size: 11px; line-height: 1.8; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px; }
.footer-menu { list-style: none; display: inline-flex; flex-wrap: wrap; gap: 0 16px; margin: 0 0 0 16px; padding: 0; }
.footer-menu a { color: var(--c-bottom-text); }
.footer-menu a:hover { color: #fff; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 4px; color: #fff; background: #4b4f52; font-size: 15px; transition: opacity .2s; }
.footer-social a:hover { color: #fff; opacity: .85; }
.footer-social .social-linkedin { background: #0077b5; }
.footer-social .social-facebook { background: #3b5998; }
.footer-social .social-twitter, .footer-social .social-x { background: #111; }
.footer-social .social-youtube { background: #cd201f; }
.footer-social .social-instagram { background: #c13584; }
.to-top {
    position: fixed; right: 24px; bottom: 0; z-index: 90;
    width: 48px; height: 36px; display: grid; place-items: center;
    background: #333; color: #fff; border-radius: 4px 4px 0 0;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--c-primary); color: #fff; }

/* ---------------------------------------------------------------- 404 page */
.ce-404 { padding: 110px 0; text-align: center; }
.ce-404-code { font-family: var(--f-head); font-size: 160px; line-height: 1; color: var(--c-primary); margin: 0; }
.ce-404 .ce-search-form { margin: 30px auto; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
    .ce-cols-4, .ce-cols-5, .ce-cols-6 { grid-template-columns: repeat(2, 1fr); }
    .ce-cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
    :root { --gutter: 20px; }
    .ce-section { padding: 50px 0; }
    .ce-section[style*="padding-top"] { padding-top: min(60px, 10vw) !important; }
    .ce-section[style*="padding-bottom"] { padding-bottom: min(60px, 10vw) !important; }
    .ce-cols-2, .ce-cols-3 { grid-template-columns: 1fr; }
    .ce-boxes-side .ce-box-body { padding-left: 0; }
    .ce-posts-list .ce-post-card { grid-template-columns: 1fr; }
    .ce-posts-large .ce-post-card { padding: 30px 24px; }
    .ce-title-lines::before, .ce-title-lines::after { display: none; }
    .job-summary { position: static; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-menu { margin: 6px 0 0; justify-content: center; }
}
@media (max-width: 520px) {
    .ce-cols-4, .ce-cols-5, .ce-cols-6 { grid-template-columns: 1fr; }
    .ce-counter-ring { width: 180px; height: 180px; }
}
