
:root{
    --accent-color: #5bb8fe;
    --accent-color-2: #ffffff;
    --accent-color-3: #111827;
    --accent-color-4: #050b16;
    --accent-color-5: rgba(4, 11, 22, 0.55);
    --accent-color-6: rgba(91, 184, 254, 0.35);
    --primary: #d7e3f4;
    --secondary: #030712;
    --text-color: #9fb3c8;
    --text-color-2: #ffffff;
    --star-color: #f8c14c;
    --nexus-purple: #c088c6;
    --nexus-gradient: linear-gradient(135deg, #5bb8fe 0%, #c088c6 100%);
    --nexus-surface: rgba(255,255,255,0.05);
    --nexus-surface-2: rgba(255,255,255,0.08);
    --nexus-border: rgba(255,255,255,0.1);
}

body.lightmode{
    --primary: #142033;
    --secondary: #f8fbff;
    --text-color: #5b6778;
    --text-color-2: #142033;
    --accent-color-3: #d9e5f4;
    --accent-color-4: #ffffff;
    --accent-color-5: rgba(255,255,255,0.72);
    --accent-color-6: rgba(91,184,254,0.12);
    --nexus-surface: rgba(255,255,255,0.96);
    --nexus-surface-2: rgba(91,184,254,0.08);
    --nexus-border: rgba(20,32,51,0.08);
}

.navbar-brand img.site-logo{
    width: auto;
    max-height: 74px;
}

.nexus-page-banner{
    padding: 130px 30px 40px;
}
.nexus-page-banner .banner-layout,
.nexus-page-banner .banner-layout-wrapper{
    min-height: auto;
}
.nexus-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:.6rem;
    padding:.45rem .9rem;
    border:1px solid var(--nexus-border);
    border-radius:999px;
    font-size:.9rem;
    color:var(--accent-color);
    background:var(--nexus-surface);
    margin-bottom:1rem;
    font-weight:600;
}
.nexus-hero{
    padding: 42px 30px 0;
}
.nexus-hero-wrap{
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 36px;
    padding: 48px;
    overflow: hidden;
    position: relative;
    background:
      radial-gradient(circle at top right, rgba(192,136,198,.20), transparent 35%),
      radial-gradient(circle at bottom left, rgba(91,184,254,.24), transparent 32%),
      linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    border:1px solid var(--nexus-border);
}
.nexus-hero-wrap::after{
    content:"";
    position:absolute;
    inset:auto -10% -35% auto;
    width:360px;
    height:360px;
    background: radial-gradient(circle, rgba(192,136,198,.22), transparent 70%);
    pointer-events:none;
}
.nexus-hero-title{
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    line-height: 1.05;
    color: var(--accent-color-2);
    margin-bottom: 1rem;
}
.nexus-hero-subtitle{
    max-width: 620px;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1.6rem;
}
.nexus-hero-image{
    border-radius: 28px;
    overflow: hidden;
    border:1px solid var(--nexus-border);
    box-shadow: 0 20px 60px rgba(0,0,0,.22);
}
.nexus-hero-image img,
.nexus-image-card img,
.nexus-portfolio-card img,
.nexus-service-media img,
.nexus-about-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.nexus-stat-grid{
    display:grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
    margin-top: 2rem;
}
.nexus-stat{
    border:1px solid var(--nexus-border);
    background: var(--nexus-surface);
    padding:18px 20px;
    border-radius:22px;
}
.nexus-stat strong{
    display:block;
    color:var(--accent-color-2);
    font-size:1.2rem;
    margin-bottom:.3rem;
}
.nexus-section-intro{
    max-width:760px;
    margin:0 auto 2.5rem;
    text-align:center;
}
.nexus-grid{
    display:grid;
    gap: 24px;
}
.nexus-grid-3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.nexus-grid-2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nexus-card,
.nexus-quote-card,
.nexus-contact-card,
.nexus-process-card,
.nexus-highlight-box,
.nexus-service-detail,
.nexus-portfolio-card{
    background: radial-gradient(circle at top left, var(--nexus-surface-2), var(--accent-color-4) 70%);
    border:1px solid var(--nexus-border);
    border-radius: 28px;
    overflow:hidden;
    height:100%;
}
.nexus-card-content,
.nexus-quote-content,
.nexus-contact-card,
.nexus-process-card,
.nexus-highlight-box,
.nexus-service-copy,
.nexus-portfolio-copy{
    padding: 28px;
}
.nexus-card h4,
.nexus-quote-card h4,
.nexus-contact-card h4,
.nexus-service-detail h3,
.nexus-highlight-box h4,
.nexus-portfolio-copy h4{
    color:var(--accent-color-2);
    margin-bottom:.8rem;
}
.nexus-card p,
.nexus-quote-card p,
.nexus-contact-card p,
.nexus-service-copy p,
.nexus-portfolio-copy p,
.nexus-highlight-box p{
    margin-bottom:0;
}
.nexus-service-icon{
    width:54px;
    height:54px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: var(--nexus-gradient);
    color:#fff;
    font-size:1.2rem;
    margin-bottom:1rem;
}
.nexus-checklist{
    list-style:none;
    padding:0;
    margin: 1.1rem 0 0;
}
.nexus-checklist li{
    display:flex;
    gap:.8rem;
    align-items:flex-start;
    margin-bottom:.8rem;
    color:var(--primary);
}
.nexus-checklist i{
    color:var(--accent-color);
    margin-top:.15rem;
}
.nexus-image-card{
    border-radius: 28px;
    overflow:hidden;
    min-height: 100%;
    border:1px solid var(--nexus-border);
}
.nexus-service-stack{
    display:flex;
    flex-direction:column;
    gap:28px;
}
.nexus-service-detail{
    display:grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}
