/* ============================================================
   NexaGenesisLabs — Visual Polish Layer
   Token system, components, micro-interactions, accessibility
   ============================================================ */

:root {
    --nexa-ink: #07111f;
    --nexa-ink-2: #0a1b3a;
    --nexa-blue: #1167ff;
    --nexa-blue-2: #2b4dff;
    --nexa-cyan: #22d3ee;
    --nexa-lime: #8ddf72;
    --nexa-soft: #f6f8fb;
    --nexa-soft-2: #eef3fb;
    --nexa-surface: #ffffff;
    --nexa-muted: #516070;
    --nexa-muted-2: #7a8696;
    --nexa-border: rgba(10, 22, 94, 0.10);
    --nexa-border-2: rgba(10, 22, 94, 0.06);
    --nexa-radius: 14px;
    --nexa-radius-sm: 10px;
    --nexa-shadow-sm: 0 6px 18px rgba(7, 17, 31, 0.06);
    --nexa-shadow-md: 0 18px 50px rgba(7, 17, 31, 0.08);
    --nexa-shadow-lg: 0 28px 80px rgba(7, 17, 31, 0.12);
    --nexa-shadow-blue: 0 18px 40px rgba(17, 103, 255, 0.20);
    --nexa-grad-hero: linear-gradient(112deg, rgba(7, 17, 31, 0.96) 0%, rgba(8, 28, 55, 0.90) 46%, rgba(10, 22, 94, 0.28) 100%);
    --nexa-grad-blue: linear-gradient(135deg, #1167ff 0%, #2b4dff 100%);
    --nexa-grad-ink: linear-gradient(135deg, #07111f 0%, #0a1b3a 55%, #0d2c5f 100%);
    --nexa-grad-soft: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fbfcff;
    color: var(--nexa-ink);
    font-family: 'Sora', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-feature-settings: 'ss01', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(17, 103, 255, 0.18);
    color: var(--nexa-ink);
}

/* ============================================================
   GLOBAL TYPE HIERARCHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--nexa-ink);
    letter-spacing: -0.01em;
}

h1 {
    font-weight: 700;
    line-height: 1.05;
}

h2 {
    font-weight: 700;
    line-height: 1.15;
}

p {
    color: var(--nexa-muted);
    line-height: 1.7;
}

/* Eyebrow label */
.nexa-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid rgba(141, 223, 114, 0.45);
    border-radius: 999px;
    color: #1f6c1c;
    background: rgba(141, 223, 114, 0.12);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nexa-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1f6c1c;
    box-shadow: 0 0 0 4px rgba(141, 223, 114, 0.32);
}

.nexa-eyebrow.on-dark {
    border-color: rgba(141, 223, 114, 0.40);
    color: var(--nexa-lime);
    background: rgba(141, 223, 114, 0.10);
}

.nexa-eyebrow.on-dark .dot {
    background: var(--nexa-lime);
    box-shadow: 0 0 0 4px rgba(141, 223, 114, 0.18);
}

/* Section heading helper */
.nexa-section-head {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.nexa-section-head.left {
    margin-left: 0;
    text-align: left;
}

.nexa-section-head h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.12;
    margin-top: 14px;
    color: var(--nexa-ink);
}

.nexa-section-head p {
    margin-top: 14px;
    color: var(--nexa-muted);
    font-size: 17px;
    line-height: 1.7;
}

.nexa-section-head.on-dark h2 {
    color: #fff;
}

.nexa-section-head.on-dark p {
    color: rgba(255, 255, 255, 0.78);
}

/* ============================================================
   BUTTONS — motion polish
   ============================================================ */
.optech-default-btn,
.optech-header-btn,
.optech-center-btn .optech-default-btn,
.optech-icon-btn {
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
    will-change: transform;
}

.optech-default-btn {
    border-radius: 10px;
    box-shadow: 0 14px 32px rgba(17, 103, 255, 0.22);
}

.optech-default-btn.optech-white-btn {
    box-shadow: 0 12px 30px rgba(7, 17, 31, 0.12);
}

.optech-default-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(17, 103, 255, 0.30);
}

.optech-default-btn.optech-white-btn:hover {
    box-shadow: 0 18px 40px rgba(7, 17, 31, 0.18);
}

.optech-default-btn:active {
    transform: translateY(0);
}

/* ============================================================
   HEADER — dark navy (brand default)
   ============================================================ */
.optech-header-top {
    background: #07111f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.optech-header-bottom,
.nexa-header .optech-header-bottom,
.nexa-header--dark .optech-header-bottom {
    background: #040d43 !important;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nexa-header.sticky-menu .optech-header-bottom,
.nexa-header.sticky .optech-header-bottom,
.nexa-header.sticky-header .optech-header-bottom,
.nexa-header.ax-sticky .optech-header-bottom,
.optech-header-two.sticky-menu .optech-header-bottom {
    background: #040d43 !important;
    box-shadow: 0 14px 40px rgba(4, 13, 67, 0.45);
}

.brand-logo img {
    max-height: 76px;
    width: auto;
}

.nexa-header .brand-logo {
    padding: 6px 0;
}

.nexa-header .brand-logo img {
    max-height: 76px;
    width: auto;
    filter: none !important;
}

.nexa-header .site-menu-main .nav-link-item,
.nexa-header--dark .site-menu-main .nav-link-item,
.light-color.site-menu-main .nav-link-item {
    color: rgba(255, 255, 255, 0.92) !important;
}

.nexa-header .site-menu-main .nav-link-item:hover,
.nexa-header .site-menu-main .nav-link-item.active {
    color: #ffffff !important;
}

.nexa-header .mobile-menu-trigger span,
.nexa-header .mobile-menu-trigger span:before,
.nexa-header .mobile-menu-trigger span:after,
.nexa-header .mobile-menu-trigger.light-color span,
.nexa-header .mobile-menu-trigger.light-color span:before,
.nexa-header .mobile-menu-trigger.light-color span:after {
    background: #ffffff !important;
}

.site-menu-main .nav-item .nav-link-item {
    position: relative;
    padding: 8px 2px;
    font-weight: 500;
}

.site-menu-main .nav-item .nav-link-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8ddf72, #22d3ee);
    border-radius: 2px;
    transition: width 220ms ease;
}

.site-menu-main .nav-item .nav-link-item:hover::after,
.site-menu-main .nav-item .nav-link-item.active::after {
    width: 100%;
}

/* ============================================================
   HERO
   ============================================================ */
.optech-hero-section,
.optech-hero-section8 {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(112deg, rgba(7, 17, 31, 0.96) 0%, rgba(8, 28, 55, 0.90) 46%, rgba(10, 22, 94, 0.32) 100%),
        url('../../../uploads/polish/hero-ai-systems-bg.png');
    background-position: center;
    background-size: cover;
}

/* Soft animated orbs in hero */
.optech-hero-section::before,
.optech-hero-section8::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 24%, rgba(17, 103, 255, 0.22) 0%, transparent 36%),
        radial-gradient(circle at 84% 76%, rgba(141, 223, 114, 0.10) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
}

.optech-hero-section::after,
.optech-hero-section8::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(180deg, rgba(251, 252, 255, 0), #fbfcff 88%);
    pointer-events: none;
}

.optech-hero-section .container,
.optech-hero-section8 .container {
    position: relative;
    z-index: 1;
}

.optech-hero-content {
    max-width: 660px;
}

.optech-hero-content.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.optech-hero-content .nexa-eyebrow {
    background: rgba(141, 223, 114, 0.12);
    border-color: rgba(141, 223, 114, 0.45);
    color: var(--nexa-lime);
    box-shadow: 0 8px 24px rgba(141, 223, 114, 0.10);
}

.optech-hero-content .nexa-eyebrow .dot {
    background: var(--nexa-lime);
    box-shadow: 0 0 0 4px rgba(141, 223, 114, 0.20);
}

.optech-hero-content h1 {
    color: #fff;
    font-size: clamp(38px, 5.4vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin-top: 18px;
}

.optech-hero-content h1 .grad {
    background: linear-gradient(120deg, #ffffff 0%, #8ddf72 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.optech-hero-content p {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.75;
    margin-top: 18px;
}

.optech-hero-content.center p {
    margin-left: auto;
    margin-right: auto;
}

.optech-hero-cta {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.optech-hero-content.center .optech-hero-cta {
    justify-content: center;
}

.optech-hero-trust {
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
}

.optech-hero-content.center .optech-hero-trust {
    justify-content: center;
}

.optech-hero-trust .avatars {
    display: flex;
    align-items: center;
}

.optech-hero-trust .avatars span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #0a1b3a;
    background: linear-gradient(135deg, #1167ff, #22d3ee);
    margin-left: -10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.optech-hero-trust .avatars span:first-child {
    margin-left: 0;
    background: linear-gradient(135deg, #1167ff, #2b4dff);
}

.optech-hero-trust .avatars span:nth-child(2) {
    background: linear-gradient(135deg, #22d3ee, #1167ff);
}

.optech-hero-trust .avatars span:nth-child(3) {
    background: linear-gradient(135deg, #8ddf72, #22d3ee);
}

.optech-hero-trust .stars {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffd700;
    font-size: 14px;
}

.optech-hero-trust strong {
    color: #fff;
    font-weight: 600;
}

/* Hero thumb */
.optech-hero-thumb-main-demo {
    position: relative;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.36), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(18px);
}

.optech-hero-thumb-main-demo img {
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.optech-hero-thumb-main-demo::after {
    content: "";
    position: absolute;
    inset: auto -14px -14px auto;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.4) 0%, transparent 70%);
    filter: blur(20px);
    z-index: -1;
}

.optech-hero-thumb-main-demo::before {
    content: "";
    position: absolute;
    inset: -14px auto auto -14px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(141, 223, 114, 0.32) 0%, transparent 70%);
    filter: blur(20px);
    z-index: -1;
}

/* Floating mini-cards on hero thumb */
.nexa-hero-float {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(7, 17, 31, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
    color: #fff;
    font-size: 13px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.30);
    animation: nexa-float 6s ease-in-out infinite;
}

.nexa-hero-float .icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nexa-grad-blue);
    color: #fff;
    flex-shrink: 0;
}

.nexa-hero-float .icon .nexa-ico {
    width: 16px;
    height: 16px;
    color: #fff;
}

.nexa-hero-float .label {
    font-weight: 600;
    line-height: 1.2;
}

.nexa-hero-float .sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    margin-top: 2px;
}

.nexa-hero-float.f-1 {
    top: 22px;
    left: -22px;
    animation-delay: 0s;
}

.nexa-hero-float.f-2 {
    bottom: 28px;
    right: -22px;
    animation-delay: 2s;
}

@keyframes nexa-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================================================
   FEATURES CARDS (optech-iconbox-wrap2)
   ============================================================ */
.extra-padding-tb {
    position: relative;
    z-index: 2;
    margin-top: -90px;
}

.extra-padding-tb .row > [class*="col-"] {
    display: flex;
}

.extra-padding-tb .optech-iconbox-wrap2 {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--nexa-border);
    border-radius: var(--nexa-radius);
    box-shadow: var(--nexa-shadow-md);
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.extra-padding-tb .optech-iconbox-wrap2:hover {
    transform: translateY(-4px);
    box-shadow: var(--nexa-shadow-blue);
    border-color: rgba(17, 103, 255, 0.22);
}

.optech-iconbox-wrap2 .optech-iconbox-icon2 {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(17, 103, 255, 0.10), rgba(34, 211, 238, 0.10));
    border: 1px solid rgba(17, 103, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--nexa-blue);
}

