:root {
    --bg-0: #070a12;
    --bg-1: #0d1424;
    --panel: #121a2d;
    --panel-soft: #172238;
    --line: #2b3853;
    --text: #edf2ff;
    --muted: #9ca9c4;
    --brand: #73efc4;
    --brand-strong: #4ad0a7;
    --link: #8fb8ff;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    min-height: 100vh;
    background:
        radial-gradient(circle at 6% -8%, #223458 0%, transparent 30%),
        radial-gradient(circle at 92% 4%, #14414e 0%, transparent 24%),
        linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 72%, #0c1628 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.shell {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

/* ========================================================== */
/* ====================== NAVBAR ============================ */
/* ========================================================== */

.cb-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 10, 18, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cb-nav.scrolled {
    background: rgba(7, 10, 18, 0.92);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.cb-nav-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Brand */
.cb-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    flex-shrink: 0;
    text-decoration: none;
}

.cb-nav-logo {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #73efc4, #4ad0a7);
    color: #052016;
    flex-shrink: 0;
}

/* Links */
.cb-nav-links {
    display: flex !important;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
}

.cb-nav-link {
    position: relative;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #cdd7ee;
    transition: color 0.2s ease, background 0.2s ease;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.cb-nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #73efc4, #8fb8ff);
    transition: width 0.25s ease;
}

.cb-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.cb-nav-link:hover::after,
.cb-nav-link.is-active::after {
    width: 22px;
}

.cb-nav-link.is-active {
    color: #e8eeff;
}

/* CTA */
.cb-nav-cta {
    flex-shrink: 0;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 20px rgba(74,208,167,0.3) !important;
}

/* Hamburger — hidden on desktop */
.cb-nav-toggle {
    display: none !important;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.04);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
    outline: none;
    box-shadow: none;
}

.cb-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(115, 239, 196, 0.3);
}

.cb-nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: #c8d4ee;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.cb-nav-toggle span:nth-child(1) { width: 20px; }
.cb-nav-toggle span:nth-child(2) { width: 13px; }
.cb-nav-toggle span:nth-child(3) { width: 20px; }

.cb-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 20px; }
.cb-nav-toggle.is-open span:nth-child(2) { opacity: 0; width: 0; }
.cb-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 20px; }

.page-hero {
    padding: 74px 0 28px;
}

.page-hero--compact {
    padding-top: 58px;
}

.home-hero {
    padding: 92px 0 26px;
}

.home-hero-simple {
    max-width: 900px;
    text-align: center;
}

.home-hero-simple h1 {
    margin-left: auto;
    margin-right: auto;
    max-width: 12ch;
    font-size: clamp(2.35rem, 6vw, 5.2rem);
    line-height: 0.98;
}

.home-hero-simple .lead {
    margin-left: auto;
    margin-right: auto;
    max-width: 60ch;
    font-size: 1.04rem;
}

.hero-actions--center {
    justify-content: center;
}

.home-showcase {
    padding: 14px 0 12px;
}

