/* Connix — brand layer over Crafto (based on demos/it-business) */
:root {
    --base-color: #0c6e7b;          /* logo teal */
    --base-color-dark: #08474f;
    --dark-gray: #0a3c3d;           /* headings, dark sections */
    --black: #061f22;
    --medium-gray: #5a6265;
    --very-light-gray: #f2f3f3;
    --brand-gray: #4d4d4d;          /* logo gray */
    --text-color: #2b2f30;
    --alt-font: 'Manrope', sans-serif;
    --primary-font: 'Inter', sans-serif;
    --mono-font: 'JetBrains Mono', ui-monospace, monospace;
}
body { line-height: 29px; color: var(--text-color); font-size: 16px; }
.font-mono, .spec-chip, .product-code { font-family: var(--mono-font); }

/* header */
header .navbar-brand img { max-height: 40px; }
.navbar .navbar-nav .nav-link { font-size: 16px; }
header .btn.btn-rounded.btn-large { padding: 10px 24px; font-size: 13px; font-weight: 600; }
.sticky .header-transparent .header-button .btn { color: var(--white); background: var(--base-color); border-color: var(--base-color); }
.sticky .header-transparent .header-button .btn:hover { background: var(--dark-gray); border-color: var(--dark-gray); }
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu { background-color: var(--dark-gray); }
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a { border-bottom: 1px solid rgba(255,255,255,.1); color: var(--white); }
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li:hover a,
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li.active a { opacity: .6; }
.navbar .navbar-nav .nav-item.active > .nav-link { opacity: .7; }

/* buttons */
.btn { text-transform: none; font-family: var(--alt-font); }
[class*=btn-transparent] { font-weight: 500; }
.btn.btn-switch-text.btn-extra-large > span { padding: 19px 40px; }
.btn-brand { background: var(--base-color); border-color: var(--base-color); color: var(--white); }
.btn-brand:hover, .btn-brand:focus { background: var(--base-color-dark); border-color: var(--base-color-dark); color: var(--white); }