.optech-iconbox-wrap2 .optech-iconbox-icon2 svg {
    width: 28px;
    height: 28px;
}

.optech-iconbox-wrap2 .optech-iconbox-data2 h5 {
    font-size: 17px;
    font-weight: 600;
    color: var(--nexa-ink);
    line-height: 1.3;
    margin: 0 0 6px;
}

.optech-iconbox-wrap2 .optech-iconbox-data2 p {
    font-size: 14px;
    color: var(--nexa-muted);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.section.bg-light1,
.bg-light1 {
    background: var(--nexa-soft) !important;
}

.optech-default-content h2 {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.15;
}

.optech-default-content h5 {
    color: var(--nexa-blue);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.optech-thumb.extra-mr img {
    border-radius: var(--nexa-radius);
    box-shadow: var(--nexa-shadow-md);
}

.optech-thumb-position {
    border-radius: var(--nexa-radius);
    overflow: hidden;
    box-shadow: var(--nexa-shadow-md);
    border: 6px solid #fff;
}

/* About metric chips */
.nexa-metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.nexa-metric {
    padding: 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--nexa-border);
    box-shadow: var(--nexa-shadow-sm);
    text-align: left;
}

.nexa-metric .num {
    font-size: 28px;
    font-weight: 700;
    color: var(--nexa-blue);
    line-height: 1.1;
    background: var(--nexa-grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nexa-metric .lbl {
    margin-top: 4px;
    color: var(--nexa-muted);
    font-size: 13px;
    font-weight: 500;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.sectin.bg-light1 {
    background: var(--nexa-soft) !important;
    padding-top: 96px;
    padding-bottom: 96px;
}

.optech-4column-slider .optech-iconbox-wrap,
.services-polish-grid .optech-iconbox-wrap {
    overflow: hidden;
    background: #fff;
    border-radius: var(--nexa-radius);
    border: 1px solid var(--nexa-border);
    box-shadow: var(--nexa-shadow-sm);
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.optech-4column-slider .optech-iconbox-wrap:hover,
.services-polish-grid .optech-iconbox-wrap:hover {
    transform: translateY(-6px);
    box-shadow: var(--nexa-shadow-blue);
    border-color: rgba(17, 103, 255, 0.22);
}

.optech-4column-slider .optech-iconbox-icon,
.services-polish-grid .optech-iconbox-icon {
    width: 100%;
    height: 200px;
    margin: 0;
    border-radius: 0;
    background: #07111f;
    position: relative;
    overflow: hidden;
}

.optech-4column-slider .optech-iconbox-icon::after,
.services-polish-grid .optech-iconbox-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(7, 17, 31, 0.55));
    pointer-events: none;
}

.optech-4column-slider .optech-iconbox-icon img,
.services-polish-grid .optech-iconbox-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.optech-4column-slider .optech-iconbox-wrap:hover .optech-iconbox-icon img,
.services-polish-grid .optech-iconbox-wrap:hover .optech-iconbox-icon img {
    transform: scale(1.06);
}

.optech-4column-slider .optech-iconbox-data {
    padding: 24px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.optech-4column-slider .optech-iconbox-data h5 {
    font-size: 19px;
    line-height: 1.25;
    color: var(--nexa-ink);
    font-weight: 600;
    margin-bottom: 10px;
}

.optech-4column-slider .optech-iconbox-data p {
    color: var(--nexa-muted);
    line-height: 1.65;
    font-size: 14.5px;
    margin-bottom: 18px;
    flex: 1;
}

.optech-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nexa-blue);
    font-weight: 600;
    font-size: 14px;
    transition: gap 220ms ease, color 220ms ease;
}

.optech-icon-btn:hover {
    gap: 12px;
    color: var(--nexa-ink);
}

.optech-icon-btn .icon-show {
    transition: transform 220ms ease;
}

.optech-icon-btn:hover .icon-show {
    transform: translateX(2px);
}

/* ============================================================
   WHY US / VALUES (new section)
   ============================================================ */
.nexa-why-section {
    padding: 100px 0;
    background: var(--nexa-grad-ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.nexa-why-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 80%, rgba(17, 103, 255, 0.32) 0%, transparent 40%),
        radial-gradient(circle at 88% 12%, rgba(34, 211, 238, 0.22) 0%, transparent 36%);
    pointer-events: none;
}

.nexa-why-section .container {
    position: relative;
    z-index: 1;
}

.nexa-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 56px;
}

.nexa-why-card {
    position: relative;
    padding: 28px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: transform 260ms ease, background 260ms ease, border-color 260ms ease;
    height: 100%;
}

.nexa-why-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(141, 223, 114, 0.40);
}

.nexa-why-card .ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--nexa-grad-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 12px 24px rgba(17, 103, 255, 0.40);
    margin-bottom: 18px;
}

.nexa-why-card .ico .nexa-ico {
    width: 24px;
    height: 24px;
    color: #fff;
}

.nexa-why-card h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.nexa-why-card p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   STATS BAND
   ============================================================ */
.nexa-stats-band {
    padding: 64px 0;
    background: var(--nexa-soft);
    border-top: 1px solid var(--nexa-border-2);
    border-bottom: 1px solid var(--nexa-border-2);
}

.nexa-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    text-align: center;
}

.nexa-stat {
    padding: 12px 8px;
}

.nexa-stat .num {
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    line-height: 1;
    background: var(--nexa-grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nexa-stat .lbl {
    margin-top: 8px;
    color: var(--nexa-muted);
    font-size: 14px;
    font-weight: 500;
}

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
.section.optech-section-padding.bg-light1 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.optech-portfolio-wrap {
    overflow: hidden;
    border-radius: var(--nexa-radius);
    background: #07111f;
    box-shadow: var(--nexa-shadow-md);
    position: relative;
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.optech-portfolio-wrap:hover {
    transform: translateY(-6px);
    box-shadow: var(--nexa-shadow-lg);
}

.optech-portfolio-thumb {
    position: relative;
    overflow: hidden;
}

.optech-portfolio-thumb .full-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 600ms ease;
}

.optech-portfolio-wrap:hover .full-img {
    transform: scale(1.06);
}

.optech-portfolio-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 17, 31, 0.85));
    opacity: 0.7;
    transition: opacity 260ms ease;
}

.optech-portfolio-wrap:hover .optech-portfolio-thumb::after {
    opacity: 0.95;
}

.optech-portfolio-thumb-landscape .full-img {
    aspect-ratio: 16 / 9;
}

.optech-portfolio-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--nexa-ink);
    box-shadow: 0 10px 24px rgba(7, 17, 31, 0.20);
    transform: translateY(-6px);
    opacity: 0;
    transition: transform 260ms ease, opacity 260ms ease, background 260ms ease;
}

.optech-portfolio-wrap:hover .optech-portfolio-btn {
    transform: translateY(0);
    opacity: 1;
}

.optech-portfolio-btn:hover {
    background: var(--nexa-blue);
    color: #fff;
}

.optech-portfolio-data {
    position: absolute;
    bottom: 18px;
    left: 22px;
    right: 22px;
    z-index: 2;
    color: #fff;
}

.optech-portfolio-data h4 {
    color: #fff;
    font-size: 19px;
    line-height: 1.25;
    margin-bottom: 4px;
    font-weight: 600;
}

.optech-portfolio-data p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    margin: 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-bg3.custom-image-two,
.cta-bg3.custom-image-two-home {
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(110deg, rgba(7, 17, 31, 0.96) 0%, rgba(10, 22, 94, 0.80) 50%, rgba(17, 103, 255, 0.32) 100%),
        url('../../../uploads/polish/cta-intelligent-solutions-bg.png') !important;
    background-size: cover;
    background-position: center;
    padding: 110px 0;
}

.cta-bg3.custom-image-two::before,
.cta-bg3.custom-image-two-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 50%, rgba(141, 223, 114, 0.20) 0%, transparent 40%),
        radial-gradient(circle at 18% 50%, rgba(17, 103, 255, 0.30) 0%, transparent 50%);
    pointer-events: none;
}

.cta-bg3.custom-image-two .container,
.cta-bg3.custom-image-two-home .container {
    position: relative;
    z-index: 1;
}

.optech-cta-content.center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.optech-cta-content h2 {
    color: #fff;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.15;
    margin-bottom: 18px;
}

.optech-cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 26px;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.section.optech-section-padding2.dark-bg {
    background: var(--nexa-grad-ink) !important;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section.optech-section-padding2.dark-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 28%, rgba(17, 103, 255, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 82% 78%, rgba(34, 211, 238, 0.12) 0%, transparent 36%);
    pointer-events: none;
}

.section.optech-section-padding2.dark-bg .container {
    position: relative;
    z-index: 1;
}

.optech-section-title.light-color.center h2 {
    color: #fff;
}

.optech-team-wrap {
    overflow: hidden;
    border-radius: var(--nexa-radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 260ms ease, background 260ms ease, border-color 260ms ease;
}

.optech-team-wrap:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(141, 223, 114, 0.40);
}

.optech-team-thumb {
    position: relative;
    overflow: hidden;
}

.optech-team-thumb .full-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 600ms ease, filter 260ms ease;
    filter: grayscale(20%);
}

.optech-team-wrap:hover .full-img {
    transform: scale(1.04);
    filter: grayscale(0);
}

.optech-social-icon-box.position {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    transition: transform 260ms ease, opacity 260ms ease;
}

.optech-team-wrap:hover .optech-social-icon-box.position {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.optech-social-icon-box.position ul {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(7, 17, 31, 0.85);
    backdrop-filter: blur(8px);
}

.optech-social-icon-box.position ul li a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    transition: background 220ms ease, color 220ms ease;
}

.optech-social-icon-box.position ul li a:hover {
    background: var(--nexa-blue);
    color: #fff;
}

.optech-team-data {
    padding: 20px 22px 24px;
    text-align: center;
}

.optech-team-data h5 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.optech-team-data p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    margin: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.optech-t-box {
    padding: 32px;
    background: #fff;
    border: 1px solid var(--nexa-border);
    border-radius: var(--nexa-radius);
    box-shadow: var(--nexa-shadow-sm);
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.optech-t-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--nexa-shadow-md);
    border-color: rgba(17, 103, 255, 0.22);
}

.optech-t-quote {
    margin-bottom: 16px;
}

.optech-t-quote svg path {
    fill: var(--nexa-blue) !important;
    opacity: 0.9;
}

.optech-t-data {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.optech-t-data p {
    color: var(--nexa-ink);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 22px;
    flex: 1;
}

.optech-t-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--nexa-border-2);
}

.optech-t-author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--nexa-grad-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}