.nexus-service-detail.reverse{
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.nexus-service-media{
    min-height: 100%;
}
.nexus-service-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.nexus-service-kicker{
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: .8rem;
}
.nexus-band{
    max-width:1280px;
    margin:0 auto;
    border-radius:30px;
    padding:38px;
    background: var(--nexus-gradient);
    color:#fff;
    position:relative;
    overflow:hidden;
}
.nexus-band::after{
    content:"";
    position:absolute;
    right:-50px;
    top:-50px;
    width:220px;
    height:220px;
    background:rgba(255,255,255,.16);
    border-radius:50%;
}
.nexus-band p,
.nexus-band h2{
    color:#fff;
    position:relative;
    z-index:1;
}
.nexus-note{
    border-left: 4px solid var(--accent-color);
    padding: 16px 18px;
    background: var(--nexus-surface);
    border-radius: 16px;
    color: var(--primary);
}
.nexus-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top: 1rem;
}
.nexus-meta span{
    padding:.45rem .85rem;
    border-radius:999px;
    background: var(--nexus-surface);
    border:1px solid var(--nexus-border);
    color: var(--primary);
    font-size: .9rem;
}
.nexus-portfolio-card img{
    height:250px;
}
.nexus-about-layout{
    display:grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap:28px;
    align-items:center;
}
.nexus-about-photo{
    border-radius: 30px;
    overflow:hidden;
    border:1px solid var(--nexus-border);
    min-height: 100%;
}
.nexus-process-grid{
    display:grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap:20px;
}
.nexus-process-card .step{
    display:inline-flex;
    width:42px;
    height:42px;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background: var(--nexus-gradient);
    color:#fff;
    font-weight:700;
    margin-bottom:1rem;
}
.nexus-contact-grid{
    display:grid;
    grid-template-columns: 380px minmax(0,1fr);
    gap:28px;
}
.nexus-contact-card ul{
    list-style:none;
    padding:0;
    margin:0;
}
.nexus-contact-card li{
    margin-bottom:1rem;
    color:var(--primary);
}
.nexus-contact-card li strong{
    display:block;
    color:var(--accent-color-2);
    margin-bottom:.2rem;
}
.nexus-form-note{
    margin-top:1rem;
    font-size:.9rem;
}
.whatsapp-float{
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#25D366;
    color:#fff;
    box-shadow:0 12px 30px rgba(37,211,102,.35);
    font-size:1.5rem;
}
.whatsapp-float:hover{
    color:#fff;
    transform: translateY(-2px);
}
.nexus-legal{
    padding: 80px 30px 20px;
}
.nexus-legal-card{
    max-width: 980px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 30px;
    background: radial-gradient(circle at top left, var(--nexus-surface-2), var(--accent-color-4) 70%);
    border:1px solid var(--nexus-border);
}
.nexus-legal-card h1,
.nexus-legal-card h2,
.nexus-legal-card h3{
    color:var(--accent-color-2);
}
.nexus-legal-card p,
.nexus-legal-card li{
    color:var(--primary);
}
.nexus-legal-card ul{
    padding-left:1.1rem;
}
@media (max-width: 1199px){
    .nexus-grid-3,
    .nexus-process-grid,
    .nexus-contact-grid,
    .nexus-about-layout,
    .nexus-service-detail,
    .nexus-service-detail.reverse{
        grid-template-columns: 1fr;
    }
    .nexus-hero-wrap{
        padding:32px;
    }
}
@media (max-width: 767px){
    .section{
        padding: 84px 20px;
    }
    .nexus-hero,
    .nexus-page-banner,
    .section-footer{
        padding-left:20px;
        padding-right:20px;
    }
    .nexus-hero-wrap{
        padding:24px;
        border-radius:24px;
    }
    .nexus-stat-grid,
    .nexus-grid-2,
    .nexus-grid-3{
        grid-template-columns: 1fr;
    }
    .nexus-band{
        padding:28px 24px;
    }
    .whatsapp-float{
        bottom:18px;
        right:18px;
    }
}