/* gradients / backgrounds */
.bg-gradient-dark-gray-transparent { background: linear-gradient(to right, rgba(6,31,34,.55), rgba(255,255,255,0)); }
.bg-gradient-very-light-gray-transparent { background: linear-gradient(to right, rgba(226,240,241,1), rgba(255,255,255,0)); }
.bg-gradient-base-color-transparent { background: linear-gradient(to right, rgba(12,110,123,1) 10%, rgba(255,255,255,0) 95%); }
.bg-dark-teal { background-color: var(--dark-gray); }
.bg-brand { background-color: var(--base-color); }
.bg-teal-tint { background-color: #e6f1f2; }
h1, h2, h3, h4, h5, h6 { margin-bottom: 25px; }

/* page title */
.page-title-extra-large h1 { font-size: 3.6rem; line-height: 4rem; }

/* spec chips & product cards */
.spec-chip { display: inline-block; font-size: 12px; line-height: 22px; padding: 2px 10px; margin: 0 4px 6px 0; border-radius: 4px; background: #e6f1f2; color: var(--base-color-dark); font-weight: 500; }
.product-code { font-size: 12px; letter-spacing: .5px; color: var(--base-color); font-weight: 600; }
.product-card { background: var(--white); border: 1px solid #e4e7e7; border-radius: 8px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.product-card:hover { box-shadow: 0 20px 40px rgba(10,60,61,.12); transform: translateY(-4px); }
.product-card .product-img { background: #fff; height: 230px; display: flex; align-items: center; justify-content: center; padding: 22px; border-bottom: 1px solid #eef0f0; }
.product-card .product-img img { width: 100%; height: 100%; object-fit: contain; }
.product-card .product-body { padding: 25px 28px 28px; display: flex; flex-direction: column; flex-grow: 1; }
.product-card .product-body .chips { margin-top: auto; }
.filter-btns .btn { margin: 0 6px 10px 0; }
.filter-btns .btn.active { background: var(--base-color); border-color: var(--base-color); color: #fff; }

/* pipeline */
.pipeline-step { position: relative; }
.pipeline-step .step-no { font-family: var(--mono-font); font-size: 13px; color: var(--base-color); font-weight: 600; letter-spacing: 1px; }
.pipeline-step ul li { font-size: 15px; line-height: 26px; padding: 3px 0; border-bottom: 1px dashed #dfe3e3; }

/* spec table */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 14px 18px; border-bottom: 1px solid #e4e7e7; vertical-align: top; text-align: left; }
.spec-table th { width: 34%; font-weight: 600; color: var(--dark-gray); background: #f7f8f8; }
.spec-table td { font-family: var(--mono-font); font-size: 14px; }

/* product detail */
.product-gallery-main { background: #fff; border: 1px solid #e4e7e7; border-radius: 8px; padding: 30px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.product-gallery-main img { max-height: 100%; max-width: 100%; object-fit: contain; }
.sticky-cta { position: sticky; top: 110px; }
.breadcrumb-light a, .breadcrumb-light span { color: rgba(255,255,255,.75); font-size: 14px; }
.breadcrumb-light a:hover { color: #fff; }

/* forms (UI only for now) */
.form-note { font-size: 13px; color: var(--medium-gray); }
.form-success { display: none; }
form.is-sent .form-success { display: block; }
.contact-form-style-03 select.form-control { appearance: none; background: transparent url('../images/contact-form-down-arrow.jpg') no-repeat right center; }

/* footer */
footer .footer-logo img { max-height: 42px; }
footer ul li { margin-bottom: 0; }
.footer-dark { background: var(--dark-gray); color: rgba(255,255,255,.7); }
.footer-dark a, .footer-dark p, .footer-dark span { color: rgba(255,255,255,.7); }
.footer-dark a:hover { color: #fff; }
.footer-dark .footer-title { color: #fff; }
.footer-dark .newsletter-style-04 input { background: transparent !important; color: #fff; border-color: rgba(255,255,255,.35) !important; }
.footer-dark .newsletter-style-04 .btn i { color: #fff; }
.footer-dark .divider { border-top: 1px solid rgba(255,255,255,.12); }

/* floating WhatsApp + mobile demo bar */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; z-index: 1040; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }
.mobile-demo-bar { display: none; }
@media (max-width: 575px) {
    .mobile-demo-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1039; background: var(--base-color); text-align: center; padding: 12px 16px; }
    .mobile-demo-bar a { color: #fff; font-weight: 600; font-family: var(--alt-font); }
    .whatsapp-float { bottom: 72px; }
    body { padding-bottom: 50px; }
}

@media (max-width: 1199px) {
    .navbar .navbar-nav .nav-link { font-size: 15px; }
    header .btn.btn-rounded.btn-large { padding: 10px 14px; font-size: 12px; }
}
@media (max-width: 991px) {
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu { width: calc(100% + 30px) !important; margin-left: -15px; padding: 10px 45px; margin-bottom: 0; margin-right: -15px; }
    .page-title-extra-large h1 { font-size: 2.6rem; line-height: 3rem; }
    .sticky-cta { position: static; }
}

/* ---------- blog (BlogEngine theme "Connix") ---------- */
.connix-blog .posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.connix-blog .posts .post-single { grid-column: 1 / -1; }
.post-card { background: #fff; border: 1px solid #e4e7e7; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: box-shadow .3s, transform .3s; }
.post-card:hover { box-shadow: 0 20px 40px rgba(10,60,61,.12); transform: translateY(-4px); }
.post-card-img { display: block; aspect-ratio: 16 / 9; background: #e6f1f2; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 44px; color: var(--base-color); }
.post-card-body { padding: 25px 28px 28px; display: flex; flex-direction: column; flex-grow: 1; }
.post-card-title { font-size: 21px; line-height: 29px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.3px; }
.post-card-title a { color: var(--dark-gray); }
.post-card-title a:hover { color: var(--base-color); }
.post-card-desc { font-size: 15px; line-height: 25px; flex-grow: 1; }
.post-meta { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; color: var(--medium-gray); }
.post-meta a { color: var(--base-color); }
.post-single-title { font-size: 2.6rem; line-height: 3.1rem; font-weight: 700; color: var(--dark-gray); letter-spacing: -1px; }
.post-body { font-size: 17px; line-height: 30px; padding-top: 10px; }
.post-body h2 { font-size: 28px; line-height: 36px; margin: 35px 0 15px; font-weight: 700; }
.post-body h3 { font-size: 22px; line-height: 30px; margin: 30px 0 12px; font-weight: 700; }
.post-body a { color: var(--base-color); text-decoration: underline; text-underline-offset: 3px; }
.post-body img { max-width: 100%; height: auto; border-radius: 8px; }
.post-body ul, .post-body ol { margin-bottom: 25px; padding-left: 22px; }
.post-body li { margin-bottom: 6px; }
.post-body pre, .post-body code { font-family: var(--mono-font); font-size: 14px; background: #f2f3f3; border-radius: 4px; }
.post-body pre { padding: 18px; overflow: auto; }
.post-body blockquote { border-left: 4px solid var(--base-color); padding: 5px 0 5px 22px; font-size: 20px; color: var(--dark-gray); }
.post-tags a { display: inline-block; font-size: 13px; padding: 2px 12px; margin: 0 6px 6px 0; border-radius: 20px; background: #e6f1f2; color: var(--base-color-dark); }
.post-share a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; background: #e6f1f2; color: var(--base-color); margin-left: 6px; }
.post-share a:hover { background: var(--base-color); color: #fff; }
.blog-widget { margin-bottom: 40px; }
.blog-widget-title { display: block; font-family: var(--alt-font); font-weight: 700; font-size: 18px; color: var(--dark-gray); padding-bottom: 12px; margin-bottom: 15px; border-bottom: 1px solid #e4e7e7; }
.blog-search { position: relative; }
.blog-search input { padding-right: 40px; }
.blog-search i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--medium-gray); }
.blog-cat-list, .blog-recent { list-style: none; padding: 0; margin: 0; }
.blog-cat-list li a { display: flex; justify-content: space-between; padding: 8px 0; color: var(--text-color); border-bottom: 1px dashed #e4e7e7; }
.blog-cat-list li a:hover { color: var(--base-color); }
.blog-cat-list li span { font-family: var(--mono-font); font-size: 13px; color: var(--medium-gray); }
.blog-recent li { padding: 10px 0; border-bottom: 1px dashed #e4e7e7; line-height: 22px; }
.blog-recent li a { display: block; font-weight: 600; color: var(--dark-gray); }
.blog-recent li a:hover { color: var(--base-color); }
.blog-recent li span { font-size: 13px; color: var(--medium-gray); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-item { padding: 20px 0; border-bottom: 1px solid #e4e7e7; }
.comment-replies { margin-left: 50px; }
.comment-avatar img { border-radius: 50%; }
#postPaging a, .connix-blog .pager a, .connix-blog .post-pager a { color: var(--base-color); font-weight: 600; }
.connix-blog .calendar { display: none; }
@media (max-width: 767px) { .post-single-title { font-size: 2rem; line-height: 2.5rem; } .comment-replies { margin-left: 20px; } }
.compare-table { min-width: 960px; }
.compare-table th, .compare-table td { width: auto; }
.compare-table thead th { background: var(--dark-gray); color: #fff; text-align: center; }
.compare-table thead th a { color: #fff; }
.compare-table tbody th { width: 140px; }

/* header search */
.header-search-link { color: #fff; font-size: 19px; display: inline-flex; align-items: center; }
.sticky .header-search-link, header.sticky .header-search-link { color: var(--dark-gray); }
.header-icon { display: flex; align-items: center; }

/* cookie banner */
.cookie-banner { position: fixed; left: 20px; bottom: 20px; max-width: 460px; z-index: 1050; background: var(--dark-gray); color: rgba(255,255,255,.85); border-radius: 8px; padding: 20px 22px; box-shadow: 0 15px 40px rgba(0,0,0,.25); }
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
@media (max-width: 575px) { .cookie-banner { left: 10px; right: 10px; bottom: 60px; max-width: none; } }

/* resources, case studies, community, search */
.doc-card { background: #fff; border: 1px solid #e4e7e7; border-radius: 8px; padding: 22px; display: flex; gap: 18px; align-items: flex-start; height: 100%; }
.doc-card .doc-thumb { width: 54px; height: 66px; flex-shrink: 0; border-radius: 4px; background: #e6f1f2; display: flex; align-items: center; justify-content: center; color: var(--base-color); font-size: 26px; position: relative; }
.doc-card .doc-thumb span { position: absolute; bottom: 4px; font-family: var(--mono-font); font-size: 9px; font-weight: 600; }
.doc-card .doc-title { font-weight: 700; color: var(--dark-gray); line-height: 24px; display: block; }
.doc-card .doc-meta { font-size: 13px; color: var(--medium-gray); }
.empty-state { border: 2px dashed #cfd8d9; border-radius: 10px; padding: 50px 30px; text-align: center; background: #fafbfb; }
.forum-cat { background: #fff; border: 1px solid #e4e7e7; border-radius: 8px; padding: 26px; height: 100%; }
.forum-cat i { font-size: 26px; color: var(--base-color); }
.track-card { border: 1px solid #e4e7e7; border-radius: 10px; padding: 35px; height: 100%; background: #fff; }
.track-card.featured { border-color: var(--base-color); box-shadow: 0 20px 40px rgba(10,60,61,.10); }
.search-box { position: relative; }
.search-box input { height: 64px; font-size: 19px; padding-left: 56px; border-radius: 40px; border: 2px solid #dfe3e3; }
.search-box input:focus { border-color: var(--base-color); box-shadow: none; }
.search-box i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--medium-gray); }
.search-result { display: block; padding: 18px 0; border-bottom: 1px solid #e4e7e7; }
.search-result .sr-type { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; color: var(--base-color); }
.search-result .sr-title { display: block; font-size: 19px; font-weight: 700; color: var(--dark-gray); margin: 2px 0; }
.search-result p { margin: 0; font-size: 15px; line-height: 24px; }
mark { background: #cfe8eb; padding: 0 2px; border-radius: 2px; }
.legal-body h2 { font-size: 26px; line-height: 34px; margin: 40px 0 12px; }
.legal-body h3 { font-size: 19px; margin: 25px 0 8px; }
.legal-body p, .legal-body li { font-size: 16px; line-height: 28px; }
.legal-body ul { padding-left: 22px; margin-bottom: 20px; }
.legal-toc a { display: block; padding: 6px 0; color: var(--text-color); font-size: 15px; }
.legal-toc a:hover { color: var(--base-color); }

/* respect reduced-motion: skip entrance animations and the animated wave */
@media (prefers-reduced-motion: reduce) {
    [data-anime], [data-anime] > *, [data-anime] * { opacity: 1 !important; transform: none !important; }
    .shape-image-animation animate { display: none; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* inline consent checkbox (Crafto styles inputs full-width) */
.consent-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.consent-check input[type=checkbox] { width: 18px !important; height: 18px; flex: 0 0 18px; margin: 3px 0 0; padding: 0; accent-color: var(--base-color); }
.legal-body ul { list-style: disc; }
.legal-body ul li { margin-bottom: 6px; }

/* polish: skip link, inline buttons, form errors */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--base-color); color: #fff; padding: 10px 18px; border-radius: 6px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.link-button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.link-button:hover { color: #fff; text-decoration: underline; }
.form-error { color: #a33a2b; font-size: 14px; line-height: 22px; margin: 12px 0 0; }
.form-error:empty { display: none; }
.form-error a { color: #a33a2b; text-decoration: underline; }
:focus-visible { outline: 3px solid rgba(12,110,123,.55); outline-offset: 2px; }
.post-card .post-card-img img { transition: transform .5s; }
.post-card:hover .post-card-img img { transform: scale(1.04); }

/* 7 menu items: tighten spacing on small desktops so the menu never meets the search/CTA */
@media (min-width: 992px) and (max-width: 1099px) {
    .navbar .navbar-nav .nav-link { padding-left: 8px; padding-right: 8px; font-size: 14px; }
    .header-search-link { margin-right: 10px !important; }
    header .btn.btn-rounded.btn-large { padding: 9px 12px; }
}

/* blog comment captcha (moved into the form by connix.js) */
#commentCaptcha .captcha-row { display: flex !important; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0; }
.captcha-label { font-weight: 600; color: var(--dark-gray); margin: 0; }
.captcha-row .captcha-input { width: 110px !important; flex: 0 0 110px; }
#spnSimpleCaptchaIncorrect { flex-basis: 100%; font-size: 14px; color: #a33a2b !important; }

/* ---------- UI polish: type scale ---------- */
.fs-44 { font-size: 2.75rem; line-height: 3.15rem; }
.fs-21 { font-size: 21px; line-height: 30px; }
.mx-5px { margin-left: 5px; margin-right: 5px; }
h1, h2, h3, .h1, .h2, .h3 { letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
@media (max-width: 991px) {
    .fs-44, .fs-50 { font-size: 2.4rem; line-height: 2.85rem; }
    .fs-40 { font-size: 2.15rem; line-height: 2.6rem; }
}
@media (max-width: 575px) {
    .fs-44, .fs-50, .fs-40 { font-size: 1.85rem !important; line-height: 2.3rem !important; }
    .fs-32 { font-size: 1.6rem; line-height: 2.05rem; }
    h1 { font-size: 2.35rem; line-height: 2.75rem; }
}

/* big figures: brand font, aligned digits (mono stays for codes/spec values) */
.stat-number { font-family: var(--alt-font); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; color: var(--base-color); }

/* home: about snapshot */
.snapshot-visual { position: relative; background: radial-gradient(120% 90% at 30% 20%, #ffffff 0%, #e6f1f2 70%); border-radius: 16px; padding: 48px 36px 96px; }
.snapshot-visual img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.snapshot-stat { position: absolute; right: 28px; bottom: -28px; background: #fff; border-radius: 12px; padding: 18px 24px; box-shadow: 0 18px 40px rgba(10,60,61,.14); display: flex; align-items: center; gap: 14px; max-width: 300px; }
.snapshot-stat .stat-number { font-size: 40px; line-height: 1; }
.snapshot-stat span:last-child { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--dark-gray); }
.snapshot-chip { position: absolute; left: 28px; top: 24px; background: #fff; border-radius: 30px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--dark-gray); box-shadow: 0 8px 20px rgba(10,60,61,.08); }
.vm-card { background: var(--very-light-gray); border-radius: 10px; padding: 22px; height: 100%; }
.vm-card .vm-icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--base-color); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 12px; }
@media (max-width: 991px) { .snapshot-visual { padding: 36px 24px 80px; } .snapshot-stat { right: 16px; } }
.snapshot-stat .stat-number { white-space: nowrap; flex-shrink: 0; }

/* product gallery: tinted panel, product scaled to fill */
.product-gallery-main { background: radial-gradient(120% 90% at 30% 20%, #ffffff 0%, #e6f1f2 75%); border: 0; border-radius: 16px; padding: 44px; aspect-ratio: 4 / 3.4; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
/* chips: readable UI font; mono only for codes and spec values */
.spec-chip { font-family: var(--primary-font); font-size: 13px; letter-spacing: 0; padding: 3px 11px; border-radius: 20px; }
.product-card .product-img img { mix-blend-mode: multiply; }
.filter-btns > span.fw-600 { min-width: 92px; }
.snapshot-visual { padding-top: 76px; }
@media (max-width: 575px) {
    .snapshot-visual { padding: 64px 18px 84px; }
    .snapshot-chip { left: 18px; top: 18px; }
    .snapshot-stat { left: 18px; right: 18px; max-width: none; }
    .whatsapp-float { width: 46px; height: 46px; font-size: 24px; right: 14px; }
}
header .header-button .btn { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1399px) { .navbar .navbar-nav .nav-link { padding-left: 11px; padding-right: 11px; } }
/* hover feedback on clickable tiles */
a.bg-very-light-gray, a.forum-cat { transition: background-color .25s, box-shadow .25s, transform .25s; }
a.bg-very-light-gray:hover, a.forum-cat:hover { background-color: #e6f1f2 !important; box-shadow: 0 12px 28px rgba(10,60,61,.10); transform: translateY(-2px); }
