:root {
  --primary: #3b475e;   /* gri-albastru rafinat */
  --accent: #c8a13b;    /* auriu subtil */
  --dark: #1b1f27;
  --gray: #60646c;
  --light: #f6f7f9;
  --white: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.8;
}
.container { width: min(1180px, 90%); margin: auto; }

/* HEADER */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.logo {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: .5px;
}
nav a {
  text-decoration: none;
  color: var(--dark);
  margin-left: 25px;
  font-weight: 500;
  transition: color .2s;
}
nav a:hover, nav a.active {
  color: var(--accent);
}

/* HERO */
.hero {
  position: relative;
  height: 88vh;
  background: url('first.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,31,39,0.75);
  backdrop-filter: blur(2px);
}
.hero-content {
  position: relative;
  max-width: 800px;
  text-align: center;
  z-index: 2;
  padding: 0 20px;
}
.hero-content h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
  color: var(--accent);
}
.hero-content p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: #f2f2f2;
}
.btn {
  background: var(--accent);
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.btn:hover {
  background: #b38d2f;
}

/* ABOUT */
.about {
  padding: 90px 0;
}
.about h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--primary);
}
.about p {
  margin-bottom: 15px;
  color: var(--gray);
}

/* CAPABILITIES */
.capabilities {
  background: var(--white);
  padding: 90px 0;
}
.capabilities h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--primary);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.card {
  background: var(--light);
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #e0e3e9;
  transition: transform .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.card h3 {
  color: var(--accent);
  margin-bottom: 10px;
}
.card p {
  color: var(--gray);
}

/* WORKFLOW */
.workflow {
  padding: 90px 0;
}
.workflow h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 40px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.step {
  background: #fff;
  padding: 25px;
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}
.step span {
  background: var(--accent);
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  margin-bottom: 10px;
}
.step h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* WHY */
.why {
  background: linear-gradient(135deg, var(--primary), #2c3448);
  color: #fff;
  padding: 90px 0;
  text-align: center;
}
.why h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--accent);
}
.why ul {
  list-style: none;
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: left;
}
.why li {
  margin: 10px 0;
  padding-left: 25px;
  position: relative;
}
.why li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.btn-alt {
  background: var(--white);
  color: var(--primary);
}
.btn-alt:hover {
  background: #e5e7eb;
}

/* FOOTER */
.footer {
  background: var(--dark);
  color: #cfd8e5;
  padding-top: 60px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer h3, .footer h4 {
  color: #fff;
  margin-bottom: 12px;
}
.footer a {
  color: #f7d97f;
  text-decoration: none;
}
.footer a:hover { text-decoration: underline; }
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 15px;
  font-size: 0.9rem;
  color: #aebcd2;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { height: 70vh; }
  nav a { margin-left: 15px; font-size: 0.95rem; }
}
/* === NEW FOOTER DESIGN === */
.new-footer {
  background: #10131a;
  color: #d6d9e0;
  padding-top: 70px;
  font-size: 0.95rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
}
.footer-brand h2 {
  color: var(--accent);
  margin-bottom: 10px;
  font-size: 1.4rem;
}
.footer-brand p {
  color: #b8bcc7;
  line-height: 1.7;
}
.footer-links h4,
.footer-contact h4 {
  color: #f5f7fa;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #d4d8e2;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-contact p {
  margin-bottom: 8px;
}
.footer-contact a {
  color: #e7cf80;
  text-decoration: none;
}
.footer-contact a:hover {
  text-decoration: underline;
}

/* divider */
.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 10px;
}

/* bottom section */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0 35px;
  flex-wrap: wrap;
}
.footer-bottom p {
  color: #aab2c0;
}
.footer-socials a img {
  width: 22px;
  height: 22px;
  filter: invert(85%);
  opacity: 0.7;
  margin-left: 15px;
  transition: opacity 0.2s ease;
}
.footer-socials a:hover img {
  opacity: 1;
}

/* Responsive footer */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .footer-socials a img {
    margin: 0 10px;
  }
}
/* === FIX: static label for select === */
.static-select label {
  position: static;
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 600;
}

.static-select select {
  background: #f9fafc;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  color: #111;
  transition: all 0.2s ease;
  width: 100%;
}

.static-select select:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(200,161,59,0.2);
  outline: none;
}
/* === FIX: Select label separate === */
.select-fix {
  margin-bottom: 22px;
  position: relative;
}

.select-fix label {
  display: block;
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  pointer-events: auto;
}

.select-fix select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #f9fafc;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  width: 100%;
  color: #111;
  background-image: linear-gradient(to bottom, #f9fafc, #f0f1f5);
  background-repeat: no-repeat;
  transition: all 0.2s ease;
}

.select-fix select:focus {
  border-color: var(--accent);
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(200,161,59,0.2);
  outline: none;
}
.select-fix select {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23999" height="20" viewBox="0 0 24 24" width="20"><path d="M7 10l5 5 5-5z"/></svg>');
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 18px;
}