.language-switch{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-width:56px;
    height:48px;
    padding:0 14px;
    border-radius:999px;
    border:1px solid var(--nexus-border);
    background:rgba(255,255,255,0.08);
    color:var(--white);
    text-decoration:none;
    font-weight:600;
    transition:all .25s ease;
}
.language-switch:hover{
    transform:translateY(-1px);
    color:var(--white);
    border-color:rgba(255,255,255,0.35);
}
body.lightmode .language-switch{
    background:rgba(0,0,0,0.04);
    color:var(--title-color);
}
@media (max-width: 767px){
    .language-switch{
        min-width:48px;
        height:44px;
        padding:0 12px;
    }
}

@media (max-width: 991.98px){
    .navbar-container{
        display:grid;
        grid-template-columns:minmax(0,1fr) auto auto;
        align-items:center;
        column-gap:10px;
    }
    .logo-container{
        min-width:0;
    }
    .navbar-brand img.site-logo{
        max-height:56px;
        width:auto;
    }
    .navbar-action-container{
        width:auto;
        justify-content:flex-end;
        gap:10px;
        flex-shrink:0;
    }
    .navbar-action-button{
        padding:0;
    }
    .navbar-action-container .btn{
        display:none !important;
    }
    .nav-btn{
        display:inline-flex;
        align-items:center;
        justify-content:center;
        width:44px;
        height:44px;
        padding:0;
        order:0;
        flex-shrink:0;
    }
    .language-switch{
        min-width:48px;
        height:44px;
        padding:0 10px;
        gap:6px;
        font-size:14px;
    }
    .themeswitch{
        width:44px;
        height:44px;
    }
}

@media (max-width: 420px){
    .navbar-container{
        column-gap:8px;
    }
    .navbar-brand img.site-logo{
        max-height:50px;
    }
    .language-switch{
        min-width:40px;
        padding:0 9px;
    }
    .language-switch span{
        display:none;
    }
    .themeswitch,
    .nav-btn{
        width:40px;
        height:40px;
    }
}