.optech-t-author h5 {
    color: var(--nexa-ink);
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.optech-t-author span {
    color: var(--nexa-muted);
    font-size: 13px;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.optech-blog-wrap {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--nexa-border);
    border-radius: var(--nexa-radius);
    box-shadow: var(--nexa-shadow-sm);
    transition: transform 260ms ease, box-shadow 260ms ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.optech-blog-wrap:hover {
    transform: translateY(-4px);
    box-shadow: var(--nexa-shadow-md);
}

.optech-blog-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.optech-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.optech-blog-wrap:hover .optech-blog-thumb img {
    transform: scale(1.06);
}

.optech-blog-content {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.optech-blog-content.reduced-padding {
    padding: 22px 22px 24px;
}

.optech-blog-meta ul {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.optech-blog-meta ul li a {
    color: var(--nexa-blue);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(17, 103, 255, 0.08);
    transition: background 220ms ease;
}

.optech-blog-meta ul li a:hover {
    background: rgba(17, 103, 255, 0.16);
}

.optech-blog-content h4 {
    color: var(--nexa-ink);
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 14px;
    font-weight: 600;
    transition: color 220ms ease;
}

.optech-blog-content h4:hover {
    color: var(--nexa-blue);
}

/* ============================================================
   FOOTER
   ============================================================ */
.optech-footer-section {
    background: var(--nexa-grad-ink);
    color: rgba(255, 255, 255, 0.78);
    position: relative;
    overflow: hidden;
}

.optech-footer-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 100%, rgba(17, 103, 255, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 90% 0%, rgba(141, 223, 114, 0.10) 0%, transparent 40%);
    pointer-events: none;
}

.optech-footer-section.dark-bg {
    background: var(--nexa-grad-ink);
}

.optech-footer-section .container {
    position: relative;
    z-index: 1;
}

.optech-footer-top {
    padding: 90px 0 60px;
}

.optech-footer-textarea img,
.optech-footer-textarea .nexa-footer-logo {
    max-height: 60px;
    width: auto;
    max-width: 220px;
    margin-bottom: 18px;
    filter: none;
    object-fit: contain;
    object-position: left center;
}

.optech-footer-textarea p {
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.7;
    margin-bottom: 22px;
    font-size: 14.5px;
}

.optech-social-icon-box ul {
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.optech-social-icon-box ul li a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 220ms ease, transform 220ms ease;
}

.optech-social-icon-box ul li a:hover {
    background: var(--nexa-blue);
    transform: translateY(-2px);
}

.optech-footer-title h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
}

.optech-footer-title h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--nexa-grad-blue);
}

.optech-footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.optech-footer-menu ul li {
    margin-bottom: 10px;
}

.optech-footer-menu ul li a {
    color: rgba(255, 255, 255, 0.66);
    font-size: 14.5px;
    text-decoration: none;
    transition: color 220ms ease, padding-left 220ms ease;
    display: inline-flex;
    align-items: center;
}

.optech-footer-menu ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

.optech-footer-menu ul li a::before {
    content: "→";
    margin-right: 6px;
    color: var(--nexa-lime);
    opacity: 0;
    transition: opacity 220ms ease;
}

.optech-footer-menu ul li a:hover::before {
    opacity: 1;
}

.optech-footer-menu ul li a i {
    margin-right: 6px;
    color: var(--nexa-lime);
    font-size: 14px;
}

.optech-footer-menu ul li a[href^="tel:"]::before,
.optech-footer-menu ul li a[href^="mailto:"]::before {
    display: none;
}

/* Footer newsletter */
.nexa-footer-newsletter {
    margin-top: 22px;
    display: flex;
    gap: 8px;
    max-width: 360px;
}

.nexa-footer-newsletter input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 220ms ease, background 220ms ease;
}

.nexa-footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.40);
}

.nexa-footer-newsletter input:focus {
    border-color: var(--nexa-blue);
    background: rgba(255, 255, 255, 0.08);
}

.nexa-footer-newsletter button {
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--nexa-grad-blue);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.nexa-footer-newsletter button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(17, 103, 255, 0.35);
}

.optech-footer-bottom {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.optech-footer-bottom.center {
    text-align: center;
}

.optech-copywright p {
    color: rgba(255, 255, 255, 0.56);
    font-size: 13.5px;
    margin: 0;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.optech-breadcrumb .breadcrumbs ul li {
    color: rgba(255, 255, 255, 0.78) !important;
}

.optech-breadcrumb .breadcrumbs ul li a {
    color: rgba(255, 255, 255, 0.78) !important;
}

.optech-breadcrumb .breadcrumbs ul li[aria-current="page"] {
    color: #c6f4a8 !important;
    font-weight: 600;
}

/* ============================================================
   LEGACY-COMPAT (older section titles using optech-section-title)
   ============================================================ */
.optech-section-title {
    margin-bottom: 50px;
}

.optech-section-title.center {
    text-align: center;
}

.optech-section-title h2 {
    color: var(--nexa-ink);
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.15;
    margin: 0;
}

.optech-section-title.light-color h2 {
    color: #fff;
}

.optech-section-title.dark-color h2 {
    color: var(--nexa-ink);
}

/* Inner content typography */
.legal-content h2,
.legal-content h3 {
    color: var(--nexa-ink);
    margin-top: 28px;
    margin-bottom: 14px;
    line-height: 1.2;
}

.legal-content h2 {
    font-size: 28px;
}

.legal-content h3 {
    font-size: 22px;
}

.legal-content p {
    color: var(--nexa-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.legal-content a {
    color: var(--nexa-blue);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Wider page wrapper */
.section.optech-section-padding5 {
    padding: 90px 0;
}

/* ============================================================
   BREADCRUMB (inner pages)
   Fixed header is ~138px (top bar + nav). Keep generous clearance
   so titles never sit under the navbar.
   ============================================================ */
.optech-breadcrumb {
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(112deg, rgba(4, 13, 67, 0.96) 0%, rgba(7, 17, 31, 0.92) 48%, rgba(10, 27, 74, 0.88) 100%),
        url('../../../uploads/polish/hero-ai-systems-bg.png') !important;
    background-size: cover;
    background-position: center;
    padding: 200px 0 88px;
    text-align: center;
}

.optech-breadcrumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(17, 103, 255, 0.28) 0%, transparent 42%),
        radial-gradient(circle at 88% 80%, rgba(141, 223, 114, 0.08) 0%, transparent 28%);
    pointer-events: none;
}

.optech-breadcrumb .container {
    position: relative;
    z-index: 1;
}

.optech-breadcrumb .nexa-eyebrow {
    margin-bottom: 18px;
}

.optech-breadcrumb .post__title,
.optech-breadcrumb a,
.optech-breadcrumb li {
    color: #fff;
}

.optech-breadcrumb .post__title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: #fff !important;
}

.optech-breadcrumb nav ul,
.optech-breadcrumb .breadcrumbs ul {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
}

/* Prefer our "/" separators — hide theme remixicon chevrons */
.optech-breadcrumb .breadcrumbs ul li {
    padding: 0 !important;
}

.optech-breadcrumb .breadcrumbs ul li:before {
    content: none !important;
    display: none !important;
}

.optech-breadcrumb nav ul li:not(:last-child)::after,
.optech-breadcrumb .breadcrumbs ul li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.46);
}

.optech-breadcrumb nav ul li a,
.optech-breadcrumb .breadcrumbs ul li a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 220ms ease;
}

.optech-breadcrumb nav ul li a:hover,
.optech-breadcrumb .breadcrumbs ul li a:hover {
    color: var(--nexa-lime);
}

/* ============================================================
   ABOUT PAGE polish
   ============================================================ */
.nexa-about-intro {
    padding: 96px 0;
    background: #fff;
}

.nexa-about-intro .optech-default-content h2 {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--nexa-ink);
    margin: 14px 0 16px;
}

.nexa-about-intro .optech-default-content p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--nexa-muted);
    max-width: 540px;
}

.nexa-about-intro .optech-icon-list {
    margin-top: 24px;
}

.nexa-about-intro .optech-icon-list ul {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nexa-about-intro .optech-icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--nexa-ink);
    font-weight: 500;
    font-size: 15.5px;
    line-height: 1.45;
}

.nexa-about-intro .optech-icon-list li i {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 103, 255, 0.10);
    color: var(--nexa-blue);
    font-size: 15px;
    margin-top: 0;
}

.nexa-about-intro .optech-thumb img {
    border-radius: 16px;
    box-shadow: var(--nexa-shadow-md);
}

.nexa-about-intro .optech-thumb-position img {
    border-radius: 14px;
    border: 6px solid #fff;
    box-shadow: var(--nexa-shadow-lg);
}

.nexa-about-features {
    padding: 88px 0;
    background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
}

.nexa-about-features .optech-default-content h2,
.nexa-about-features .optech-section-title h2 {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.18;
    color: var(--nexa-ink);
}

.nexa-about-features .optech-iconbox-wrap2 {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.nexa-about-features .nexa-feature-icon,
.nexa-about-features .optech-iconbox-icon2 {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(17, 103, 255, 0.10), rgba(34, 211, 238, 0.10));
    border: 1px solid rgba(17, 103, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--nexa-blue);
    overflow: hidden;
}

.nexa-about-features .nexa-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nexa-about-features .nexa-feature-icon .nexa-ico {
    width: 28px;
    height: 28px;
}

.optech-counter-section3 {
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(17, 103, 255, 0.22) 0%, transparent 36%),
        radial-gradient(circle at 88% 80%, rgba(141, 223, 114, 0.10) 0%, transparent 30%),
        linear-gradient(135deg, #07111f 0%, #0a1b3a 55%, #040d43 100%);
}

.optech-counter-section3 .optech-counter-wrap3 {
    gap: 16px;
}

.optech-counter-section3 .optech-counter-data3 {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 22px 20px;
    backdrop-filter: blur(8px);
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.optech-counter-section3 .optech-counter-data3:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
}

.optech-counter-section3 .optech-counter-number3,
.optech-counter-section3 .optech-counter-number3 span,
.optech-counter-section3 .optech-counter-right p {
    color: #fff !important;
}

.optech-counter-section3 .optech-counter-right p {
    opacity: 0.78;
    margin: 0;
}

/* ============================================================
   SERVICES PAGE / LISTING CARDS
   ============================================================ */
.nexa-services-page-section {
    padding: 88px 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.nexa-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 50px;
}

.nexa-service-card {
    background: #fff;
    border: 1px solid var(--nexa-border);
    border-radius: var(--nexa-radius);
    overflow: hidden;
    box-shadow: var(--nexa-shadow-sm);
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nexa-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--nexa-shadow-blue);
    border-color: rgba(17, 103, 255, 0.22);
}

.nexa-service-card .media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #07111f;
    overflow: hidden;
}

.nexa-service-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.nexa-service-card:hover .media img {
    transform: scale(1.06);
}

.nexa-service-card .tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    background: rgba(7, 17, 31, 0.85);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
}

.nexa-service-card .body {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nexa-service-card h3 {
    font-size: 19px;
    line-height: 1.3;
    color: var(--nexa-ink);
    margin-bottom: 10px;
    font-weight: 600;
}

.nexa-service-card p {
    color: var(--nexa-muted);
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 18px;
    flex: 1;
}

.nexa-service-card .meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.nexa-service-card .meta span {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(17, 103, 255, 0.08);
    color: var(--nexa-blue);
    font-size: 12px;
    font-weight: 600;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.nexa-about-hero {
    padding: 100px 0 80px;
    background: var(--nexa-grad-soft);
    position: relative;
    overflow: hidden;
}

.nexa-about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 8% 12%, rgba(17, 103, 255, 0.10) 0%, transparent 36%);
    pointer-events: none;
}

.nexa-about-hero .container {
    position: relative;
    z-index: 1;
}

.nexa-about-hero h1 {
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.08;
    margin-bottom: 18px;
}

.nexa-about-hero p {
    font-size: 18px;
    color: var(--nexa-muted);
    max-width: 760px;
}

.nexa-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 50px;
}

.nexa-value-card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--nexa-border);
    border-radius: var(--nexa-radius);
    box-shadow: var(--nexa-shadow-sm);
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.nexa-value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nexa-shadow-md);
}