.home-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.showcase-panel {
    min-height: 320px;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.showcase-panel h2 {
    margin-top: 8px;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    max-width: 14ch;
}

.showcase-panel p:last-child {
    margin-top: 12px;
    max-width: 34ch;
    color: var(--muted);
    line-height: 1.6;
}

.showcase-panel--primary {
    background:
        radial-gradient(circle at 20% 20%, rgba(115, 239, 196, 0.12) 0%, transparent 28%),
        linear-gradient(180deg, #161f33 0%, #10192c 100%);
}

.showcase-panel--secondary {
    background:
        radial-gradient(circle at 80% 18%, rgba(143, 184, 255, 0.16) 0%, transparent 26%),
        linear-gradient(180deg, #121821 0%, #0d131d 100%);
}

.home-flow {
    padding: 18px 0 12px;
}

.home-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
    align-items: stretch;
}

.hero-panel {
    background: linear-gradient(155deg, var(--panel-soft) 0%, #101b2f 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow);
}

.hero-panel h2 {
    margin: 0;
    font-size: 1.35rem;
}

.hero-panel ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.hero-panel li {
    margin-bottom: 8px;
    color: #d8e3fb;
}

.panel-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.panel-stat-grid div {
    border: 1px solid #334567;
    border-radius: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.panel-stat-grid strong {
    display: block;
    font-size: 1.2rem;
}

.panel-stat-grid span {
    color: var(--muted);
    font-size: 0.86rem;
}

.eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.72rem;
    font-weight: 700;
    color: #8d9cb9;
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: -0.03em;
}

h1 {
    margin-top: 12px;
    font-size: clamp(2rem, 5.2vw, 3.85rem);
    line-height: 1.03;
    max-width: 20ch;
}

.lead {
    margin-top: 14px;
    max-width: 70ch;
    color: var(--muted);
    line-height: 1.66;
}

.hero-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-primary {
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: #022116;
    padding: 12px 16px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.btn-primary:hover {
    background: var(--brand-strong);
    transform: translateY(-1px);
}

.btn-link {
    align-self: center;
    color: var(--link);
    font-weight: 700;
}

.home-sections,
.services-bento,
.process-section,
.contact-layout,
.home-cta {
    padding: 8px 0 16px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.content-card {
    background: linear-gradient(160deg, var(--panel) 0%, #141f34 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
}

.content-card h2 {
    margin-top: 8px;
    font-size: 1.28rem;
}

.content-card p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.58;
}

.cta-bar {
    background: linear-gradient(160deg, var(--panel-soft) 0%, #111b2f 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

.cta-bar--center {
    flex-direction: column;
    text-align: center;
}

.cta-bar p {
    margin: 10px 0 0;
    color: var(--muted);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.content-card--wide {
    grid-column: span 2;
}

.section-head {
    margin-bottom: 12px;
}

.section-head--center {
    text-align: center;
}

.section-head h2 {
    margin-top: 8px;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.process-item {
    background: linear-gradient(160deg, var(--panel) 0%, #121d31 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow);
}

.process-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(115, 239, 196, 0.15);
    color: var(--brand);
    font-weight: 800;
    font-size: 0.88rem;
}

.process-item h3 {
    margin-top: 10px;
    font-size: 1.08rem;
}

.process-item p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 14px;
}

.contact-panel {
    background: linear-gradient(160deg, var(--panel) 0%, #111b2e 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow);
}

.contact-panel h2 {
    font-size: 1.35rem;
}

.contact-panel p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.62;
}

.contact-panel ul {
    margin: 14px 0 0;
    padding-left: 17px;
}

.contact-panel li {
    margin-bottom: 8px;
    color: #dce6fb;
}

.quote-form {
    background: linear-gradient(160deg, var(--panel-soft) 0%, #111b2f 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow);
}

.quote-form h2 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.quote-form label {
    display: block;
    margin-bottom: 11px;
    font-size: 0.91rem;
    font-weight: 600;
    color: #dce5f8;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    margin-top: 6px;
    border: 1px solid #3c4d70;
    border-radius: var(--radius-md);
    padding: 10px 11px;
    font: inherit;
    color: var(--text);
    background: #0f1729;
}

.quote-form textarea {
    resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: 0;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(115, 239, 196, 0.15);
}

/* ========================================================== */
/* ======================== FOOTER ========================== */
/* ========================================================== */

.cb-footer {
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(6, 9, 16, 0.95);
    position: relative;
    overflow: hidden;
}

.cb-footer::before {
    content: '';
    position: absolute;
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(115, 239, 196, 0.06), transparent 70%);
    pointer-events: none;
}

.cb-footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 64px 0 48px;
}

/* Brand col */
.cb-footer-logo {
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.cb-footer-brand p {
    color: #7a8ba8;
    font-size: 14px;
    line-height: 1.7;
    margin: 14px 0 22px;
    max-width: 240px;
}

.cb-footer-social {
    display: flex;
    gap: 8px;
}

/* Nav cols */
.cb-footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #73efc4;
    margin: 0 0 18px;
}

.cb-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cb-footer-col li a,
.cb-footer-col li span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #7a8ba8;
    transition: color 0.2s ease;
    text-decoration: none;
}

.cb-footer-col li a:hover { color: #e8eeff; }

.cb-footer-col li svg { flex-shrink: 0; opacity: 0.6; }

/* Bottom bar */
.cb-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 0;
}

.cb-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.cb-footer-bottom p {
    font-size: 13px;
    color: #4e5f7a;
    margin: 0;
}

.cb-footer-bottom-links {
    display: flex;
    gap: 20px;
}

.cb-footer-bottom-links a {
    font-size: 13px;
    color: #4e5f7a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cb-footer-bottom-links a:hover { color: #9aaac4; }

@media (max-width: 980px) {
    .cb-nav-toggle { display: inline-flex; }
    .cb-nav-links  { display: none; }
    .cb-nav-cta    { display: none; }

    .cb-nav.is-open .cb-nav-links {
        display: flex;
        position: absolute;
        top: 82px;
        left: 4vw;
        right: 4vw;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        background: rgba(10, 16, 30, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
        z-index: 99;
    }

    .cb-nav-link {
        padding: 13px 16px;
        border-radius: 10px;
        font-size: 0.97rem;
    }

    .hero-grid,
    .home-showcase-grid,
    .home-flow-grid,
    .cards-grid,
    .bento-grid,
    .process-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .content-card--wide {
        grid-column: span 1;
    }

    .cta-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-hero {
        padding-top: 56px;
    }

    .home-hero-simple h1 {
        max-width: 10ch;
    }

    .page-hero {
        padding-top: 52px;
    }

    .cb-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        padding: 48px 0 36px;
    }

    .cb-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 560px) {
    .cb-footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 0 28px;
    }
}

/* ========================================================== */
/* =============== CODEBLOOM MODERN HOMEPAGE ================ */
/* ========================================================== */

.cb-gradient-text {
    background: linear-gradient(120deg, #73efc4 0%, #8fb8ff 50%, #c28cff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    padding-bottom: 0.12em;
    line-height: 1.15;
}

/* ---------- HERO ---------- */
.cb-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
}

.cb-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cb-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    animation: cb-float 14s ease-in-out infinite;
}

.cb-blob-1 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, #73efc4, transparent 70%);
    top: -120px; left: -120px;
}

.cb-blob-2 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, #5f8dff, transparent 70%);
    top: 20%; right: -160px;
    animation-delay: -4s;
}

.cb-blob-3 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, #c28cff, transparent 70%);
    bottom: -180px; left: 30%;
    animation-delay: -8s;
}

@keyframes cb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(30px, -30px) scale(1.08); }
}

