/* Custom production styling for carpsilviuionut.ro */
:root {
    --csi-bg: #1a1d21;
    --csi-card: #23272d;
    --csi-card-2: #1e2125;
    --csi-border: rgba(255,255,255,.06);
    --csi-text: #fff;
    --csi-muted: rgba(255,255,255,.62);
    --csi-primary: #6f42c1;
    --csi-info: #0dcaf0;
    --csi-success: #198754;
    --csi-magenta: #c40075;
    --csi-deep: #080317;
}

.tab-pane .customReperContent,
.tab-pane .customReperContent h3 {
    color: #000;
}

body.stretched {
    background:
        radial-gradient(circle at 4% 8%, rgba(111, 66, 193, .38), transparent 31%),
        radial-gradient(circle at 96% 10%, rgba(13, 202, 240, .14), transparent 32%),
        linear-gradient(180deg, #030008 0%, #111724 38%, #030008 100%);
}

#wrapper {
    background: transparent;
}

.csi-site-header,
.hero-header {
    background: #1d0d3d;
    color: #fff;
    padding: 28px 0 72px;
}

#header-wrap,
.csi-site-header #header-wrap {
    background: transparent !important;
}

.csi-site-header .header-row {
    min-height: 118px;
}

.csi-header-logo,
.csi-header-logo a {
    width: 292px;
    height: 118px;
}

.csi-header-logo img,
#logo.csi-header-logo img {
    width: 292px !important;
    height: 118px !important;
    object-fit: contain;
    padding: 0;
}

.csi-site-header .menu-container {
    gap: 8px;
}

.csi-site-header .menu-link {
    color: rgba(255,255,255,.82) !important;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.csi-site-header .menu-link div {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.csi-site-header .menu-link i {
    color: #8d8bb2;
    font-size: .95rem;
}

.csi-site-header .menu-link:hover,
.csi-site-header .menu-item.current .menu-link {
    color: #fff !important;
    background: rgba(255,255,255,.07);
    border-radius: 8px;
}

.csi-site-header .menu-link:hover i,
.csi-site-header .menu-item.current .menu-link i {
    color: var(--csi-info);
}

.csi-homepage {
    background:
        radial-gradient(circle at 4% 8%, rgba(111, 66, 193, .38), transparent 31%),
        radial-gradient(circle at 96% 10%, rgba(13, 202, 240, .14), transparent 32%),
        linear-gradient(180deg, #030008 0%, #111724 38%, #030008 100%);
    color: var(--csi-text);
    overflow: hidden;
}

.csi-home-wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.csi-shell {
    max-width: 1180px;
}

.csi-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 46px;
    align-items: center;
    margin: -34px 0 74px;
    padding: clamp(32px, 6vw, 70px);
    border: 1px solid rgba(116, 159, 220, .25);
    border-radius: 34px;
    background:
        radial-gradient(circle at 82% 18%, rgba(13,202,240,.14), transparent 30%),
        linear-gradient(135deg, rgba(111,66,193,.24), rgba(35,39,45,.56) 54%, rgba(13,202,240,.08));
    box-shadow: 0 34px 100px rgba(0,0,0,.34);
    position: relative;
    overflow: hidden;
}

.csi-stars {
    position: absolute;
    top: 52px;
    left: 36px;
    color: #ffd43b;
    font-size: 42px;
    letter-spacing: -8px;
    line-height: 1;
    pointer-events: none;
}

.csi-hero-title {
    margin: 0;
    color: #fff;
    max-width: 760px;
    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -1.2px;
    font-weight: 900;
}

.csi-hero-title span {
    color: var(--csi-magenta);
}

.csi-hero-copy {
    max-width: 640px;
    margin: 26px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 21px;
    line-height: 1.6;
}

.csi-hero-media {
    display: grid;
    justify-items: center;
    gap: 26px;
}

.csi-avatar-box {
    width: 286px;
    max-width: 100%;
    padding: 12px;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,.16);
    background:
        linear-gradient(145deg, rgba(13,202,240,.14), rgba(196,0,117,.18)),
        rgba(255,255,255,.04);
    box-shadow: 0 20px 70px rgba(0,0,0,.24);
}

.csi-avatar-box img {
    display: block;
    width: 100%;
    border-radius: 24px;
    background: rgba(255,255,255,.05);
}

.csi-hero-btn,
.csi-project-btn {
    border: 0 !important;
    background: linear-gradient(135deg, var(--csi-magenta), #9b00d9) !important;
    color: #fff !important;
    box-shadow: 0 18px 45px rgba(196,0,117,.18);
}

.csi-hero-btn {
    min-width: 230px;
    font-size: 18px;
    padding: 16px 28px;
}

.csi-section {
    padding: 56px 0;
}

.csi-section-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
    gap: 28px;
    align-items: end;
    margin-bottom: 26px;
}

.csi-section-title h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -.7px;
    font-weight: 900;
}

.csi-section-title p {
    margin: 0;
    color: rgba(255,255,255,.65);
    font-size: 16px;
    line-height: 1.65;
}