.nexa-value-card .ico {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(17, 103, 255, 0.12), rgba(34, 211, 238, 0.10));
    border: 1px solid rgba(17, 103, 255, 0.16);
    color: var(--nexa-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.nexa-value-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--nexa-ink);
    margin-bottom: 8px;
}

.nexa-value-card p {
    color: var(--nexa-muted);
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   PORTFOLIO DETAIL
   ============================================================ */
.nexa-portfolio-detail-hero {
    background: var(--nexa-grad-soft);
    padding: 80px 0 60px;
}

.nexa-portfolio-detail-hero h1 {
    font-size: clamp(28px, 3.8vw, 48px);
    line-height: 1.12;
    margin-bottom: 14px;
}

.nexa-portfolio-detail-hero .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.nexa-portfolio-detail-hero .meta span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(17, 103, 255, 0.08);
    color: var(--nexa-blue);
    font-size: 13px;
    font-weight: 600;
}

.nexa-portfolio-detail-hero img.full-img {
    border-radius: var(--nexa-radius);
    box-shadow: var(--nexa-shadow-md);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f4f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1167ff, #0a3a99);
    border-radius: 999px;
    border: 2px solid #f1f4f9;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2b4dff, #1167ff);
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
    .nexa-why-grid,
    .nexa-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .nexa-services-grid,
    .nexa-value-grid,
    .nexa-product-grid,
    .nexa-product-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .optech-header-top {
        display: none;
    }
    .optech-hero-section,
    .optech-hero-section8 {
        min-height: auto;
        padding: 130px 0 100px;
    }
    .optech-hero-content h1 {
        font-size: clamp(32px, 7vw, 44px);
    }
    .optech-hero-content p {
        font-size: 16px;
    }
    .optech-hero-thumb-main-demo {
        margin-top: 38px;
    }
    .extra-padding-tb {
        margin-top: -56px;
    }
    .extra-padding-tb .optech-iconbox-wrap2 {
        flex-direction: column;
        text-align: center;
    }
    .nexa-hero-float {
        display: none;
    }
    .nexa-product-grid,
    .nexa-services-grid,
    .nexa-value-grid,
    .nexa-product-page-grid,
    .nexa-product-page-hero {
        grid-template-columns: 1fr;
    }
    .cta-bg3.custom-image-two,
    .cta-bg3.custom-image-two-home {
        padding: 80px 0;
    }
    .section.optech-section-padding,
    .sectin.bg-light1,
    .section.optech-section-padding.bg-light1,
    .section.optech-section-padding2.dark-bg,
    .nexa-why-section {
        padding: 70px 0;
    }
}

@media (max-width: 767px) {
    .optech-hero-section,
    .optech-hero-section8 {
        padding: 110px 0 80px;
    }
    .optech-hero-content h1 {
        font-size: 30px;
    }
    .nexa-why-grid,
    .nexa-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .optech-cta-content h2 {
        font-size: 26px;
    }
    .nexa-product-page-hero,
    .nexa-product-page-body {
        padding: 28px;
    }
    .nexa-product-page-hero h2 {
        font-size: 26px;
    }
    .nexa-stats-grid {
        text-align: center;
    }
    .nexa-about-hero,
    .nexa-portfolio-detail-hero {
        padding: 70px 0 50px;
    }
    .optech-hero-trust {
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .nexa-why-grid,
    .nexa-stats-grid {
        grid-template-columns: 1fr;
    }
    .optech-hero-content .nexa-eyebrow {
        font-size: 12px;
    }
    .optech-hero-cta .optech-default-btn {
        width: 100%;
        justify-content: center;
    }
    .optech-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    .optech-portfolio-wrap {
        margin-bottom: 16px;
    }
    .optech-breadcrumb {
        padding-top: 140px;
        padding-bottom: 64px;
    }
    .optech-breadcrumb .post__title {
        font-size: 28px;
    }
    .nexa-about-intro,
    .nexa-about-features {
        padding: 64px 0;
    }
    .nexa-product-page-hero,
    .nexa-product-page-body {
        padding: 22px;
    }
    .nexa-product-page-hero h2 {
        font-size: 24px;
    }
    .nexa-footer-newsletter {
        flex-direction: column;
    }
    iframe[title*="chat"],
    iframe[src*="tawk"],
    .tawk-min-container,
    body > iframe[style*="z-index:1000003"],
    body > iframe[style*="z-index:1000004"] {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    body > iframe[style*="z-index:1000003"],
    body > iframe[style*="z-index:1000004"] {
        bottom: 82px !important;
    }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.nexa-mt-0 { margin-top: 0 !important; }
.nexa-mt-1 { margin-top: 8px !important; }
.nexa-mt-2 { margin-top: 16px !important; }
.nexa-mt-3 { margin-top: 24px !important; }
.nexa-mt-4 { margin-top: 32px !important; }
.nexa-mt-5 { margin-top: 48px !important; }
.nexa-mb-0 { margin-bottom: 0 !important; }
.nexa-mb-2 { margin-bottom: 16px !important; }
.nexa-mb-3 { margin-bottom: 24px !important; }
.nexa-mb-4 { margin-bottom: 32px !important; }
.nexa-text-center { text-align: center; }

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--nexa-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Hide heavy decorative SVG dot shapes — replaced by clean CSS ornaments */
.optech-shape1,
.optech-shape2,
.optech-shape3,
.optech-shape4 {
    display: none !important;
}

/* Replace heavy decorative shapes with soft CSS ornaments */
.optech-thumb.extra-mr,
.optech-thumb.extra-ml {
    position: relative;
}

.optech-thumb.extra-mr::before,
.optech-thumb.extra-ml::before {
    content: "";
    position: absolute;
    inset: -22px -22px auto auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 103, 255, 0.18) 0%, transparent 70%);
    z-index: -1;
}

.optech-thumb.extra-mr::after,
.optech-thumb.extra-ml::after {
    content: "";
    position: absolute;
    inset: auto auto -22px -22px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(141, 223, 114, 0.20) 0%, transparent 70%);
    z-index: -1;
}

.optech-thumb-position,
.optech-thumb-position2 {
    border-radius: var(--nexa-radius);
    overflow: hidden;
    box-shadow: var(--nexa-shadow-md);
    border: 6px solid #fff;
}

.optech-thumb-position img,
.optech-thumb-position2 img {
    width: 100%;
    height: auto;
    object-fit: cover;
}/* ============================================================
   TECH COMPANY THEME — fixed homepage composition
   ============================================================ */

/* Dark header styles live in the HEADER section above */

/* ---------- HERO (two-column, brand-first) ---------- */
.nexa-hero {
    position: relative;
    overflow: hidden;
    /* Fixed header ~138px — keep content clear of navbar */
    padding: 168px 0 88px;
    background:
        radial-gradient(circle at 88% 12%, rgba(17, 103, 255, 0.18) 0%, transparent 36%),
        radial-gradient(circle at 8% 88%, rgba(34, 211, 238, 0.12) 0%, transparent 40%),
        linear-gradient(180deg, #07111f 0%, #0a1b3a 55%, #0d2548 100%);
    color: #fff;
}

.nexa-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 78% 42%, rgba(17, 103, 255, 0.22) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(34, 211, 238, 0.10) 0%, transparent 60%);
    pointer-events: none;
}

.nexa-hero .container {
    position: relative;
    z-index: 1;
}

.nexa-hero .row {
    --bs-gutter-x: 3.5rem;
}

.nexa-hero-copy {
    max-width: 540px;
    padding-right: 8px;
}

.nexa-hero-copy .nexa-eyebrow {
    margin-bottom: 18px;
}

.nexa-hero-copy h1 {
    color: #fff;
    font-size: clamp(36px, 4.8vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin: 0 0 18px;
}

.nexa-hero-copy h1 em {
    font-style: normal;
    background: linear-gradient(120deg, #ffffff 10%, #8ddf72 52%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nexa-hero-copy p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.75;
    margin: 0 0 28px;
    max-width: 520px;
}

.nexa-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.nexa-hero-actions .optech-white-btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--nexa-ink);
}

.nexa-hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.nexa-hero-trust .avatars {
    display: flex;
}

.nexa-hero-trust .avatars span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #0a1b3a;
    margin-left: -8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1167ff, #22d3ee);
}

.nexa-hero-trust .avatars span:first-child { margin-left: 0; }

.nexa-hero-trust .stars {
    color: #ffd700;
    letter-spacing: 1px;
}

.nexa-hero-trust strong {
    color: #fff;
}

.nexa-hero-visual {
    position: relative;
    z-index: 2;
    border-radius: 22px;
    padding: 8px;
    overflow: visible;
    background: linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow:
        0 0 0 1px rgba(34, 211, 238, 0.10),
        0 36px 90px rgba(0, 0, 0, 0.42),
        0 0 70px rgba(17, 103, 255, 0.22);
    backdrop-filter: blur(12px);
}

.nexa-hero-visual-glow {
    position: absolute;
    inset: -18% -8% auto auto;
    width: 68%;
    height: 68%;
    background: radial-gradient(circle, rgba(17, 103, 255, 0.40) 0%, transparent 68%);
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
    animation: nexa-glow-pulse 5.5s ease-in-out infinite;
}

@keyframes nexa-glow-pulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.06); }
}

.nexa-hero-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    display: block;
}

.nexa-hero-chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 28px);
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(7, 17, 31, 0.88);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(14px);
    color: #fff;
    box-shadow: 0 16px 40px rgba(0,0,0,0.32);
    animation: nexa-float 6s ease-in-out infinite;
}

.nexa-hero-chip .nexa-chip-ico,
.nexa-hero-chip i {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--nexa-grad-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
}

.nexa-hero-chip .nexa-chip-ico .nexa-ico {
    width: 18px;
    height: 18px;
    color: #fff;
}

.nexa-hero-chip strong {
    display: block;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
}

.nexa-hero-chip span {
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    white-space: nowrap;
}

/* Keep chips fully inside the frame so text never clips */
.nexa-hero-chip.top {
    top: 22px;
    left: 22px;
    right: auto;
}

.nexa-hero-chip.bottom {
    bottom: 22px;
    right: 22px;
    left: auto;
    animation-delay: 1.5s;
}

/* ---------- SERVICES HOME GRID ---------- */
.nexa-services-home {
    padding: 90px 0;
    background: #fbfcff;
}

.nexa-section-cta {
    margin-top: 40px;
    text-align: center;
}

/* ---------- PRODUCTS ---------- */
.nexa-products-section {
    padding: 90px 0;
    background: var(--nexa-soft);
}

.nexa-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.nexa-product-card {
    background: #fff;
    border: 1px solid var(--nexa-border);
    border-radius: var(--nexa-radius);
    overflow: hidden;
    box-shadow: var(--nexa-shadow-sm);
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nexa-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--nexa-shadow-blue);
    border-color: rgba(17, 103, 255, 0.22);
}

.nexa-product-media {
    aspect-ratio: 16 / 10;
    background: #07111f;
    overflow: hidden;
}

.nexa-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.nexa-product-card:hover .nexa-product-media img {
    transform: scale(1.05);
}

.nexa-product-content {
    padding: 22px 22px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nexa-product-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--nexa-ink);
    margin: 0 0 10px;
}

.nexa-product-content p {
    color: var(--nexa-muted);
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0 0 16px;
    flex: 1;
}

.nexa-product-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.nexa-product-points span {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(17, 103, 255, 0.08);
    color: var(--nexa-blue);
    font-size: 12px;
    font-weight: 600;
}