.cb-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.cb-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}

.cb-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(115, 239, 196, 0.08);
    border: 1px solid rgba(115, 239, 196, 0.25);
    font-size: 13px;
    font-weight: 600;
    color: #a8f5d4;
    margin-bottom: 24px;
}

.cb-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #73efc4;
    box-shadow: 0 0 0 0 rgba(115, 239, 196, 0.6);
    animation: cb-pulse 2s infinite;
}

@keyframes cb-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(115, 239, 196, 0.6); }
    70%  { box-shadow: 0 0 0 12px rgba(115, 239, 196, 0); }
    100% { box-shadow: 0 0 0 0 rgba(115, 239, 196, 0); }
}

.cb-hero-title {
    font-size: clamp(38px, 5.2vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    font-weight: 800;
}

.cb-hero-lead {
    font-size: 18px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 560px;
    margin: 0 0 36px;
}

.cb-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cb-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.cb-btn-primary {
    background: linear-gradient(120deg, #73efc4, #4ad0a7);
    color: #052016;
    box-shadow: 0 14px 32px rgba(74, 208, 167, 0.35);
}

.cb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(74, 208, 167, 0.45);
}

.cb-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cb-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.cb-btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.cb-hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cb-avatars {
    display: flex;
}

.cb-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #0a1220;
    border: 2px solid #0d1424;
    margin-left: -10px;
}

.cb-avatar:first-child { margin-left: 0; }

.cb-trust-text strong {
    display: block;
    font-size: 14px;
    color: var(--text);
}

.cb-trust-text span {
    font-size: 13px;
    color: var(--muted);
}

/* Hero code card */
.cb-hero-card {
    position: relative;
}