.csi-separator {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
    margin: 8px auto 28px;
    color: rgba(255,255,255,.68);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .17em;
    text-align: center;
    text-transform: uppercase;
}

.csi-separator::before,
.csi-separator::after {
    content: "";
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13,202,240,.45), rgba(196,0,117,.55), transparent);
}

.csi-expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 46px;
}

.csi-expertise-card {
    min-height: 300px;
    padding: 38px 30px 32px;
    border: 1px solid rgba(116,159,220,.23);
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 18%, rgba(145,184,255,.10), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
    box-shadow: 0 18px 60px rgba(0,0,0,.23);
    text-align: center;
}

.csi-expertise-card img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(113,150,255,.42));
}

.csi-expertise-card h3 {
    margin: 22px 0 0;
    color: #f8f7ff;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 900;
}

.csi-mini-line {
    width: 62px;
    height: 3px;
    margin: 28px auto 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, #80caff, var(--csi-magenta));
}

.csi-expertise-card p {
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 700;
}

.csi-projects {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
}

.csi-project {
    display: block;
    min-height: 180px;
    padding: 28px;
    border: 1px solid rgba(116,159,220,.22);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(13,202,240,.13), transparent 42%),
        rgba(35,39,45,.78);
    text-decoration: none !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
    transition: transform .2s ease, border-color .2s ease;
}

.csi-project:hover {
    transform: translateY(-4px);
    border-color: rgba(13,202,240,.42);
}

.csi-project-main {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(135deg, rgba(13,202,240,.16), transparent 44%),
        linear-gradient(315deg, rgba(196,0,117,.12), transparent 34%),
        rgba(35,39,45,.85);
}

.csi-badge {
    display: inline-flex;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(111,66,193,.2);
    color: rgba(255,255,255,.78);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.csi-project h3 {
    margin: 22px 0 0;
    color: #fff;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 900;
}

.csi-project-main h3 {
    max-width: 760px;
    font-size: clamp(36px, 5vw, 58px);
    letter-spacing: -.6px;
}

.csi-project p {
    margin: 14px 0 0;
    color: rgba(255,255,255,.66);
    font-size: 17px;
    line-height: 1.65;
}

.csi-project-stack {
    display: grid;
    gap: 18px;
}

.csi-contact-page .csi-home-wrap {
    min-height: 560px;
}

.csi-contact-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    margin: -34px 0 36px;
    padding: clamp(32px, 6vw, 70px);
    border: 1px solid rgba(116, 159, 220, .25);
    border-radius: 34px;
    background:
        radial-gradient(circle at 82% 18%, rgba(13,202,240,.14), transparent 30%),
        linear-gradient(135deg, rgba(111,66,193,.24), rgba(35,39,45,.56) 54%, rgba(13,202,240,.08));
    box-shadow: 0 34px 100px rgba(0,0,0,.34);
    position: relative;
    overflow: hidden;
}

.csi-contact-hero .csi-hero-title {
    margin-top: 20px;
}

.csi-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.csi-contact-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 20px;
    align-items: start;
    padding: 28px;
    border: 1px solid rgba(116,159,220,.23);
    border-radius: 22px;
    background:
        radial-gradient(circle at 10% 10%, rgba(145,184,255,.10), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
    box-shadow: 0 18px 60px rgba(0,0,0,.23);
}

.csi-contact-card img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(113,150,255,.42));
}

.csi-contact-card h3 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.csi-contact-card p {
    margin: 12px 0 0;
    color: rgba(255,255,255,.68);
    font-size: 17px;
    line-height: 1.65;
}

.csi-contact-card-wide {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.csi-articles-section {
    margin-inline: calc(50% - 50vw);
    padding: 64px max(28px, calc((100vw - 1180px) / 2)) 74px;
    background: #000;
}

.csi-articles-title {
    margin: 0 0 48px;
    color: #fff;
    font-size: clamp(40px, 5vw, 56px);
    line-height: 1;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 900;
}

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

.csi-article {
    overflow: hidden;
    border: 1px solid rgba(116,159,220,.22);
    border-radius: 22px;
    background: #111224;
    text-decoration: none !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.3);
}

.csi-article img {
    display: block;
    width: 100%;
    aspect-ratio: 1.6 / 1;
    object-fit: cover;
    background: #fff;
}

.csi-article-body {
    padding: 24px;
}

.csi-date {
    color: #ff0098;
    font-size: 14px;
    font-weight: 800;
}

.csi-article h3 {
    margin: 16px 0 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 900;
}

.csi-article p {
    margin: 12px 0 0;
    color: rgba(255,255,255,.74);
    line-height: 1.55;
    font-size: 16px;
}

.csi-read-more {
    display: inline-flex;
    margin-top: 28px;
    color: rgba(255,255,255,.74);
    font-weight: 900;
}

.custom-footer {
    background: #070015;
}

.project-logos .logo-box {
    position: relative;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 15px;
    border-radius: 10px;
    width: 300px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-logos .logo-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(111,66,193,.72);
}