.nexa-section-lede {
    color: var(--nexa-muted);
    max-width: 640px;
    margin: 12px auto 0;
}

/* ---------- PORTFOLIO GRID ---------- */
.nexa-portfolio-home {
    padding: 90px 0;
    background: #fff;
}

.nexa-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 48px;
}

.nexa-portfolio-card {
    border-radius: var(--nexa-radius);
    overflow: hidden;
    background: #07111f;
    box-shadow: var(--nexa-shadow-md);
    transition: transform 240ms ease, box-shadow 240ms ease;
}

.nexa-portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--nexa-shadow-lg);
}

.nexa-portfolio-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.nexa-portfolio-card .media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.nexa-portfolio-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.nexa-portfolio-card:hover .media img {
    transform: scale(1.06);
}

.nexa-portfolio-card .media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(7, 17, 31, 0.88));
}

.nexa-portfolio-card .meta {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1;
}

.nexa-portfolio-card .meta h4 {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.25;
}

.nexa-portfolio-card .meta p {
    color: rgba(255,255,255,0.72);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    font-weight: 500;
}

.nexa-portfolio-card .media {
    position: relative;
}

/* ---------- CONTACT FORM polish ---------- */
.optech-main-form {
    border-radius: var(--nexa-radius);
    border: 1px solid var(--nexa-border);
    box-shadow: var(--nexa-shadow-md);
    padding: 32px !important;
}

.optech-main-form input,
.optech-main-form textarea {
    border-radius: 10px !important;
    border: 1px solid var(--nexa-border) !important;
    background: #fbfcff !important;
}

.optech-main-form input:focus,
.optech-main-form textarea:focus {
    border-color: var(--nexa-blue) !important;
    box-shadow: 0 0 0 4px rgba(17, 103, 255, 0.10);
}

.optech-contact-info {
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--nexa-border);
    margin-bottom: 12px;
}

.optech-contact-info i {
    color: var(--nexa-blue);
}

/* ============================================================
   ABOUT / CONTACT — dual office reach section
   ============================================================ */
.nexa-reach {
    position: relative;
    background:
        radial-gradient(ellipse 70% 55% at 8% 12%, rgba(17, 103, 255, 0.07), transparent 55%),
        radial-gradient(ellipse 50% 40% at 92% 88%, rgba(34, 211, 238, 0.06), transparent 50%),
        var(--nexa-soft);
    overflow: hidden;
}

.nexa-reach__intro {
    margin-bottom: 32px;
    max-width: 40rem;
}

.nexa-reach__intro--center {
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.nexa-reach__intro--center .nexa-eyebrow {
    justify-content: center;
}

.nexa-reach__layout {
    align-items: stretch;
}

.nexa-reach__aside .nexa-office-hours {
    margin-bottom: 0;
}

.nexa-reach__intro h2 {
    margin: 10px 0 12px;
    color: var(--nexa-ink);
    font-size: clamp(28px, 3.2vw, 36px);
    line-height: 1.18;
    font-weight: 700;
}

.nexa-reach__intro p {
    margin: 0;
    color: var(--nexa-muted);
    font-size: 15.5px;
    line-height: 1.7;
}

.nexa-office-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 16px;
}

.nexa-office-grid--stack {
    grid-template-columns: 1fr;
}

.nexa-office-card {
    position: relative;
    padding: 24px 24px 22px;
    background: var(--nexa-surface);
    border: 1px solid var(--nexa-border);
    border-radius: 18px;
    box-shadow: var(--nexa-shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nexa-office-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--nexa-grad-blue);
    border-radius: 18px 0 0 18px;
}

.nexa-office-card:hover {
    transform: translateY(-3px);
    border-color: rgba(17, 103, 255, 0.22);
    box-shadow: var(--nexa-shadow-md);
}

.nexa-office-card__top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.nexa-office-card__ico {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--nexa-blue);
    background: linear-gradient(145deg, rgba(17, 103, 255, 0.12), rgba(34, 211, 238, 0.08));
    border: 1px solid rgba(17, 103, 255, 0.16);
}

.nexa-office-card__ico .nexa-ico {
    width: 22px;
    height: 22px;
}

.nexa-office-card__badge {
    display: inline-block;
    margin-bottom: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--nexa-blue);
    background: rgba(17, 103, 255, 0.08);
}

.nexa-office-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--nexa-ink);
    line-height: 1.25;
}

.nexa-office-card__addr {
    margin: 0 0 16px;
    color: var(--nexa-muted);
    font-size: 14.5px;
    line-height: 1.65;
    flex: 1;
}

.nexa-office-card__links {
    list-style: none;
    margin: 0;
    padding: 14px 0 0 0;
    border-top: 1px solid var(--nexa-border-2);
    display: grid;
    gap: 10px;
}

.nexa-office-card__links li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nexa-office-card__links .ico {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--nexa-blue);
    background: var(--nexa-soft-2);
}

.nexa-office-card__links .ico .nexa-ico {
    width: 16px;
    height: 16px;
}

.nexa-office-card__links a {
    color: var(--nexa-ink-2);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.18s ease;
    word-break: break-word;
}

.nexa-office-card__links a:hover {
    color: var(--nexa-blue);
}

.nexa-office-card__links a:focus-visible {
    outline: 2px solid var(--nexa-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

.nexa-office-hours {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
    padding: 16px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(10, 27, 58, 0.94));
    color: #fff;
    box-shadow: var(--nexa-shadow-md);
}

.nexa-office-hours .ico {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--nexa-cyan);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.nexa-office-hours .ico .nexa-ico {
    width: 18px;
    height: 18px;
}

.nexa-office-hours strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2px;
}

.nexa-office-hours span {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.68);
}

.nexa-reach__form-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.nexa-reach__form {
    margin-left: 0 !important;
}

.nexa-reach__form.optech-main-form {
    padding: 36px !important;
    border-radius: 20px;
}

.nexa-reach__form--wide {
    max-width: none;
}

@media (min-width: 992px) {
    .nexa-reach__form-col .nexa-reach__form {
        position: sticky;
        top: 148px;
    }

    .nexa-reach__aside {
        padding-right: 12px;
    }
}

@media (max-width: 991px) {
    .nexa-office-grid {
        grid-template-columns: 1fr;
    }

    .nexa-reach__form-col .nexa-reach__form {
        position: static;
    }
}

@media (max-width: 767px) {
    .nexa-office-card {
        padding: 18px 16px 16px;
    }

    .nexa-office-hours {
        align-items: flex-start;
        margin-bottom: 28px;
    }

    .nexa-reach__form.optech-main-form {
        padding: 28px 20px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nexa-office-card,
    .nexa-office-card__links a {
        transition: none;
    }

    .nexa-office-card:hover {
        transform: none;
    }
}

/* Process section spacing */
.nexa-process-wrap {
    background: var(--nexa-soft);
}

/* Kill old broken service icon overlay (white square) */
.optech-service-icon {
    display: none !important;
}

.optech-service-thumb-tech {
    border-radius: var(--nexa-radius);
    overflow: hidden;
}

.optech-footer-section .optech-footer-textarea .nexa-footer-logo--color {
    filter: brightness(0) invert(1);
}
@media (max-width: 991px) {
    .brand-logo img,
    .nexa-header .brand-logo img {
        max-height: 64px;
    }

    .optech-footer-textarea img,
    .optech-footer-textarea .nexa-footer-logo {
        max-height: 52px;
        max-width: 180px;
    }
}

@media (max-width: 575px) {
    .brand-logo img,
    .nexa-header .brand-logo img {
        max-height: 50px;
    }

    .optech-footer-textarea img,
    .optech-footer-textarea .nexa-footer-logo {
        max-height: 44px;
        max-width: 160px;
    }
}

@media (max-width: 1199px) {
    .nexa-product-grid,
    .nexa-portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .nexa-hero {
        padding: 120px 0 56px;
    }
    .nexa-hero-visual {
        margin-top: 12px;
    }
    .nexa-hero-chip {
        display: none;
    }
    .nexa-product-grid,
    .nexa-portfolio-grid,
    .nexa-services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .nexa-hero-copy h1 {
        font-size: 30px;
    }
    .nexa-hero-actions {
        flex-direction: column;
    }
    .nexa-hero-actions .optech-default-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
/* Hero eyebrow: keep sentence case, not screaming caps */
.nexa-hero-copy .nexa-eyebrow {
    text-transform: none;
    letter-spacing: 0.02em;
}

/* Soft handoff from hero → stats */
.nexa-hero {
    padding-bottom: 96px;
}
.nexa-stats-band {
    margin-top: -28px;
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -10px 40px rgba(7, 17, 31, 0.06);
    border-top: 0;
}

/* Service cards: pin CTA to footer of card */
.nexa-service-card .body {
    min-height: 168px;
}
.nexa-service-card .body .optech-icon-btn {
    margin-top: auto;
}

/* Soften service card media top */
.nexa-service-card .media {
    border-radius: 0;
}

/* Sticky header logo breathing room handled in HEADER section */

/* Product points spacing when keyword line wraps */
.nexa-product-points {
    margin-top: auto;
}
/* Tighten section rhythm */
.nexa-services-home { padding: 72px 0 56px; }
.nexa-products-section { padding: 72px 0; }
.nexa-portfolio-home { padding: 72px 0; }
.nexa-why-section { padding: 80px 0; }
.nexa-section-cta { margin-top: 28px; }
.nexa-section-head { margin-bottom: 28px; }
.nexa-services-grid,
.nexa-product-grid,
.nexa-portfolio-grid { margin-top: 36px; }

/* Secondary CTA stronger */
.nexa-section-cta .optech-default-btn {
    min-width: 180px;
}
/* Secondary CTA on dark hero — stronger contrast */
.nexa-hero-actions .optech-white-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: none !important;
}
.nexa-hero-actions .optech-white-btn:hover {
    background: #fff !important;
    color: var(--nexa-ink) !important;
}

/* Process section */
.nexa-process {
    padding: 72px 0;
    background: var(--nexa-soft);
}
.nexa-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
}
.nexa-process-card {
    background: #fff;
    border: 1px solid var(--nexa-border);
    border-radius: var(--nexa-radius);
    padding: 28px 24px;
    box-shadow: var(--nexa-shadow-sm);
    transition: transform 240ms ease, box-shadow 240ms ease;
    height: 100%;
}
.nexa-process-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nexa-shadow-md);
}
.nexa-process-card .step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--nexa-grad-blue);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
    box-shadow: 0 10px 22px rgba(17, 103, 255, 0.28);
}
.nexa-process-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--nexa-ink);
    margin: 0 0 8px;
}
.nexa-process-card p {
    margin: 0;
    color: var(--nexa-muted);
    font-size: 14.5px;
    line-height: 1.65;
}

/* Header must stay solid dark navy over hero / breadcrumbs */

@media (max-width: 991px) {
    .nexa-process-grid { grid-template-columns: 1fr; }
}
/* Portfolio meta overlays correctly on card */
.nexa-portfolio-card {
    position: relative;
}
.nexa-portfolio-card .meta {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
}

/* ============================================================
   PRODUCT DETAIL PAGES
   ============================================================ */