.cb-window {
    background: rgba(18, 26, 45, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    transform: rotate(-1.2deg);
    transition: transform 0.4s ease;
}

.cb-window:hover { transform: rotate(0deg) translateY(-4px); }

.cb-window-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 16px;
    background: rgba(10, 16, 30, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cb-window-bar span {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}

.cb-window-bar span:nth-child(2) { background: #ffbd2e; }
.cb-window-bar span:nth-child(3) { background: #27c93f; }

.cb-window-bar p {
    margin: 0 0 0 12px;
    font-size: 12px;
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.cb-window-body {
    padding: 24px 22px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px;
    line-height: 1.9;
    color: #dfe7f7;
}

.cb-code-line { white-space: nowrap; }
.cb-indent { padding-left: 22px; }
.cb-c-k   { color: #c28cff; }
.cb-c-v   { color: #8fb8ff; }
.cb-c-s   { color: #73efc4; }
.cb-c-str { color: #ffb27a; }
.cb-c-ok  { color: #73efc4; margin-left: 6px; }

.cb-caret::after {
    content: '▋';
    color: #73efc4;
    animation: cb-blink 1s steps(1) infinite;
}

@keyframes cb-blink {
    50% { opacity: 0; }
}

.cb-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(18, 26, 45, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: cb-bob 5s ease-in-out infinite;
}

.cb-float-1 { top: -20px; right: -30px; }
.cb-float-2 { bottom: -20px; left: -20px; animation-delay: -2.5s; }

.cb-fc-ico {
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(115, 239, 196, 0.12);
    font-size: 20px;
}

.cb-float-card strong {
    display: block;
    font-size: 14px;
    color: var(--text);
}

.cb-float-card span {
    font-size: 12px;
    color: var(--muted);
}

@keyframes cb-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ---------- STATS ---------- */
.cb-stats {
    padding: 40px 0 80px;
    position: relative;
    z-index: 2;
}

.cb-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(115, 239, 196, 0.06), rgba(143, 184, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.cb-stat {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.cb-stat:last-child { border-right: none; }

.cb-stat strong {
    display: block;
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(120deg, #73efc4, #8fb8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.cb-stat span {
    font-size: 14px;
    color: var(--muted);
}

/* ---------- SECTION HEAD ---------- */
.cb-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.cb-section-head-sm { margin-bottom: 32px; }

.cb-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #73efc4;
    margin: 0 0 14px;
}

.cb-section-head h2 {
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 16px;
    letter-spacing: -0.015em;
}

.cb-section-sub {
    font-size: 17px;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

/* ---------- SERVICES ---------- */
.cb-services {
    padding: 80px 0;
}

.cb-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cb-service-card {
    position: relative;
    padding: 32px 28px;
    background: rgba(18, 26, 45, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.cb-service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(115, 239, 196, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cb-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(115, 239, 196, 0.35);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.cb-service-card:hover::before { opacity: 1; }

.cb-service-featured {
    border-color: rgba(115, 239, 196, 0.4);
    background: linear-gradient(180deg, rgba(115, 239, 196, 0.08), rgba(18, 26, 45, 0.6));
}

.cb-featured-tag {
    position: absolute;
    top: 16px; right: 16px;
    padding: 5px 12px;
    border-radius: 999px;
    background: linear-gradient(120deg, #73efc4, #4ad0a7);
    color: #052016;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cb-service-ico {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(115, 239, 196, 0.12);
    color: #73efc4;
    margin-bottom: 20px;
}

.cb-service-card h3 {
    font-size: 21px;
    margin: 0 0 12px;
    font-weight: 700;
}

.cb-service-card > p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
    margin: 0 0 18px;
}

.cb-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cb-check-list li {
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    color: #c7d1e8;
    margin-bottom: 8px;
}

.cb-check-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 7px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: rgba(115, 239, 196, 0.15);
    box-shadow: inset 0 0 0 1px rgba(115, 239, 196, 0.5);
}

.cb-check-list li::after {
    content: '';
    position: absolute;
    left: 5px; top: 10px;
    width: 6px; height: 3px;
    border-left: 2px solid #73efc4;
    border-bottom: 2px solid #73efc4;
    transform: rotate(-45deg);
}

/* ---------- TECH MARQUEE ---------- */
.cb-tech {
    padding: 40px 0 80px;
}

.cb-tech-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    padding: 16px 0;
}

.cb-tech-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: cb-marquee 38s linear infinite;
}

.cb-tech-track span {
    padding: 12px 22px;
    border-radius: 12px;
    background: rgba(18, 26, 45, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    font-weight: 600;
    color: #c7d1e8;
    white-space: nowrap;
}

@keyframes cb-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- PROCESS ---------- */
.cb-process { padding: 80px 0; }

.cb-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.cb-step {
    padding: 28px 24px;
    background: rgba(18, 26, 45, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.cb-step:hover {
    transform: translateY(-4px);
    border-color: rgba(115, 239, 196, 0.3);
}

.cb-step-num {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(120deg, #73efc4, #8fb8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 14px;
    line-height: 1;
}

.cb-step h3 {
    font-size: 18px;
    margin: 0 0 10px;
}

.cb-step p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ---------- WORKS / PORTFOLIO ---------- */
.cb-works { padding: 80px 0; }

.cb-works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 22px;
}

.cb-work-card {
    background: rgba(18, 26, 45, 0.65);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cb-work-card:hover {
    transform: translateY(-5px);
    border-color: rgba(115,239,196,0.3);
    box-shadow: 0 28px 56px rgba(0,0,0,0.4);
}

/* Featured card — occupa tutta la prima riga */
.cb-work-featured {
    grid-column: 1 / -1;
    flex-direction: row;
}

.cb-work-featured .cb-work-preview {
    flex: 1;
    min-height: 260px;
}

.cb-work-featured .cb-work-info {
    flex: 0 0 340px;
    justify-content: center;
}

/* Preview area */
.cb-work-preview {
    background: rgba(10,16,30,0.6);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cb-work-featured .cb-work-preview {
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.06);
}

/* Mockup browser */
.cb-work-mockup {
    width: 100%;
    max-width: 460px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.cb-mock-bar {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 8px 12px;
    background: rgba(20,30,52,0.95);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cb-mock-bar span {
    width: 9px; height: 9px;
    border-radius: 50%;
}

.cb-mock-bar span:nth-child(1) { background: #ff5f56; }
.cb-mock-bar span:nth-child(2) { background: #ffbd2e; }
.cb-mock-bar span:nth-child(3) { background: #27c93f; }

.cb-mock-body { padding: 14px; background: rgba(13,20,36,0.98); }

.cb-mock-nav {
    height: 10px; border-radius: 4px;
    background: rgba(255,255,255,0.06);
    margin-bottom: 10px;
}

.cb-mock-hero {
    height: 70px; border-radius: 8px;
    margin-bottom: 10px;
    animation: cb-shimmer 2.5s ease-in-out infinite;
}

.cb-work-mockup-1 .cb-mock-hero { background: linear-gradient(120deg, rgba(115,239,196,0.18), rgba(143,184,255,0.18)); }
.cb-work-mockup-2 .cb-mock-hero { background: linear-gradient(120deg, rgba(194,140,255,0.18), rgba(143,184,255,0.18)); }
.cb-work-mockup-3 .cb-mock-hero { background: linear-gradient(120deg, rgba(255,178,122,0.18), rgba(255,99,99,0.12)); }

.cb-mock-hero-sm { height: 48px; }

.cb-mock-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 6px;
}

.cb-mock-cards div, .cb-mock-row div {
    height: 36px; border-radius: 6px;
    background: rgba(255,255,255,0.05);
}

.cb-mock-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 6px;
}

.cb-mock-text {
    height: 8px; border-radius: 4px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 8px;
}

.cb-mock-text-sm { width: 60%; }

.cb-mock-btn {
    height: 24px; width: 80px;
    border-radius: 6px;
    background: rgba(115,239,196,0.2);
    margin-top: 10px;
}

@keyframes cb-shimmer {
    0%,100% { opacity: 0.7; }
    50%      { opacity: 1; }
}

/* Mockup phone */
.cb-work-phone {
    width: 130px;
    height: 240px;
    border-radius: 22px;
    background: rgba(20,30,52,0.95);
    border: 1.5px solid rgba(255,255,255,0.12);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 14px;
}

.cb-phone-notch {
    width: 44px; height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    margin-bottom: 12px;
}

.cb-phone-body { width: 100%; padding: 0 10px; flex: 1; }

.cb-phone-header {
    height: 32px; border-radius: 8px;
    background: linear-gradient(120deg, rgba(115,239,196,0.25), rgba(143,184,255,0.2));
    margin-bottom: 8px;
}

.cb-phone-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px; margin-bottom: 8px;
}

.cb-phone-cards div {
    height: 48px; border-radius: 6px;
    background: rgba(255,255,255,0.06);
}

.cb-phone-list div {
    height: 7px; border-radius: 3px;
    background: rgba(255,255,255,0.07);
    margin-bottom: 6px;
}

/* Info area */
.cb-work-info {
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cb-work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cb-work-tags span {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(115,239,196,0.08);
    border: 1px solid rgba(115,239,196,0.2);
    color: #8af5d4;
}

.cb-work-info h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
}

.cb-work-info > p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

.cb-work-meta {
    display: flex;
    gap: 22px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 4px;
}

.cb-work-stat strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(120deg, #73efc4, #8fb8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.cb-work-stat span {
    font-size: 12px;
    color: var(--muted);
    margin-top: 3px;
    display: block;
}

.cb-work-result {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #8af5d4;
    padding: 10px 14px;
    background: rgba(115,239,196,0.06);
    border: 1px solid rgba(115,239,196,0.15);
    border-radius: 10px;
    margin-top: 4px;
}

/* URL bar nel mockup */
.cb-mock-url {
    margin-left: 8px;
    font-size: 11px;
    color: var(--muted);
    font-family: ui-monospace, monospace;
    flex: 1;
}

/* Gallery grid nel mockup */
.cb-mock-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.cb-mock-gallery div {
    aspect-ratio: 1;
    border-radius: 5px;
    background: rgba(255,255,255,0.07);
    animation: cb-shimmer 2.5s ease-in-out infinite;
}

.cb-mock-gallery div:nth-child(2) { animation-delay: .3s; }
.cb-mock-gallery div:nth-child(3) { animation-delay: .6s; }
.cb-mock-gallery div:nth-child(4) { background: rgba(194,140,255,0.15); animation-delay: .2s; }
.cb-mock-gallery div:nth-child(5) { animation-delay: .5s; }
.cb-mock-gallery div:nth-child(6) { background: rgba(115,239,196,0.12); animation-delay: .4s; }

/* Doppio telefono nella featured */
.cb-work-phones-duo {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: 16px;
}

.cb-phone-tilt-l { transform: rotate(-5deg); }
.cb-phone-tilt-r { transform: rotate(4deg); margin-bottom: 12px; }

/* Pulsante garage */
.cb-phone-garage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 6px;
}

.cb-garage-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(115,239,196,0.12);
    border: 1.5px solid rgba(115,239,196,0.35);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 18px rgba(115,239,196,0.2);
}

/* Link visita sito */
.cb-work-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #73efc4;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(115,239,196,0.07);
    border: 1px solid rgba(115,239,196,0.2);
    transition: background .2s, box-shadow .2s;
    align-self: flex-start;
    margin-top: 4px;
}

.cb-work-link:hover {
    background: rgba(115,239,196,0.14);
    box-shadow: 0 4px 14px rgba(115,239,196,0.15);
}

/* Footer works */
.cb-works-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.cb-works-footer p {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

/* ---------- TESTIMONIALS ---------- */
.cb-testimonials { padding: 80px 0; }

.cb-test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.cb-test-card {
    padding: 30px 28px;
    background: rgba(18, 26, 45, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.cb-test-card:hover { transform: translateY(-4px); }

.cb-stars {
    color: #ffc857;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.cb-test-card p {
    color: #dfe7f7;
    line-height: 1.6;
    font-size: 15px;
    margin: 0 0 22px;
    font-style: italic;
}

.cb-test-card footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cb-test-card footer .cb-avatar {
    margin-left: 0;
    border: none;
}

.cb-test-card footer strong {
    display: block;
    font-size: 14px;
    color: var(--text);
}

.cb-test-card footer span {
    font-size: 12px;
    color: var(--muted);
}

/* ---------- CONTACT ---------- */
.cb-contact {
    padding: 80px 0 120px;
}

.cb-contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: start;
}

.cb-contact-copy h2 {
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 16px;
    letter-spacing: -0.015em;
}

.cb-contact-copy > p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
    margin: 0 0 36px;
}

.cb-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cb-contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cb-contact-ico {
    width: 46px; height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(115, 239, 196, 0.12);
    color: #73efc4;
    flex-shrink: 0;
}

.cb-contact-list strong {
    display: block;
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.cb-contact-list a,
.cb-contact-list span {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
}

.cb-contact-list a:hover { color: #73efc4; }

/* Form card */
.cb-form-card {
    padding: 36px 34px;
    background: rgba(18, 26, 45, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.cb-form-card h3 {
    font-size: 24px;
    margin: 0 0 4px;
}

.cb-form-sub {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 24px;
}

.cb-form-row { margin-bottom: 16px; }

.cb-form-row label span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #c7d1e8;
    margin-bottom: 8px;
}

.cb-input {
    width: 100%;
    padding: 13px 16px;
    background: rgba(10, 16, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.cb-input:focus {
    outline: none;
    border-color: #73efc4;
    background: rgba(10, 16, 30, 0.9);
    box-shadow: 0 0 0 4px rgba(115, 239, 196, 0.12);
}

.cb-textarea { resize: vertical; min-height: 110px; }

.cb-form-note {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    margin: 14px 0 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
    .cb-hero { padding: 50px 0 70px; }
    .cb-hero-inner { grid-template-columns: 1fr; gap: 60px; }
    .cb-hero-card { max-width: 460px; margin: 0 auto; }
    .cb-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cb-stat:nth-child(2) { border-right: none; }
    .cb-services-grid { grid-template-columns: 1fr; }
    .cb-process-grid { grid-template-columns: repeat(2, 1fr); }
    .cb-works-grid { grid-template-columns: 1fr; }
    .cb-work-featured { flex-direction: column; }
    .cb-work-featured .cb-work-info { flex: 1; }
    .cb-work-featured .cb-work-preview { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .cb-test-grid { grid-template-columns: 1fr; }
    .cb-contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
    .cb-hero-title { font-size: 36px; }
    .cb-stats-grid { grid-template-columns: 1fr; padding: 24px; }
    .cb-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 16px; }
    .cb-stat:last-child { border-bottom: none; }
    .cb-process-grid { grid-template-columns: 1fr; }
    .cb-float-1 { right: 0; top: -10px; }
    .cb-float-2 { left: 0; bottom: -10px; }
    .cb-form-card { padding: 28px 22px; }
}

/* ========================================================== */
/* =============== PAGE HERO (interne) ====================== */
/* ========================================================== */

.cb-page-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 70px;
    text-align: center;
}

.cb-page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.cb-page-title {
    font-size: clamp(34px, 4.8vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.018em;
    margin: 22px 0 18px;
}

.cb-page-lead {
    font-size: 18px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
}

/* ========================================================== */
/* =============== SERVIZI DETAIL (About) =================== */
/* ========================================================== */

.cb-services-detail {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 920px;
    margin: 0 auto;
}

.cb-service-detail {
    padding: 36px 34px;
    background: rgba(18, 26, 45, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cb-service-detail:hover {
    transform: translateY(-4px);
    border-color: rgba(115, 239, 196, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.cb-service-detail-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

.cb-service-detail-head .cb-service-ico {
    margin-bottom: 0;
    flex-shrink: 0;
}

.cb-service-detail-head h2 {
    font-size: 26px;
    margin: 4px 0 0;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.cb-service-detail-head .cb-eyebrow {
    margin: 0;
}

.cb-service-detail-text {
    color: var(--muted);
    line-height: 1.7;
    font-size: 16px;
    margin: 0 0 22px;
}

.cb-check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    margin-bottom: 26px;
}

.cb-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 20px;
    flex-wrap: wrap;
}

.cb-price span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 4px;
}

.cb-price strong {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(120deg, #73efc4, #8fb8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cb-price strong.cb-price-text {
    font-size: 20px;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #73efc4;
}

/* ========================================================== */
/* =============== FAQ ====================================== */
/* ========================================================== */

.cb-faq { padding: 40px 0 80px; }

.cb-faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cb-faq-item {
    background: rgba(18, 26, 45, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.cb-faq-item[open] {
    border-color: rgba(115, 239, 196, 0.3);
}

.cb-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 26px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cb-faq-item summary::-webkit-details-marker { display: none; }

.cb-faq-plus {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.cb-faq-plus::before,
.cb-faq-plus::after {
    content: '';
    position: absolute;
    background: #73efc4;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.cb-faq-plus::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
}

.cb-faq-plus::after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
}

.cb-faq-item[open] .cb-faq-plus::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.cb-faq-item p {
    padding: 0 26px 22px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ========================================================== */
/* =============== CTA BAND ================================= */
/* ========================================================== */

.cb-cta-band { padding: 40px 0 100px; }

.cb-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 44px 48px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 0% 0%, rgba(115, 239, 196, 0.18), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(143, 184, 255, 0.18), transparent 55%),
        rgba(18, 26, 45, 0.75);
    border: 1px solid rgba(115, 239, 196, 0.25);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    flex-wrap: wrap;
}

.cb-cta-box h2 {
    font-size: clamp(24px, 3vw, 34px);
    margin: 0 0 8px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.cb-cta-box p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

/* ========================================================== */
/* =============== CONTACT PAGE EXTRAS ====================== */
/* ========================================================== */

.cb-contact-page { padding-top: 30px; }

.cb-form-card-lg { padding: 40px 38px; }

.cb-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
}

.cb-form-grid .cb-form-row { margin-bottom: 16px; }

.cb-checkbox-row { margin-bottom: 20px; }

.cb-checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.cb-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #73efc4;
    flex-shrink: 0;
}

.cb-checkbox span {
    font-size: 13px !important;
    color: var(--muted) !important;
    font-weight: 400 !important;
    line-height: 1.5;
    margin: 0 !important;
}

.cb-checkbox a {
    color: #73efc4;
    text-decoration: underline;
}

/* Alert */
.cb-alert {
    padding: 14px 18px;
    border-radius: 11px;
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.cb-alert-error {
    background: rgba(255, 99, 99, 0.08);
    border: 1px solid rgba(255, 99, 99, 0.35);
    color: #ffb4b4;
}

.cb-alert-error strong {
    color: #ff8a8a;
    margin-right: 6px;
}

/* Success panel */
.cb-success-panel {
    text-align: center;
    padding: 20px 0;
}

.cb-success-ico {
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(115, 239, 196, 0.12);
    color: #73efc4;
    margin-bottom: 22px;
    animation: cb-pop 0.5s ease;
}

@keyframes cb-pop {
    0%   { transform: scale(0.5); opacity: 0; }
    60%  { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); }
}

.cb-success-panel h3 {
    font-size: 26px;
    margin: 0 0 12px;
    font-weight: 800;
}

.cb-success-panel p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 420px;
    margin: 0 auto 26px;
}

/* Social links */
.cb-social {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.cb-social-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(18, 26, 45, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #c7d1e8;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cb-social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(115, 239, 196, 0.4);
    color: #73efc4;
}

/* ========================================================== */
/* =============== RESPONSIVE (interne) ===================== */
/* ========================================================== */

@media (max-width: 760px) {
    .cb-page-hero { padding: 60px 0 40px; }
    .cb-service-detail { padding: 28px 24px; }
    .cb-service-detail-head { flex-direction: column; align-items: flex-start; gap: 14px; }
    .cb-service-detail-head h2 { font-size: 22px; }
    .cb-check-grid { grid-template-columns: 1fr; }
    .cb-price-row { flex-direction: column; align-items: flex-start; }
    .cb-cta-box { padding: 32px 28px; flex-direction: column; text-align: center; align-items: stretch; }
    .cb-form-grid { grid-template-columns: 1fr; }
    .cb-form-card-lg { padding: 30px 24px; }
    .cb-faq-item summary { padding: 18px 22px; font-size: 15px; }
    .cb-faq-item p { padding: 0 22px 18px; }
}