.project-logos .logo-box img {
    max-width: 84%;
    max-height: 120px;
    object-fit: contain;
    opacity: .86;
    transition: all 0.3s ease;
}

.project-logos .logo-box:hover img {
    opacity: 1;
    filter: brightness(1.08);
}

.footer-bio-list {
    color: #fff;
    font-weight: 800;
}

.footer-bio-list i {
    color: #8d8bb2 !important;
}

.contact-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #23272d !important;
    border-color: rgba(255,255,255,.10) !important;
    border-radius: 6px;
    color: rgba(255,255,255,.56) !important;
    font-size: 13px;
    font-weight: 900;
}

.contact-badges .badge i,
.text-purple {
    color: #a000ff !important;
}

.cookie-text {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255,255,255,.78);
    line-height: 1.5;
}

.footer-legal-links {
    gap: 14px 22px;
}

.footer-legal-links .nav-link {
    color: #a000ff;
    font-size: 14px;
    padding-left: 0;
    padding-right: 0;
}

.footer-socials a {
    font-size: 20px;
}

.copyright-text {
    color: rgba(255,255,255,.88);
}

.tracking-widest {
    letter-spacing: 2px;
}

@media (max-width: 991.98px) {
    .csi-site-header {
        padding: 20px 0 42px;
    }

    .csi-header-logo,
    .csi-header-logo a,
    .csi-header-logo img,
    #logo.csi-header-logo img {
        width: 220px !important;
        height: 90px !important;
    }

    .csi-hero-card,
    .csi-contact-hero,
    .csi-section-title,
    .csi-projects,
    .csi-contact-grid,
    .csi-contact-card-wide {
        grid-template-columns: 1fr;
    }

    .csi-hero-media {
        justify-items: start;
    }
}

@media (max-width: 767.98px) {
    .csi-hero-card {
        margin-top: -18px;
        padding: 28px;
        border-radius: 24px;
    }

    .csi-contact-hero {
        margin-top: -18px;
        padding: 28px;
        border-radius: 24px;
    }

    .csi-contact-card {
        grid-template-columns: 1fr;
    }

    .csi-stars {
        position: static;
        margin-bottom: 10px;
    }

    .csi-expertise-grid,
    .csi-article-grid {
        grid-template-columns: 1fr;
    }

    .csi-hero-title {
        font-size: clamp(34px, 11vw, 46px);
    }

    .csi-hero-copy {
        font-size: 18px;
    }

    .project-logos .logo-box {
        width: min(100%, 300px);
    }
}

/* Navigation independent of Canvas fixed heights and JS breakpoints. */
.csi-navigation{position:relative;z-index:20;background:#1d0d3d;padding:16px 0;color:#fff}
.csi-navigation-inner{width:min(1440px,calc(100% - 48px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.csi-brand{display:block;flex:0 0 auto}.csi-brand img{display:block;width:220px;height:auto}
.csi-navigation-links{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap}
.csi-navigation-links a{color:#ddd4ee;padding:12px 10px;border-radius:8px;font-size:14px;font-weight:600;white-space:nowrap}
.csi-navigation-links a:hover,.csi-navigation-links a[aria-current]{color:#fff;background:#ffffff12}
.csi-navigation a:focus-visible,.csi-nav-toggle:focus-visible{outline:2px solid #80caff;outline-offset:4px}
.csi-nav-toggle{border:1px solid #ffffff50;border-radius:8px;background:transparent;color:#fff;padding:10px 14px;font:inherit;cursor:pointer}
.csi-nav-toggle[hidden]{display:none}
.csi-hero-card,.csi-contact-hero{margin-top:28px}
@media(min-width:1200px){.csi-nav-toggle{display:none}.csi-navigation-inner{flex-wrap:nowrap}.csi-navigation-links{flex:1;min-width:0}}
@media(max-width:1199.98px){.csi-navigation-links{flex-basis:100%;justify-content:flex-start}.has-toggle .csi-navigation-links{display:none}.has-toggle.is-open .csi-navigation-links{display:flex}.csi-navigation-links a{flex:1 0 40%}}
@media(max-width:575.98px){.csi-navigation-inner{width:calc(100% - 32px);gap:16px}.csi-brand img{width:180px}.csi-navigation-links a{flex-basis:100%}.csi-hero-card,.csi-contact-hero{margin-top:20px}}

.csi-home-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.csi-page-title{color:#fff;padding-top:24px;font-size:clamp(28px,4vw,42px)}
.csi-homepage .cp-breadcrumb{padding-top:24px}.csi-homepage .cp-breadcrumb a{color:#b8ddff}
@media(max-width:991.98px){.csi-home-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575.98px){.csi-home-links{grid-template-columns:1fr}}

@media(max-width:991.98px){.csi-hero-card,.csi-contact-hero{padding-top:64px}.csi-stars{position:absolute;top:20px;left:28px;margin:0;font-size:32px}}

.csi-card-image{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px}
.csi-homepage>.content-wrap .cp-subnav{display:flex;flex-wrap:wrap;gap:20px}
.csi-homepage .cp-subnav a{color:#c6ddff}