.nexa-pp { background: #fbfcff; color: var(--nexa-ink); }

.nexa-pp-hero {
    position: relative;
    overflow: hidden;
    /* Clear fixed header (~topbar + nav ≈ 138px) so crumbs/eyebrow never hide under navbar */
    padding: 180px 0 72px;
    background:
        radial-gradient(circle at 88% 18%, rgba(17, 103, 255, 0.22) 0%, transparent 40%),
        radial-gradient(circle at 12% 80%, rgba(34, 211, 238, 0.12) 0%, transparent 42%),
        linear-gradient(145deg, #07111f 0%, #0a1b3a 55%, #0d2c5f 100%);
    color: #fff;
}
.nexa-pp-hero .nexa-eyebrow {
    text-transform: none;
    letter-spacing: 0.03em;
    color: var(--nexa-lime);
    border-color: rgba(141, 223, 114, 0.45);
    background: rgba(141, 223, 114, 0.12);
}
.nexa-pp-hero .nexa-eyebrow .dot {
    background: var(--nexa-lime);
    box-shadow: 0 0 0 4px rgba(141, 223, 114, 0.2);
}

/* Fix low contrast on product pages when theme CSS bleeds in */
.nexa-pp-hero h1,
.nexa-pp-hero .nexa-pp-intro,
.nexa-pp-hero .nexa-pp-tagline,
.nexa-pp-crumbs [aria-current="page"] {
    -webkit-text-fill-color: unset;
}

.nexa-pp-crumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin-bottom: 28px; font-size: 13px;
}
.nexa-pp-crumbs a { color: rgba(255,255,255,0.72); text-decoration: none; }
.nexa-pp-crumbs a:hover { color: var(--nexa-lime); }
.nexa-pp-crumbs span { color: rgba(255,255,255,0.42); }
.nexa-pp-crumbs [aria-current="page"] { color: #fff; font-weight: 500; }

.nexa-pp-hero h1 {
    color: #fff !important;
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.08; letter-spacing: -0.02em;
    margin: 14px 0 8px; font-weight: 700;
}
.nexa-pp-tagline {
    color: var(--nexa-lime) !important;
    font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
    text-transform: uppercase; margin: 0 0 14px !important;
}
.nexa-pp-intro {
    color: rgba(255,255,255,0.84) !important;
    font-size: 17px; line-height: 1.75; max-width: 540px; margin: 0 0 22px !important;
}
.nexa-pp-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.nexa-pp-highlights span {
    padding: 6px 12px; border-radius: 999px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
    color: #fff; font-size: 12.5px; font-weight: 600;
}
.nexa-pp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nexa-pp-ghost {
    background: rgba(255,255,255,0.1) !important; color: #fff !important;
    border: 1px solid rgba(255,255,255,0.28) !important; box-shadow: none !important;
}
.nexa-pp-ghost:hover { background: #fff !important; color: var(--nexa-ink) !important; }

.nexa-pp-visual {
    position: relative; border-radius: 18px; padding: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 40px 100px rgba(0,0,0,0.35); backdrop-filter: blur(14px);
}
.nexa-pp-visual img {
    width: 100%; border-radius: 12px; aspect-ratio: 16 / 10;
    object-fit: cover; display: block; background: #0a1b3a;
}

.nexa-pp-outcomes { margin-top: -28px; position: relative; z-index: 2; padding: 0 0 8px; }
.nexa-pp-outcomes-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
    background: #fff; border: 1px solid var(--nexa-border); border-radius: 16px;
    box-shadow: var(--nexa-shadow-md); padding: 22px;
}
.nexa-pp-outcome { text-align: center; padding: 8px; }
.nexa-pp-outcome strong {
    display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.1;
    background: var(--nexa-grad-blue); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nexa-pp-outcome span { display: block; margin-top: 6px; color: var(--nexa-muted); font-size: 13.5px; font-weight: 500; }

.nexa-pp-section { padding: 72px 0; background: #fbfcff; }
.nexa-pp-section .nexa-section-head h2,
.nexa-pp-section h2,
.nexa-pp-section h3 { color: var(--nexa-ink) !important; }
.nexa-pp-section p { color: var(--nexa-muted) !important; }

.nexa-pp-feature-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px; margin-top: 40px;
}
.nexa-pp-feature {
    background: #fff; border: 1px solid var(--nexa-border); border-radius: var(--nexa-radius);
    padding: 26px 24px; box-shadow: var(--nexa-shadow-sm); height: 100%;
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.nexa-pp-feature:hover {
    transform: translateY(-4px); box-shadow: var(--nexa-shadow-blue);
    border-color: rgba(17, 103, 255, 0.22);
}
.nexa-pp-feature .ico {
    width: 48px; height: 48px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, #2b7bff 0%, #1167ff 48%, #2b4dff 100%);
    border: 1px solid transparent; color: #fff;
    box-shadow: 0 10px 22px rgba(17, 103, 255, 0.24), inset 0 1px 0 rgba(255,255,255,0.25);
    margin-bottom: 16px;
}
.nexa-pp-feature .ico .nexa-ico {
    width: 22px;
    height: 22px;
    color: #fff;
}
.nexa-pp-checklist .nexa-ico {
    width: 16px;
    height: 16px;
    color: #2f8a2c;
    flex-shrink: 0;
}
.nexa-pp-feature h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--nexa-ink) !important; }
.nexa-pp-feature p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--nexa-muted) !important; }

.nexa-pp-fit { background: var(--nexa-soft); }
.nexa-pp-panel {
    background: #fff; border: 1px solid var(--nexa-border); border-radius: var(--nexa-radius);
    padding: 32px 28px; box-shadow: var(--nexa-shadow-sm); height: 100%;
}
.nexa-pp-panel h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 12px 0 20px; line-height: 1.2; }
.nexa-pp-panel-accent {
    background: var(--nexa-grad-ink); border-color: transparent; color: #fff;
    display: flex; flex-direction: column; justify-content: center;
}
.nexa-pp-panel-accent h3 { color: #fff !important; font-size: 24px; margin: 0 0 12px; }
.nexa-pp-panel-accent p { color: rgba(255,255,255,0.78) !important; margin: 0 0 22px; line-height: 1.65; }

.nexa-pp-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nexa-pp-checklist li {
    display: flex; align-items: flex-start; gap: 10px;
    color: var(--nexa-ink); font-size: 15px; line-height: 1.45; font-weight: 500;
}
.nexa-pp-checklist i {
    flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
    background: rgba(141,223,114,0.18); color: #1f6c1c;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; margin-top: 1px;
}

.nexa-pp-related { background: #fff; }

.nexa-pp-cms {
    max-width: 860px; margin: 0 auto; background: #fff;
    border: 1px solid var(--nexa-border); border-radius: var(--nexa-radius);
    padding: 40px 36px; box-shadow: var(--nexa-shadow-sm);
}
.nexa-pp-cms, .nexa-pp-cms p, .nexa-pp-cms li, .nexa-pp-cms span, .nexa-pp-cms div {
    color: var(--nexa-muted) !important; line-height: 1.75;
}
.nexa-pp-cms h1, .nexa-pp-cms h2, .nexa-pp-cms h3, .nexa-pp-cms h4,
.nexa-pp-cms h5, .nexa-pp-cms h6, .nexa-pp-cms strong, .nexa-pp-cms b {
    color: var(--nexa-ink) !important;
}
.nexa-pp-cms h2 { font-size: 28px; margin: 32px 0 14px; line-height: 1.2; }
.nexa-pp-cms h3 { font-size: 20px; margin: 24px 0 10px; }
.nexa-pp-cms ul, .nexa-pp-cms ol { padding-left: 1.2em; margin-bottom: 16px; }
.nexa-pp-cms a { color: var(--nexa-blue) !important; }
.nexa-pp-cms img { max-width: 100%; border-radius: 12px; margin: 16px 0; }

.nexa-pp-faq { margin-top: 8px; }
.nexa-pp-faq .nexa-faq-item {
    margin-top: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--nexa-border);
}
.nexa-pp-faq .nexa-faq-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--nexa-ink);
}
.nexa-pp-faq .nexa-faq-item p {
    color: var(--nexa-muted);
    line-height: 1.75;
}

.nexa-hub-cta {
    margin: 56px 0 8px;
    padding: 36px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--nexa-border);
    text-align: center;
}
.nexa-hub-cta h2 { font-size: 28px; margin-bottom: 10px; }
.nexa-hub-cta p { max-width: 640px; margin: 0 auto 20px; color: var(--nexa-muted); line-height: 1.7; }

/* ============================================================
   SERVICE DETAIL — premium product layout (.nexa-sd)
   ============================================================ */
.nexa-sd {
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(17, 103, 255, 0.06), transparent 55%),
        linear-gradient(180deg, #f3f6fb 0%, #fbfcff 40%, #ffffff 100%);
}

.nexa-sd-hero {
    position: relative;
    overflow: hidden;
    padding: 168px 0 88px;
    background:
        linear-gradient(118deg, rgba(4, 13, 67, 0.97) 0%, rgba(7, 17, 31, 0.94) 48%, rgba(10, 27, 74, 0.90) 100%),
        url('../../../uploads/polish/hero-ai-systems-bg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
}
.nexa-sd-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 64px;
    background: linear-gradient(180deg, transparent 0%, #f3f6fb 100%);
    pointer-events: none;
    z-index: 2;
}

.nexa-sd-hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 20%, rgba(17, 103, 255, 0.35) 0%, transparent 38%),
        radial-gradient(circle at 82% 70%, rgba(141, 223, 114, 0.12) 0%, transparent 32%),
        radial-gradient(circle at 50% 100%, rgba(34, 211, 238, 0.08) 0%, transparent 40%);
}

.nexa-sd-hero .container { position: relative; z-index: 1; }

.nexa-sd-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
}

.nexa-sd-crumbs a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color 0.18s ease;
}
.nexa-sd-crumbs a:hover { color: var(--nexa-lime); }
.nexa-sd-crumbs [aria-current="page"] { color: var(--nexa-lime); font-weight: 600; }

.nexa-sd-hero h1 {
    margin: 16px 0 16px;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff !important;
    max-width: 16ch;
}

.nexa-sd-hero__lead {
    max-width: 38rem;
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78) !important;
}

.nexa-sd-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.nexa-sd-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.nexa-sd-ghost-btn:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    transform: translateY(-1px);
}

