:root{
  --brand:#1d4ed8;
  --brand2:#1e40af;
  --ink:#0b1220;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg1:#f7f8fc;
  --bg2:#eef2ff;
  --card:#ffffff;
  --shadow: 0 18px 40px rgba(2,6,23,.10);
  --shadow2: 0 10px 26px rgba(2,6,23,.10);
  --radius:16px;
  --max:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background: radial-gradient(1200px 500px at 20% -10%, #e0e7ff 0%, transparent 60%),
              radial-gradient(900px 420px at 90% 0%, #dbeafe 0%, transparent 55%),
              linear-gradient(180deg, var(--bg1) 0%, #ffffff 35%, var(--bg1) 100%);
}

/* Common */
.container{max-width:var(--max); margin:auto; padding:0 20px;}
.section{padding:72px 0;}
.section-soft{
  background: linear-gradient(180deg, rgba(248,250,252,.9), rgba(238,242,255,.95));
  border-top: 1px solid rgba(229,231,235,.8);
  border-bottom: 1px solid rgba(229,231,235,.8);
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  margin-bottom:26px;
}
.section-head h2{
  margin:0;
  font-size:30px;
  letter-spacing:-.3px;
  position:relative;
  padding-bottom:10px;
}
.section-head h2::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:62px;
  height:3px;
  background: linear-gradient(90deg, var(--brand), #60a5fa);
  border-radius:999px;
}
.section-head p{
  margin:0;
  color:var(--muted);
  max-width:680px;
  line-height:1.7;
  font-weight:600;
}

/* Header */
.header{
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229,231,235,.85);
  position:sticky;
  top:0;
  z-index:100;
}
.nav{
  display:flex;
  justify-content:space-between;
  align-items:stretch;     /* important: nav-ul se întinde */
  padding:14px 0;          /* poți păstra paddingul tău */
}

.menu{
  display:flex;
  align-items:stretch;     /* important: meniul devine la fel de înalt ca .nav */
  gap:18px;                /* înlocuiește margin-left dintre linkuri */
}


.logo img{height:56px; display:block}

.menu a{
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  padding: 8px 0;
}

/* underline animat pentru meniul normal */
.menu a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  background: var(--brand);
  transition: width .25s ease;
}

.menu a:hover::after{
  width:100%;
}


/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  letter-spacing:.2px;
}
.btn.primary{
  background:#ffffff;
  color:var(--brand);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.btn.primary:hover{background:#e0e7ff}
.btn.ghost{
  background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
}
.btn.ghost:hover{background: rgba(255,255,255,.20)}

/* Hero */
.hero{
  background:
    linear-gradient(rgba(11,18,32,.62), rgba(11,18,32,.78)),
    url("hero.jpg") center/cover no-repeat;
  padding: 22px 0 0 0;
}
.hero-inner{padding:92px 0 18px;}
.hero-content{max-width:860px}
.kicker{
  display:inline-block;
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.20);
  color:#e5e7eb;
  font-weight:800;
  padding:8px 12px;
  border-radius:999px;
  letter-spacing:.8px;
  text-transform:uppercase;
  font-size:12px;
}
.hero h1{
  color:#fff;
  font-size:46px;
  line-height:1.08;
  margin:14px 0 12px 0;
  letter-spacing:-.8px;
}
.hero p{
  color:#e5e7eb;
  font-size:18px;
  line-height:1.65;
  margin:0 0 18px 0;
  font-weight:600;
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap}

/* Highlights */
.highlights{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:14px;
  padding-bottom: 22px;
}
.hl{
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 14px 14px;
  display:flex;
  gap:10px;
  align-items:center;
}
.hl-ic{
  width:38px; height:38px;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 38px;
}
.hl-ic svg{width:18px; height:18px; fill: rgba(255,255,255,.92)}
.hl-title{color:#fff; font-weight:900; font-size:14px}
.hl-sub{color:rgba(229,231,235,.85); font-weight:700; font-size:12.5px; margin-top:2px}

/* Services */
.grid{display:grid; gap:20px;}
.services-grid{grid-template-columns: repeat(5, 1fr);}

.card{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow2);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(229,231,235,.75);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(29,78,216,.25);
}
.card img{
  width:100%;
  height:170px;
  object-fit:cover;
  display:block;
}
.card-body{padding:16px 16px 18px}
.card h3{margin:0; color:var(--brand); letter-spacing:-.2px}
.card p{margin:8px 0 0; color:#4b5563; line-height:1.6; font-weight:600}

/* Products */
.product-block{
  margin-top: 30px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(229,231,235,.8);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.product-hero{
  display:grid;
  grid-template-columns: 1.4fr .6fr;
}

.product-hero-text{
  padding: 22px 22px 18px;
}
.tag{
  display:inline-block;
  background: rgba(29,78,216,.10);
  border:1px solid rgba(29,78,216,.18);
  color: var(--brand);
  font-weight:900;
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.7px;
}
.product-hero-text h3{
  margin:12px 0 8px;
  font-size:22px;
  letter-spacing:-.4px;
}
.product-hero-text p{
  margin:0;
  color: #4b5563;
  line-height:1.7;
  font-weight:600;
  max-width: 560px;
}
.product-hero-media{
  background: linear-gradient(180deg, rgba(219,234,254,.7), rgba(224,231,255,.7));
  display:flex;
}
.product-hero-media img{
  width:100%;
  height:260px;
  object-fit:cover;
}


.products-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px 22px 18px;
}
.p-card{
  background:#ffffff;
  border:1px solid rgba(229,231,235,.9);
  border-radius: 14px;
  padding: 12px 12px;
}
.p-title{
  font-weight:1000;
  color: var(--brand);
  margin-bottom:6px;
}
.p-desc{
  color:#374151;
  font-weight:650;
  font-size:13px;
  line-height:1.55;
}
.note{
  margin:0;
  padding: 0 22px 18px;
  color: var(--muted);
  font-weight:650;
  font-size:12.5px;
}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.g-item{
  margin:0;
  background:#fff;
  border:1px solid rgba(229,231,235,.85);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: var(--shadow2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.g-item:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.g-item img{
  width:100%;
  height: 220px;
  object-fit:cover;
  display:block;
}
.g-item figcaption{
  padding: 12px 12px;
  color:#374151;
  font-weight:800;
}

/* About */
.about-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(229,231,235,.85);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px 22px;
}
.about-card p{
  margin: 0 0 12px 0;
  line-height: 1.85;
  color:#374151;
  font-weight:650;
}
.about-card p:last-child{margin-bottom:0}

/* Contact */
.contact-section{
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand2) 100%);
  color:#ffffff;
}
.contact-header{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-end;
  flex-wrap:wrap;
}
.contact-section h2{color:#fff; margin:0;}
.contact-lead{margin:0; color: rgba(255,255,255,.85); font-weight:700}

.contact-panel{margin-top:22px;}
.contact-grid-one{
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 22px;
}
.contact-row{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.label{
  font-size: 12px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 3px;
  font-weight:900;
}
.icon{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.14);
  flex: 0 0 36px;
  margin-top: 1px;
}
.icon svg{width: 18px; height: 18px; fill: rgba(255,255,255,0.92);}
.contact-grid-one a{
  color:#fff;
  text-decoration: underline;
  font-weight: 900;
}
.call-btn{
  margin-left:auto;
  background:#ffffff;
  color:var(--brand) !important;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 1000;
  text-decoration: none !important;
  white-space: nowrap;
}
.call-btn:hover{background:#e0e7ff}

.contact-two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 6px;
}
.contact-two .contact-row{
  border-bottom: 0;
  padding: 10px 0 0 0;
}

.social{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.social-label{color: rgba(255,255,255,0.85); font-weight: 900; margin-right: 6px;}
.social-btn{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  text-decoration:none !important;
  color:#ffffff !important;
  font-weight: 1000;
}
.social-btn:hover{background: rgba(255,255,255,0.18);}
.social-ic{width: 18px; height: 18px; display:inline-flex;}
.social-ic svg{width: 18px; height: 18px; fill: rgba(255,255,255,0.92);}

/* Footer */
.footer{
  background: #0b1220;
  color:#cbd5e1;
  padding: 22px 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.footer-brand{font-weight:1000; letter-spacing:.3px;}
.footer-sub{color:#94a3b8; font-weight:700}

/* Responsive */
@media(max-width:1200px){
  .services-grid{grid-template-columns: repeat(3, 1fr);}
  .highlights{grid-template-columns: repeat(3, 1fr);}
  .gallery{grid-template-columns: repeat(3, 1fr);}
  .products-grid{grid-template-columns: repeat(3, 1fr);}
}
@media(max-width:900px){
  .hero h1{font-size:38px;}
  .product-hero{grid-template-columns: 1fr;}
  .product-hero-media img{height: 260px;}
  .contact-two{grid-template-columns: 1fr;}
  .call-btn{margin-left:0; margin-top:10px;}
  .contact-row{flex-wrap:wrap;}
}
@media(max-width:768px){
  .services-grid{grid-template-columns: repeat(2, 1fr);}
  .highlights{grid-template-columns: repeat(2, 1fr);}
  .gallery{grid-template-columns: repeat(2, 1fr);}
  .products-grid{grid-template-columns: repeat(2, 1fr);}
}
@media(max-width:480px){
  .services-grid{grid-template-columns: 1fr;}
  .highlights{grid-template-columns: 1fr;}
  .gallery{grid-template-columns: 1fr;}
  .products-grid{grid-template-columns: 1fr;}
  .hero h1{font-size:32px;}
}



/* De ce noi */
.why-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(229,231,235,.85);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.why-card h3{
  margin:0 0 8px 0;
  color: var(--brand);
  letter-spacing:-.3px;
}

.why-card p{
  margin:0;
  color:#374151;
  line-height:1.7;
  font-weight:650;
}

@media(max-width:900px){
  .why-grid{ grid-template-columns: 1fr; }
}


/* Formular ofertă (Contact) */
.quote{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.quote h3{
  margin: 0 0 6px 0;
  font-size: 18px;
  letter-spacing: -.2px;
}

.quote-sub{
  margin: 0 0 14px 0;
  color: rgba(255,255,255,0.82);
  font-weight: 700;
  line-height: 1.6;
}

.quote-form{
  display: grid;
  gap: 12px;
}

.q-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quote-form label span{
  display:block;
  margin-bottom:6px;
  color: rgba(255,255,255,0.78);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-size: 12px;
}

.quote-form input,
.quote-form select,
.quote-form textarea{
  width:100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color: #ffffff;
  padding: 12px 12px;
  outline: none;
  font-weight: 700;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder{
  color: rgba(255,255,255,0.65);
}

.quote-form select option{
  color: #111827;
}

.quote-btn{
  width: fit-content;
}

.quote-note{
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  font-weight: 650;
  line-height: 1.6;
}

@media(max-width:900px){
  .q-grid{ grid-template-columns: 1fr; }
}




/* CTA meniu – fundal curat, lungime corectă */
.menu-cta{
  margin-left: 18px;

  display: inline-flex;
  align-items: center;

  padding: 20px 40px;     /* controlează exact lungimea fundalului */
  border-radius: 10px;

  background: var(--brand);
  color: #ffffff !important;

  font-weight: 900;
  letter-spacing: .3px;
  text-decoration: none;

  line-height: 1;
}

/* fără underline la CTA */
.menu-cta::after{
  display: none;
}

/* hover: schimbă doar culoarea textului */
.menu-cta:hover{
  color: #bfdbfe !important;
}

