:root{
  --background:#f5f7fa;
  --foreground:#1d2a3a;
  --card:#ffffff;
  --muted:#eef2f7;
  --muted-foreground:#607187;
  --border:#dbe3ee;
  --primary:#104e9b;
  --primary-2:#2c6ad6;
  --primary-dark:#0b3d79;
  --shadow-card:0 4px 20px -4px rgba(16,78,155,.12);
  --shadow-card-hover:0 12px 40px -8px rgba(16,78,155,.22);
  --radius:14px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  background:var(--background);
  color:var(--foreground);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 18px}
.section{padding:64px 0}
@media (min-width:768px){.section{padding:96px 0}}
#services.section{padding:40px 0}
#contact.section{padding:40px 0 56px}
@media (min-width:768px){#contact.section{padding:56px 0 72px}}

/* Topbar */
.topbar{display:none;background:var(--primary);color:#fff;font-size:14px}
.topbar .row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0}
.topbar .left{display:flex;gap:18px;flex-wrap:wrap}
.topbar a{display:inline-flex;align-items:center;gap:8px;opacity:.95}
.topbar .icon{width:14px;height:14px;flex:0 0 auto}
.topbar a:hover{opacity:1}
@media (min-width:768px){.topbar{display:block}}

/* Header */
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid rgba(219,227,238,.5);transition:all .25s ease}
.header.scrolled{background:#fff;box-shadow:var(--shadow-card)}
.header .row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:12px}
.brand{display:inline-flex;align-items:center;gap:8px;font-weight:800;letter-spacing:.2px;margin-left:-24px}
@media (min-width:1024px){
  .brand{margin-left:-50px}
}
.header .row{min-height:72px}
.brandLogo{
  height:90%;
  max-height:60px;
  width:auto;
  display:block;
  object-fit:contain;
  transform:scale(4);
  transform-origin:left center;
}
@media (max-width:1023px){
  .header .row{min-height:64px}
  .brandLogo{
    max-height:52px;
    transform:scale(3.4);
  }
}
@media (max-width:639px){
  .header .row{min-height:58px}
  .brandLogo{
    max-height:44px;
    transform:scale(2.8);
  }
}
.footerBrand{margin-left:0}
.footerLogo{
  max-height:60px;
  width:auto;
  display:block;
  object-fit:contain;
}
@media (max-width:1023px){
  .footerLogo{
    max-height:52px;
  }
}
@media (max-width:639px){
  .footerLogo{
    max-height:44px;
  }
}
.nav{display:none;align-items:center;gap:26px}
.nav a{font-weight:600;color:rgba(29,42,58,.9);position:relative;padding:6px 0}
.nav a::after{content:"";position:absolute;left:0;bottom:-6px;height:2px;width:0;background:var(--primary);transition:width .22s ease}
.nav a:hover{color:var(--primary)}
.nav a:hover::after{width:100%}
.actions{display:none;align-items:center;gap:12px}
@media (min-width:1024px){.nav{display:flex}.actions{display:flex}}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:12px;padding:12px 16px;font-weight:700;cursor:pointer;transition:transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease}
.btn:active{transform:translateY(1px)}
.btn.primary{background:var(--primary);color:#fff;box-shadow:0 6px 18px -8px rgba(16,78,155,.6)}
.btn.primary:hover{background:var(--primary-dark)}
.btn.outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}
.btn.outline:hover{background:rgba(255,255,255,.12)}
.btn.dark{background:var(--foreground);color:#fff}
.btn.dark:hover{filter:brightness(1.05)}

.menuBtn{display:inline-flex;border:0;background:transparent;padding:10px;border-radius:12px;cursor:pointer}
.menuBtn:hover{background:rgba(16,78,155,.08)}
@media (min-width:1024px){.menuBtn{display:none}}

.mobileMenu{display:none;border-top:1px solid var(--border);background:#fff}
.mobileMenu.open{display:block}
.mobileMenu .col{display:flex;flex-direction:column;gap:10px;padding:14px 0}
.mobileMenu a{font-weight:700;padding:10px 0;color:rgba(29,42,58,.92)}
.mobileMenu a:hover{color:var(--primary)}

/* Hero */
.hero{position:relative;height:90vh;min-height:600px;overflow:hidden}
.slide{position:absolute;inset:0;opacity:0;transform:scale(1.05);transition:opacity .7s ease, transform .7s ease;z-index:0;pointer-events:none}
.slide.active{opacity:1;transform:scale(1);z-index:2;pointer-events:auto}
.slide .bg{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0}
.slide .overlay{position:absolute;inset:0;background:linear-gradient(90deg, rgba(11,61,121,.92) 0%, rgba(16,78,155,.72) 45%, rgba(16,78,155,0) 100%);z-index:1}
.hero .content{position:relative;height:100%;display:flex;align-items:center;z-index:2}
.hero .max{max-width:720px}
.hero h1{margin:0 0 14px;font-size:40px;line-height:1.08;color:#fff}
.hero p{margin:0 0 22px;font-size:18px;line-height:1.55;color:rgba(255,255,255,.88)}
@media (min-width:768px){.hero h1{font-size:54px}.hero p{font-size:20px}}

.heroNav{position:absolute;top:50%;transform:translateY(-50%);border:0;background:rgba(255,255,255,.16);color:#fff;width:46px;height:46px;border-radius:999px;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(6px);transition:background .2s ease;z-index:6}
.heroNav:hover{background:rgba(255,255,255,.28)}
.heroNav.prev{left:16px}
.heroNav.next{right:16px}

.dots{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);display:flex;gap:10px;z-index:6}
.dot{width:10px;height:10px;border-radius:999px;border:0;background:rgba(255,255,255,.5);cursor:pointer;transition:all .2s ease}
.dot:hover{background:rgba(255,255,255,.75)}
.dot.active{width:28px;background:#fff}

/* Section headings */
.kicker{color:var(--primary);font-weight:800;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.h2{margin:10px 0 14px;font-size:34px;line-height:1.15}
.pLead{margin:0;color:var(--muted-foreground);font-size:18px;line-height:1.65}
.center{text-align:center}

/* Cards & grids */
.grid{display:grid;gap:18px}
.grid.cols-4{grid-template-columns:1fr}
.grid.cols-2{grid-template-columns:1fr}
@media (min-width:768px){.grid.cols-2{grid-template-columns:repeat(2,1fr)}.grid.cols-4{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.grid.cols-4{grid-template-columns:repeat(4,1fr)}}
.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow-card);padding:22px;border:1px solid rgba(219,227,238,.7);transition:transform .25s ease, box-shadow .25s ease}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-card-hover)}
.iconBox{width:58px;height:58px;border-radius:14px;background:rgba(16,78,155,.10);display:grid;place-items:center;margin-bottom:14px}
.iconBox svg{width:28px;height:28px;fill:none;stroke:var(--primary);stroke-width:2}
.card:hover .iconBox{background:var(--primary)}
.card:hover .iconBox svg{stroke:#fff}
.card h3{margin:0 0 10px;font-size:18px}
.card p{margin:0 0 14px;color:var(--muted-foreground);line-height:1.6}
.bullets{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.bullets li{display:flex;gap:10px;align-items:flex-start;font-size:14px}
.bullets i{width:7px;height:7px;border-radius:999px;background:var(--primary);display:inline-block;margin-top:7px;flex:0 0 auto}

/* About split */
.split{display:grid;gap:22px;align-items:center}
@media (min-width:1024px){.split{grid-template-columns:1.15fr .85fr;gap:28px}}
.features{display:grid;gap:10px}
@media (min-width:640px){.features{grid-template-columns:repeat(2,1fr)}}
.feature{display:flex;gap:10px;align-items:flex-start}
.feature svg{width:20px;height:20px;stroke:var(--primary);stroke-width:2;fill:none;margin-top:2px;flex:0 0 auto}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.stat{background:var(--card);border-radius:var(--radius);padding:18px;text-align:center;border:1px solid rgba(219,227,238,.7);box-shadow:var(--shadow-card)}
.stat .bubble{width:50px;height:50px;border-radius:999px;background:rgba(16,78,155,.10);display:grid;place-items:center;margin:0 auto 10px}
.stat .bubble svg{width:22px;height:22px;stroke:var(--primary);stroke-width:2;fill:none}
.stat .val{font-size:28px;font-weight:900;color:var(--primary);margin-bottom:4px}
.stat .lab{color:var(--muted-foreground);font-weight:700;font-size:14px}

/* Projects */
.filters{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:22px 0 30px}
.chip{border:1px solid rgba(219,227,238,.9);background:#fff;color:var(--muted-foreground);padding:10px 14px;border-radius:999px;font-weight:800;cursor:pointer;transition:all .2s ease}
.chip:hover{background:rgba(16,78,155,.08);color:var(--primary)}
.chip.active{background:var(--primary);color:#fff;border-color:transparent}
.project{position:relative;overflow:hidden;border-radius:var(--radius);background:#fff;border:1px solid rgba(219,227,238,.7);box-shadow:var(--shadow-card)}
.project .img{aspect-ratio:4/3;overflow:hidden}
.project img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.project:hover img{transform:scale(1.1)}
.project .over{position:absolute;inset:0;background:linear-gradient(0deg, rgba(11,61,121,.92) 0%, rgba(16,78,155,.35) 60%, rgba(16,78,155,0) 100%);opacity:0;transition:opacity .25s ease}
.project:hover .over{opacity:1}
.project .content{position:absolute;left:0;right:0;bottom:0;padding:18px;transform:translateY(10px);transition:transform .25s ease}
.project:hover .content{transform:translateY(0)}
.project .cat{display:none;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.8);font-weight:900;margin-bottom:8px}
.project .t{display:none;color:#fff;font-weight:900;font-size:18px;margin-bottom:6px}
.project .d{display:none;color:rgba(255,255,255,.82);font-size:13px;line-height:1.55}
.project:hover .cat,.project:hover .t,.project:hover .d{display:block}
.project .bar{position:absolute;left:0;right:0;bottom:0;padding:14px;background:#fff;transition:opacity .25s ease}
.project:hover .bar{opacity:0}
.project .bar .t2{font-weight:900}
.project .bar .c2{color:var(--muted-foreground);font-size:13px;font-weight:700}
.projectsGrid{grid-template-columns:1fr}
@media (min-width:640px){.projectsGrid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.projectsGrid{grid-template-columns:repeat(4,1fr)}}
.projectsGrid .project{cursor:pointer}
.projectsGrid .project .img img{cursor:pointer}

/* CTA */
.cta{position:relative;overflow:hidden;border-radius:18px}
.cta::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-2));z-index:0;pointer-events:none}
.cta::after{content:"";position:absolute;inset:0;opacity:.08;background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");z-index:0;pointer-events:none}
.cta .inner{position:relative;padding:56px 18px;text-align:center;color:#fff}
.cta h2{margin:0 0 12px;font-size:34px}
.cta p{margin:0 auto 22px;max-width:820px;color:rgba(255,255,255,.9);font-size:18px;line-height:1.65}
.cta .btnRow{display:flex;flex-direction:column;gap:12px;justify-content:center;align-items:center}
@media (min-width:640px){.cta .btnRow{flex-direction:row}}

/* Footer */
.footer{background:var(--foreground);color:#fff}
.footer .grid{gap:18px}
.footerMain{grid-template-columns:1fr;gap:18px}
@media (min-width:768px){.footerMain{grid-template-columns:1.15fr 1fr}}
.footer .muted{color:rgba(255,255,255,.72)}
.footer h3{margin:0 0 14px;font-size:16px}
.footer ul{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.footer li a{color:rgba(255,255,255,.72)}
.footer li a:hover{color:#fff}
.footer .line{border-top:1px solid rgba(255,255,255,.10)}
.footerBottom{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:space-between;padding:10px 0;color:rgba(255,255,255,.6);font-size:13px}
@media (min-width:768px){.footerBottom{flex-direction:row}}

/* Contact form */
.form{display:grid;gap:10px}
.input, .textarea{width:100%;padding:12px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#fff;outline:none}
.input::placeholder, .textarea::placeholder{color:rgba(255,255,255,.6)}
.textarea{min-height:110px;resize:vertical}
.alert{max-width:560px;margin:14px auto 0;padding:12px 14px;border-radius:12px;font-weight:800;border:1px solid transparent}
.alert.success{background:#e7f6ed;border-color:#c7e5d2;color:#0b5c2d}
.alert.error{background:#fdecea;border-color:#f5c6c1;color:#a1281e}
.hiddenField{display:none}

/* WhatsApp */
.whatsapp{position:fixed;right:18px;bottom:18px;z-index:60}
.whatsapp a{display:inline-flex;align-items:center;gap:10px;background:#25D366;color:#fff;padding:12px 14px;border-radius:999px;font-weight:900;box-shadow:0 10px 22px -12px rgba(0,0,0,.45)}
.whatsapp a:hover{filter:brightness(1.05)}
.whatsapp svg{width:20px;height:20px;fill:#fff}

.lightbox{position:fixed;inset:0;display:none;align-items:center;justify-content:center;z-index:70}
.lightbox.open{display:flex}
.lightbox-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.7);backdrop-filter:blur(2px)}
.lightbox-content{position:relative;width:min(90vw,1100px);height:min(90vh,780px);background:transparent;border-radius:14px;overflow:hidden;box-shadow:0 20px 50px -20px rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center}
.lightbox img{display:block;width:100%;height:100%;object-fit:contain;background:transparent}
.lightbox-close{position:absolute;top:8px;right:8px;border:0;background:rgba(0,0,0,.6);color:#fff;font-size:22px;width:32px;height:32px;border-radius:999px;cursor:pointer}
.lightbox-close:hover{background:rgba(0,0,0,.8)}
.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);border:0;background:rgba(0,0,0,.5);color:#fff;font-size:26px;width:38px;height:48px;border-radius:12px;cursor:pointer;display:grid;place-items:center}
.lightbox-nav:hover{background:rgba(0,0,0,.65)}
.lightbox-nav.prev{left:10px}
.lightbox-nav.next{right:10px}

/* Simple reveal */
.reveal{opacity:0;transform:translateY(10px);transition:all .55s ease}
.reveal.show{opacity:1;transform:translateY(0)}
/* CTA mai compact */
.cta .inner{
  padding:36px 18px;
}
/* Footer mai mic si aerisit */
.footer .container.section{
  padding:32px 0;
}

.footer p{
  line-height:1.5;
}