.nexa-sd-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nexa-sd-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
}
.nexa-sd-trust i,
.nexa-sd-trust .nexa-ico {
    color: var(--nexa-lime);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.nexa-sd-float i,
.nexa-sd-float .nexa-ico {
    color: var(--nexa-lime);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.nexa-sd-chips .nexa-ico {
    width: 15px;
    height: 15px;
    color: #2f8a2c;
    flex-shrink: 0;
}

.nexa-sd-hero__media {
    position: relative;
    padding: 12px;
}

.nexa-sd-hero__frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    background: rgba(255, 255, 255, 0.04);
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.45s ease;
}
.nexa-sd-hero__media:hover .nexa-sd-hero__frame {
    transform: perspective(1200px) rotateY(-1deg) rotateX(0deg);
}
.nexa-sd-hero__frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.nexa-sd-float {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    animation: nexaSdFloat 5.5s ease-in-out infinite;
}
.nexa-sd-float i { color: var(--nexa-lime); font-size: 16px; }
.nexa-sd-chips i { color: #2f8a2c; font-size: 15px; } /* legacy */
/* chips icons via .nexa-ico */
.nexa-sd-float--a { left: 8px; top: 18%; }
.nexa-sd-float--b { right: 4px; bottom: 16%; animation-delay: -2.2s; }

@keyframes nexaSdFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.nexa-sd-body {
    padding: 56px 0 88px;
}

.nexa-sd-panel {
    background: #fff;
    border: 1px solid var(--nexa-border);
    border-radius: 22px;
    padding: 28px 28px 30px;
    margin-bottom: 24px;
    box-shadow: var(--nexa-shadow-sm);
}
.nexa-sd-panel--soft {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}
.nexa-sd-panel--geo {
    padding: 0;
    overflow: hidden;
    border: none;
    background: transparent;
    box-shadow: none;
}

.nexa-sd-panel__head {
    margin-bottom: 22px;
}
.nexa-sd-panel__head .nexa-eyebrow { margin-bottom: 12px; }
.nexa-sd-panel__head h2 {
    margin: 0 0 8px;
    font-size: clamp(22px, 2.4vw, 28px);
    letter-spacing: -0.02em;
    color: var(--nexa-ink);
}
.nexa-sd-panel__head p {
    margin: 0;
    max-width: 36rem;
    color: var(--nexa-muted);
}

.nexa-sd-deliver-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.nexa-sd-deliver-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--nexa-border);
    background: var(--nexa-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.nexa-sd-deliver-card:hover {
    transform: translateY(-2px);
    border-color: rgba(17, 103, 255, 0.22);
    box-shadow: var(--nexa-shadow-md);
    background: #fff;
}
.nexa-sd-deliver-card__ico {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #2b7bff 0%, #1167ff 48%, #2b4dff 100%);
    color: #fff;
    box-shadow:
        0 10px 22px rgba(17, 103, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.nexa-sd-deliver-card__ico .nexa-ico {
    width: 22px;
    height: 22px;
    display: block;
}
.nexa-sd-deliver-card:hover .nexa-sd-deliver-card__ico {
    transform: translateY(-1px) scale(1.04);
}
.nexa-sd-deliver-card p {
    margin: 0;
    color: var(--nexa-ink);
    font-size: 14.5px;
    line-height: 1.55;
    font-weight: 500;
}

.nexa-sd-prose {
    color: var(--nexa-muted);
    font-size: 16px;
    line-height: 1.75;
}
.nexa-sd-prose h2,
.nexa-sd-prose h3,
.nexa-sd-prose h4,
.nexa-sd-prose strong,
.nexa-sd-prose b {
    color: var(--nexa-ink) !important;
}
.nexa-sd-prose h3 {
    font-size: 18px;
    margin: 24px 0 10px;
}
.nexa-sd-prose p { margin-bottom: 14px; color: var(--nexa-muted) !important; }
.nexa-sd-prose ul,
.nexa-sd-prose ol {
    padding-left: 1.15em;
    margin: 0 0 16px;
}
.nexa-sd-prose li {
    margin-bottom: 8px;
    color: var(--nexa-muted);
}
.nexa-sd-prose a { color: var(--nexa-blue) !important; font-weight: 600; }

.nexa-sd-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    counter-reset: none;
}
.nexa-sd-steps li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--nexa-border);
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.nexa-sd-steps li:hover {
    border-color: rgba(17, 103, 255, 0.22);
    box-shadow: var(--nexa-shadow-sm);
}
.nexa-sd-steps__num {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nexa-grad-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.nexa-sd-steps strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    color: var(--nexa-ink);
}
.nexa-sd-steps p {
    margin: 0;
    color: var(--nexa-muted);
    line-height: 1.65;
}

.nexa-sd-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.nexa-sd-chips span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(17, 103, 255, 0.06);
    border: 1px solid rgba(17, 103, 255, 0.10);
    color: var(--nexa-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}
.nexa-sd-chips i { color: #2f8a2c; font-size: 15px; }

.nexa-sd-geo {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    padding: 28px;
    border-radius: 22px;
    background: var(--nexa-grad-ink);
    color: #fff;
    box-shadow: var(--nexa-shadow-lg);
}
.nexa-sd-geo h2 {
    margin: 12px 0 10px;
    color: #fff !important;
    font-size: 24px;
}
.nexa-sd-geo p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78) !important;
    line-height: 1.7;
}
.nexa-sd-geo ul {
    list-style: none;
    margin: 0;
    padding: 8px 0 0;
    display: grid;
    gap: 12px;
}
.nexa-sd-geo li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.nexa-sd-geo strong { color: #fff; font-size: 15px; }
.nexa-sd-geo span { color: rgba(255, 255, 255, 0.62); font-size: 13px; }

.nexa-sd-related {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.nexa-sd-related__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--nexa-border);
    background: var(--nexa-soft);
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.nexa-sd-related__card:hover {
    transform: translateY(-2px);
    background: #fff;
    border-color: rgba(17, 103, 255, 0.24);
    box-shadow: var(--nexa-shadow-md);
}
.nexa-sd-related__card .tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nexa-blue);
}
.nexa-sd-related__card strong {
    color: var(--nexa-ink);
    font-size: 15px;
    line-height: 1.35;
    padding-right: 22px;
}
.nexa-sd-related__card i {
    position: absolute;
    right: 14px;
    top: 16px;
    color: var(--nexa-blue);
    font-size: 16px;
}

.nexa-sd-faq { display: grid; gap: 10px; }
.nexa-sd-faq__item {
    border: 1px solid var(--nexa-border);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.nexa-sd-faq__item[open] {
    border-color: rgba(17, 103, 255, 0.22);
    box-shadow: var(--nexa-shadow-sm);
}
.nexa-sd-faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 48px 16px 18px;
    position: relative;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--nexa-ink);
    line-height: 1.4;
}
.nexa-sd-faq__item summary::-webkit-details-marker { display: none; }
.nexa-sd-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nexa-soft);
    color: var(--nexa-blue);
    font-size: 18px;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease;
}
.nexa-sd-faq__item[open] summary::after {
    content: "–";
    background: rgba(17, 103, 255, 0.10);
}
.nexa-sd-faq__body {
    padding: 0 18px 16px;
}
.nexa-sd-faq__body p {
    margin: 0;
    color: var(--nexa-muted);
    line-height: 1.7;
}
.nexa-sd-faq__body a {
    color: var(--nexa-blue) !important;
    font-weight: 600;
}

.nexa-sd-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px;
    border-radius: 22px;
    background: var(--nexa-grad-blue);
    box-shadow: var(--nexa-shadow-blue);
    color: #fff;
}
.nexa-sd-cta-banner h2 {
    margin: 0 0 8px;
    color: #fff !important;
    font-size: 24px;
}
.nexa-sd-cta-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88) !important;
    max-width: 34rem;
}

.nexa-sd-side {
    position: sticky;
    top: 120px;
    display: grid;
    gap: 16px;
}
.nexa-sd-side__card {
    background: #fff;
    border: 1px solid var(--nexa-border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--nexa-shadow-sm);
}
.nexa-sd-side__card h3 {
    margin: 0 0 14px;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--nexa-muted-2);
}
.nexa-sd-side__nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.nexa-sd-side__nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 12px;
    background: var(--nexa-soft);
    border: 1px solid transparent;
    color: var(--nexa-ink) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.nexa-sd-side__nav a:hover {
    background: #fff;
    border-color: rgba(17, 103, 255, 0.18);
    box-shadow: var(--nexa-shadow-sm);
    transform: translateY(-1px);
}
.nexa-sd-side__nav a i { color: var(--nexa-blue); flex-shrink: 0; }
.nexa-sd-side__nav a.is-all {
    background: rgba(17, 103, 255, 0.08);
    color: var(--nexa-blue) !important;
}

.nexa-sd-side__cta {
    padding: 24px;
    border-radius: 20px;
    background: var(--nexa-grad-ink);
    color: #fff;
    box-shadow: var(--nexa-shadow-lg);
}
.nexa-sd-side__cta .nexa-eyebrow { margin-bottom: 12px; }
.nexa-sd-side__cta h3 {
    margin: 0 0 10px;
    color: #fff !important;
    font-size: 22px;
    line-height: 1.2;
}
.nexa-sd-side__cta p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.76) !important;
    line-height: 1.65;
    font-size: 14.5px;
}
.nexa-sd-side__cta .optech-default-btn { width: 100%; justify-content: center; text-align: center; }

@media (max-width: 991px) {
    .nexa-pp-feature-grid { grid-template-columns: 1fr; }
    .nexa-pp-outcomes-grid { grid-template-columns: 1fr; }
    .nexa-pp-hero { padding: 140px 0 56px; }
    .nexa-pp-cms { padding: 28px 22px; }

    .nexa-sd-hero { padding: 140px 0 48px; }
    .nexa-sd-hero h1 { max-width: none; }
    .nexa-sd-hero__frame { transform: none; }
    .nexa-sd-float { display: none; }
    .nexa-sd-deliver-grid,
    .nexa-sd-related { grid-template-columns: 1fr; }
    .nexa-sd-geo { grid-template-columns: 1fr; }
    .nexa-sd-side { position: static; }
    .nexa-sd-cta-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575px) {
    .nexa-pp-actions { flex-direction: column; }
    .nexa-pp-actions .optech-default-btn { width: 100%; text-align: center; justify-content: center; }
    .nexa-pp-hero h1 { font-size: 30px; }
    .nexa-pp-hero { padding: 130px 0 48px; }

    .nexa-sd-panel { padding: 22px 18px; border-radius: 18px; }
    .nexa-sd-steps li { grid-template-columns: 44px 1fr; gap: 12px; padding: 14px; }
    .nexa-sd-steps__num { width: 44px; height: 44px; border-radius: 12px; }
    .nexa-sd-hero__actions { flex-direction: column; align-items: stretch; }
    .nexa-sd-ghost-btn,
    .nexa-sd-hero__actions .optech-default-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .nexa-sd-float,
    .nexa-sd-hero__frame,
    .nexa-sd-deliver-card,
    .nexa-sd-related__card,
    .nexa-sd-side__nav a {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* ============================================================
   PHASE 3 — site-wide polish (typography, mobile, a11y)
   ============================================================ */
.nexa-section-head--left {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    max-width: 42rem;
}

.nexa-page-listing {
    background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 42%);
}

.nexa-page-listing .nexa-section-head {
    margin-bottom: 36px;
}

.nexa-portfolio-listing__grid {
    margin-top: 8px;
}

/* Homepage portfolio — view chip on hover */
.nexa-portfolio-chip {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nexa-grad-blue);
    color: #fff;
    box-shadow: 0 12px 28px rgba(17, 103, 255, 0.35);
    opacity: 0;
    transform: translateY(6px) scale(0.92);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.nexa-portfolio-card:hover .nexa-portfolio-chip,
.nexa-portfolio-link:focus-visible .nexa-portfolio-chip {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.nexa-portfolio-chip .nexa-ico {
    width: 16px;
    height: 16px;
    color: #fff;
}

.nexa-portfolio-link:focus-visible {
    outline: none;
}

.nexa-portfolio-link:focus-visible .media {
    outline: 3px solid var(--nexa-blue);
    outline-offset: 3px;
    border-radius: calc(var(--nexa-radius) - 2px);
}

/* Portfolio listing page cards */
.nexa-portfolio-listing .optech-portfolio-wrap {
    border-radius: var(--nexa-radius);
    overflow: hidden;
    box-shadow: var(--nexa-shadow-sm);
    border: 1px solid var(--nexa-border);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.nexa-portfolio-listing .optech-portfolio-wrap:hover {
    transform: translateY(-5px);
    box-shadow: var(--nexa-shadow-md);
    border-color: rgba(17, 103, 255, 0.2);
}

.nexa-portfolio-listing .optech-portfolio-btn {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.nexa-portfolio-listing .optech-portfolio-wrap:hover .optech-portfolio-btn {
    transform: scale(1.06);
}

/* Blog listing polish */
.nexa-blog-listing .optech-blog-wrap {
    background: #fff;
    border: 1px solid var(--nexa-border);
    border-radius: var(--nexa-radius);
    overflow: hidden;
    box-shadow: var(--nexa-shadow-sm);
    margin-bottom: 28px;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.nexa-blog-listing .optech-blog-wrap:hover {
    transform: translateY(-4px);
    box-shadow: var(--nexa-shadow-md);
    border-color: rgba(17, 103, 255, 0.18);
}

.nexa-blog-listing .optech-blog-content {
    padding: 22px 24px 26px;
}

.nexa-blog-listing .optech-blog-content h2 {
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.25;
    margin: 10px 0 12px;
}

/* Stats band — subtle hover */
.nexa-stat {
    border-radius: 14px;
    transition: background 0.22s ease, transform 0.22s ease;
}

.nexa-stat:hover {
    background: rgba(17, 103, 255, 0.04);
    transform: translateY(-2px);
}

/* Process cards — richer hover */
.nexa-process-card:hover {
    border-color: rgba(17, 103, 255, 0.22);
}

.nexa-process-card:focus-within {
    border-color: rgba(17, 103, 255, 0.28);
    box-shadow: 0 0 0 4px rgba(17, 103, 255, 0.1);
}

/* CTA band button focus */
.optech-cta-content .optech-default-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

/* Global focus — public chrome */
.nexa-header a:focus-visible,
.optech-footer-section a:focus-visible,
.optech-default-btn:focus-visible,
.optech-icon-btn:focus-visible,
.optech-portfolio-btn:focus-visible,
.pagination .page-numbers:focus-visible {
    outline: 2px solid var(--nexa-blue);
    outline-offset: 3px;
    border-radius: 6px;
}

.site-menu-main .nav-link-item:focus-visible {
    outline: 2px solid var(--nexa-lime);
    outline-offset: 4px;
    border-radius: 6px;
}

/* Mobile header balance */
@media (max-width: 991px) {
    .optech-header-top {
        padding: 8px 0;
    }

    .optech-header-top .optech-header-info ul {
        flex-wrap: wrap;
        gap: 6px 14px;
        font-size: 12.5px;
    }

    .nexa-header .optech-header-bottom {
        padding: 8px 0;
    }

    .nexa-header .navbar.site-navbar {
        min-height: 58px;
        align-items: center;
    }

    .nexa-header .mobile-menu-trigger {
        margin-left: 12px;
    }

    .optech-breadcrumb {
        padding: 156px 0 64px;
    }

    .optech-breadcrumb .post__title {
        font-size: clamp(28px, 7vw, 40px);
    }

    .nexa-hero {
        padding-top: 120px;
    }

    .nexa-hero-chip {
        display: none;
    }
}

@media (max-width: 575px) {
    .optech-header-top {
        display: none;
    }

    .nexa-header .brand-logo img {
        max-height: 48px;
    }

    .nexa-section-head h2 {
        font-size: clamp(24px, 7vw, 32px);
    }

    .nexa-section-head p {
        font-size: 15px;
    }

    .cta-bg3.custom-image-two,
    .cta-bg3.custom-image-two-home {
        padding: 72px 0;
    }

    .optech-cta-content p {
        font-size: 16px;
    }

    .nexa-blog-listing .optech-blog-content {
        padding: 18px 16px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nexa-portfolio-chip,
    .nexa-stat,
    .nexa-portfolio-listing .optech-portfolio-wrap,
    .nexa-blog-listing .optech-blog-wrap,
    .nexa-process-card {
        transition: none;
    }

    .nexa-portfolio-card:hover .nexa-portfolio-chip,
    .nexa-stat:hover,
    .nexa-portfolio-listing .optech-portfolio-wrap:hover,
    .nexa-blog-listing .optech-blog-wrap:hover {
        transform: none;
    }
}

/* ============================================================
   PORTFOLIO DETAIL (case study pages)
   ============================================================ */
.nexa-pd-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}

.nexa-pd-meta-chips span {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.nexa-pd-prose ul,
.nexa-pd-prose ol {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.nexa-pd-prose ul li,
.nexa-pd-prose ol li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--nexa-soft);
    border: 1px solid var(--nexa-border);
    color: var(--nexa-muted);
    line-height: 1.6;
}

.nexa-pd-prose ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nexa-lime);
    margin-top: 8px;
    flex-shrink: 0;
}

.nexa-pd-prose ol {
    counter-reset: nexa-pd-step;
}

.nexa-pd-prose ol li {
    counter-increment: nexa-pd-step;
}

.nexa-pd-prose ol li::before {
    content: counter(nexa-pd-step, decimal-leading-zero);
    min-width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nexa-grad-ink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.nexa-pd-prose h3 {
    margin: 28px 0 14px;
    font-size: 20px;
    color: var(--nexa-ink);
}

.nexa-pd-prose h3:first-child {
    margin-top: 0;
}

.nexa-pd-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.nexa-pd-gallery figure {
    margin: 0;
}

.nexa-pd-gallery img {
    width: 100%;
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: var(--nexa-shadow-sm);
    border: 1px solid var(--nexa-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nexa-pd-gallery figure:hover img {
    transform: translateY(-2px);
    box-shadow: var(--nexa-shadow-md);
}

.nexa-pd-meta dl {
    margin: 0;
    display: grid;
    gap: 14px;
}

.nexa-pd-meta dt {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nexa-muted);
}

.nexa-pd-meta dd {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--nexa-ink);
    line-height: 1.45;
}

.nexa-pd-meta dd a {
    color: var(--nexa-blue);
    text-decoration: none;
    word-break: break-word;
}

.nexa-pd-meta dd a:hover {
    text-decoration: underline;
}

.nexa-pd-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.nexa-pd-nav--single {
    grid-template-columns: 1fr;
}

.nexa-pd-nav__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 100%;
    padding: 18px 52px 18px 20px;
    border-radius: 16px;
    border: 1px solid var(--nexa-border);
    background: #fff;
    text-decoration: none !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nexa-pd-nav__card--next {
    padding: 18px 20px 18px 52px;
    text-align: right;
    align-items: flex-end;
}

.nexa-pd-nav__card:hover {
    border-color: rgba(17, 103, 255, 0.24);
    box-shadow: var(--nexa-shadow-md);
    transform: translateY(-2px);
}

.nexa-pd-nav__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nexa-muted);
}

.nexa-pd-nav__card strong {
    display: block;
    font-size: 16px;
    line-height: 1.35;
    color: var(--nexa-ink);
}

.nexa-pd-nav__card i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 18px;
    font-size: 20px;
    color: var(--nexa-blue);
}

.nexa-pd-nav__card--next i {
    right: auto;
    left: 18px;
}

@media (max-width: 767px) {
    .nexa-pd-nav {
        grid-template-columns: 1fr;
    }

    .nexa-pd-nav__card--next {
        text-align: left;
        align-items: flex-start;
        padding: 18px 52px 18px 20px;
    }

    .nexa-pd-nav__card--next i {
        left: auto;
        right: 18px;
    }

    .nexa-pd-gallery {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   BLOG DETAIL
   ============================================================ */
.nexa-bd-prose h2 {
    margin: 32px 0 14px;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.25;
    color: var(--nexa-ink);
}

.nexa-bd-prose h2:first-child {
    margin-top: 0;
}

.nexa-bd-prose h3 {
    margin: 24px 0 12px;
    font-size: 20px;
    color: var(--nexa-ink);
}

.nexa-bd-prose blockquote {
    margin: 22px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--nexa-lime);
    border-radius: 0 14px 14px 0;
    background: var(--nexa-soft);
    color: var(--nexa-muted);
}

.nexa-bd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--nexa-border);
}

.nexa-bd-tags a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(17, 103, 255, 0.06);
    border: 1px solid rgba(17, 103, 255, 0.12);
    color: var(--nexa-ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.nexa-bd-tags a:hover {
    background: rgba(17, 103, 255, 0.1);
    border-color: rgba(17, 103, 255, 0.24);
    transform: translateY(-1px);
}

.nexa-bd-comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.nexa-bd-comment-list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--nexa-border);
    background: var(--nexa-soft);
}

.nexa-bd-comment__avatar img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.nexa-bd-comment__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 8px;
}

.nexa-bd-comment__meta strong {
    color: var(--nexa-ink);
    font-size: 15px;
}

.nexa-bd-comment__meta time {
    color: var(--nexa-muted);
    font-size: 13px;
}

.nexa-bd-comment__body p {
    margin: 0;
    color: var(--nexa-muted);
    line-height: 1.65;
}

.nexa-bd-comment-form {
    display: grid;
    gap: 18px;
}

.nexa-bd-field {
    display: grid;
    gap: 8px;
}

.nexa-bd-field span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nexa-muted);
}

.nexa-bd-field input,
.nexa-bd-field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--nexa-border);
    background: #fff;
    color: var(--nexa-ink);
    font-size: 15px;
    line-height: 1.5;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.nexa-bd-field input:focus,
.nexa-bd-field textarea:focus {
    outline: none;
    border-color: rgba(17, 103, 255, 0.42);
    box-shadow: 0 0 0 3px rgba(17, 103, 255, 0.12);
}

.nexa-bd-field textarea {
    resize: vertical;
    min-height: 140px;
}

.nexa-bd-recaptcha {
    margin-top: 4px;
}

.nexa-bd-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.nexa-bd-search input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--nexa-border);
    background: #fff;
    font-size: 14px;
}

.nexa-bd-search input:focus {
    outline: none;
    border-color: rgba(17, 103, 255, 0.42);
    box-shadow: 0 0 0 3px rgba(17, 103, 255, 0.12);
}

.nexa-bd-search button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--nexa-grad-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nexa-bd-search button:hover {
    transform: translateY(-1px);
    box-shadow: var(--nexa-shadow-sm);
}

.nexa-bd-categories a {
    justify-content: space-between;
}

.nexa-bd-count {
    color: var(--nexa-muted);
    font-size: 13px;
    font-weight: 500;
}

.nexa-bd-recent {
    display: grid;
    gap: 12px;
}

.nexa-bd-recent__item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid transparent;
    text-decoration: none !important;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.nexa-bd-recent__item:hover {
    background: var(--nexa-soft);
    border-color: var(--nexa-border);
}

.nexa-bd-recent__thumb {
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.nexa-bd-recent__thumb img {
    width: 72px;
    height: 72px;
    object-fit: cover;
}

.nexa-bd-recent__copy {
    display: grid;
    gap: 4px;
}

.nexa-bd-recent__copy strong {
    color: var(--nexa-ink);
    font-size: 14px;
    line-height: 1.4;
}

.nexa-bd-recent__copy time {
    color: var(--nexa-muted);
    font-size: 12px;
}

.nexa-bd-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nexa-bd-tag-cloud a {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--nexa-soft);
    border: 1px solid var(--nexa-border);
    color: var(--nexa-ink);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.nexa-bd-tag-cloud a:hover,
.nexa-bd-tag-cloud a.is-active {
    background: rgba(17, 103, 255, 0.08);
    border-color: rgba(17, 103, 255, 0.22);
    color: var(--nexa-blue);
}

@media (max-width: 575px) {
    .nexa-bd-comment-list li {
        grid-template-columns: 1fr;
    }

    .nexa-bd-recent__item {
        grid-template-columns: 56px 1fr;
    }

    .nexa-bd-recent__thumb img {
        width: 56px;
        height: 56px;
    }
}
