/* ============================================================
   MBF-Network — Design Modern 2026
   ============================================================ */
/* TABLE OF CONTENTS
   1.  Variables & Reset
   2.  Typography
   3.  Layout
   4.  Buttons
   5.  Header & Nav
   6.  Hero (homepage)
   7.  Services (homepage)
   8.  About / CRM (homepage)
   9.  Outsourcing (homepage)
   10. Contact (homepage)
   11. Footer
   12. Error Toast
   13. Modal reCAPTCHA
   14. Cookie Button
   15. Responsive
   16. Inner Pages (pagini interioare)
*/

/* === 1. VARIABILE & RESET ================================= */
:root {
  --primary:        #1d4ed8;
  --primary-dark:   #1e3a8a;
  --primary-light:  #dbeafe;
  --accent:         #06b6d4;
  --dark:           #0f172a;
  --text:           #334155;
  --muted:          #64748b;
  --bg:             #ffffff;
  --bg-alt:         #f8fafc;
  --border:         #e2e8f0;
  --success:        #10b981;
  --error:          #ef4444;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --sh-sm:  0 1px 2px rgb(0 0 0 / .06);
  --sh:     0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --sh-lg:  0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --sh-xl:  0 20px 25px -5px rgb(0 0 0 / .12), 0 8px 10px -6px rgb(0 0 0 / .1);

  --r-sm:  .375rem;
  --r:     .5rem;
  --r-lg:  .75rem;
  --r-xl:  1rem;
  --r-2xl: 1.5rem;

  --ease:      .2s ease;
  --ease-slow: .35s ease;

  --max-w: 1280px;
  --px:    clamp(1rem, 4vw, 2rem);
  --hh:    72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

/* === 2. TIPOGRAFIE ======================================== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem);   letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: 1rem; }
p  { max-width: 68ch; }

/* === 3. LAYOUT ============================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header p {
  max-width: 56ch;
  margin-inline: auto;
  margin-top: .75rem;
  color: var(--muted);
  font-size: 1.0625rem;
}
.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .875rem;
  border-radius: 999px;
  margin-bottom: .875rem;
}

/* === 4. BUTOANE =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8125rem 1.875rem;
  border-radius: var(--r-lg);
  font-size: .9375rem;
  font-weight: 600;
  transition: all var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgb(29 78 216 / .35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(29 78 216 / .4);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline-dark {
  border: 2px solid var(--border);
  color: var(--text);
}
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: .5625rem 1.25rem; font-size: .875rem; }

/* === 5. HEADER ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--hh);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: -1;
}
.site-header.scrolled { box-shadow: var(--sh-lg); }

.header-inner {
  height: var(--hh);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 46px; width: auto; }

/* Nav */
.main-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: .125rem;
}
.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .75rem;
  border-radius: var(--r);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
}
.nav-list > li > a:hover { color: var(--primary); background: var(--primary-light); }
.nav-arrow { font-size: .625rem; opacity: .55; transition: transform var(--ease); }
.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.has-dropdown, .has-subdropdown { position: relative; }

.dropdown, .subdropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 230px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--ease-slow);
  z-index: 200;
  padding: .375rem;
}
.subdropdown {
  top: -.375rem;
  left: calc(100% + .375rem);
}
.has-dropdown:hover > .dropdown,
.has-subdropdown:hover > .subdropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a, .subdropdown li a {
  display: block;
  padding: .5rem .875rem;
  font-size: .875rem;
  color: var(--text);
  border-radius: var(--r);
  transition: all var(--ease);
}
.dropdown li a:hover, .subdropdown li a:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.has-subdropdown > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.has-subdropdown > a::after {
  content: '›';
  font-size: 1rem;
  opacity: .5;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.lang-switch {
  padding: .375rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--muted);
  transition: all var(--ease);
  letter-spacing: .04em;
}
.lang-switch:hover { border-color: var(--primary); color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--r);
  transition: background var(--ease);
}
.hamburger:hover { background: var(--bg-alt); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--ease-slow);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav overlay (mobile) */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.nav-overlay.open { display: block; }

/* === 6. HERO ============================================== */
.hero {
  position: relative;
  padding: 6rem 0 5.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 60%, rgba(6,182,212,.18) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(59,130,246,.22) 0%, transparent 45%),
    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='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 860px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  color: rgba(255,255,255,.9);
}
.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  max-width: 20ch;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--accent), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  color: rgba(255,255,255,.75);
  margin-bottom: 2.5rem;
  max-width: 58ch;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat strong {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #fff 40%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .25rem;
}
.stat span {
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* === 7. SERVICII ========================================== */
.services {
  padding: 5.5rem 0;
  background: var(--bg-alt);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--ease-slow);
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--sh-xl);
  transform: translateY(-5px);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.125rem; }
.service-card > p { color: var(--muted); font-size: .9375rem; max-width: none; flex: 1; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  color: var(--primary);
  font-size: .875rem;
  font-weight: 600;
  transition: gap var(--ease);
  margin-top: auto;
}
.service-link:hover { gap: .625rem; }
.service-link svg { width: 16px; height: 16px; }

/* === 8. DESPRE / CRM ====================================== */
.about-section { padding: 5.5rem 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--muted); margin-bottom: 1rem; font-size: 1rem; max-width: none; }
.features-list {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin: 1.75rem 0 2rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
}
.feature-check {
  width: 22px;
  height: 22px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}
.feature-check svg { width: 12px; height: 12px; stroke: #fff; }
.feature-item span { font-size: .9375rem; color: var(--text); line-height: 1.5; }

/* Visual panel */
.about-visual {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  border-radius: var(--r-2xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  color: #fff;
}
.stat-card strong {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .375rem;
}
.stat-card span { font-size: .8125rem; color: rgba(255,255,255,.6); line-height: 1.4; }
.stat-card-wide { grid-column: 1 / -1; }

/* === 9. OUTSOURCING ======================================= */
.outsourcing-section {
  padding: 5.5rem 0;
  background: var(--bg-alt);
}
.outsourcing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.outsourcing-text h2 { margin-bottom: 1rem; }
.outsourcing-text p { color: var(--muted); font-size: 1rem; max-width: none; margin-bottom: 1rem; }
.outsourcing-text .btn { margin-top: 1.25rem; }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .875rem;
}
.tech-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--ease);
}
.tech-card:hover { border-color: var(--primary); box-shadow: var(--sh-lg); transform: translateY(-2px); }
.tech-icon { font-size: 1.75rem; margin-bottom: .625rem; }
.tech-card h4 { font-size: .875rem; color: var(--dark); font-weight: 600; }
.tech-card p { font-size: .75rem; color: var(--muted); max-width: none; margin-top: .25rem; }

/* === 10. CONTACT ========================================== */
.contact-section { padding: 5.5rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--muted); max-width: none; margin-bottom: 2.25rem; font-size: 1rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.375rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-light);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item-text strong { display: block; font-size: .8125rem; font-weight: 700; color: var(--dark); margin-bottom: .2rem; letter-spacing: .03em; text-transform: uppercase; }
.contact-item-text p, .contact-item-text a { font-size: .9375rem; color: var(--muted); max-width: none; }
.contact-item-text a:hover { color: var(--primary); }

/* Form */
.contact-form-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 2.5rem;
}
.contact-form-wrap h3 { margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .4rem;
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  font-size: .9375rem;
  color: var(--dark);
  background: var(--bg);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(29 78 216 / .1);
}
.form-control.requiredInp {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgb(239 68 68 / .1);
}
textarea.form-control { resize: vertical; min-height: 120px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  margin: 1.25rem 0 1.5rem;
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: .2rem;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.termsConditionsTextQ {
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: none;
}
.termsConditionsTextQ a { color: var(--primary); text-decoration: underline; }
.termsConditionsTextQ.requiredLabel { color: var(--error); }

.form-submit { width: 100%; padding: .9375rem; font-size: 1rem; }

/* === 11. FOOTER =========================================== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 4.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo-img {
  height: 42px;
  width: auto;
  margin-bottom: 1.125rem;
  opacity: .9;
}
.footer-about p {
  font-size: .875rem;
  line-height: 1.75;
  max-width: 30ch;
  color: rgba(255,255,255,.5);
}
.footer-col h4 {
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .625rem; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color var(--ease);
}
.footer-links a:hover { color: #fff; }
.footer-links-sub {
  margin-top: .375rem;
  margin-left: .75rem;
  padding-left: .875rem;
  border-left: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-links-sub a { font-size: .8125rem; color: rgba(255,255,255,.38); }
.footer-links-sub a:hover { color: rgba(255,255,255,.75); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
}
.footer-contact-item svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: .2rem;
}
.footer-contact-item p, .footer-contact-item a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  max-width: none;
  transition: color var(--ease);
}
.footer-contact-item a:hover { color: #fff; }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.35); transition: color var(--ease); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.75); }

/* ANPC */
.anpc-area {
  padding: 1.375rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.anpc-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: .625rem 1.125rem;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #333;
  transition: all var(--ease);
}
.anpc-badge:hover { background: #fff; color: #333; }
.anpc-badge img { height: 26px; width: auto; }

/* === 12. ERROR TOAST ====================================== */
.error-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--dark);
  color: #fff;
  border-left: 4px solid var(--error);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  display: none;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--sh-xl);
  min-width: 260px;
  max-width: 380px;
  z-index: 9999;
}
.error-toast p { font-size: .9375rem; max-width: none; color: rgba(255,255,255,.9); }
.close-error {
  color: rgba(255,255,255,.5);
  font-size: 1.375rem;
  line-height: 1;
  flex-shrink: 0;
  margin-left: auto;
  transition: color var(--ease);
  padding: 0 .2rem;
}
.close-error:hover { color: #fff; }

/* === 13. MODAL reCAPTCHA ================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-dialog {
  background: var(--bg);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.modal-header h4 { font-size: 1rem; }
.modal-close {
  font-size: 1.5rem;
  color: var(--muted);
  line-height: 1;
  transition: color var(--ease);
}
.modal-close:hover { color: var(--dark); }
.modal-body { padding: 1.5rem; }
.gCheckRC_txt {
  font-size: .9rem;
  color: var(--error);
  margin-bottom: 1rem;
  opacity: 0;
  transition: opacity var(--ease);
}
.modal-footer-btn {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

/* === 14. COOKIE BUTTON ==================================== */
#open_preferences_center {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  width: 38px;
  height: 38px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh);
  z-index: 9998;
  color: var(--muted);
  transition: all var(--ease);
}
#open_preferences_center:hover { color: var(--primary); border-color: var(--primary); }
#open_preferences_center svg { width: 16px; height: 16px; }

/* === 15. SENT BANNER ====================================== */
.sent-banner {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.25rem;
  font-size: .9375rem;
  font-weight: 500;
  position: relative;
  z-index: 900;
}
.sent-banner svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.sent-banner--ok {
  background: #d1fae5;
  color: #065f46;
  border-bottom: 1px solid #6ee7b7;
}
.sent-banner--ok svg { stroke: #059669; }
.sent-banner--error {
  background: #fee2e2;
  color: #7f1d1d;
  border-bottom: 1px solid #fca5a5;
}
.sent-banner--error svg { stroke: #dc2626; }
.sent-banner__close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  opacity: .6;
  padding: 0 .25rem;
  flex-shrink: 0;
}
.sent-banner__close:hover { opacity: 1; }

/* === 16. RESPONSIVE ======================================= */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .about-grid,
  .outsourcing-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
}

@media (max-width: 768px) {
  :root { --hh: 64px; }

  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--hh);
    right: 0;
    bottom: 0;
    width: min(300px, 85vw);
    background: var(--bg);
    border-left: 1px solid var(--border);
    box-shadow: var(--sh-xl);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--ease-slow);
    z-index: 999;
    padding: 1.25rem;
  }
  .main-nav.open { transform: translateX(0); }

  .nav-list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav-list > li > a { padding: .75rem 1rem; font-size: .9375rem; border-radius: var(--r-lg); }
  .nav-arrow { margin-left: auto; }

  .dropdown, .subdropdown {
    position: static;
    opacity: 1;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--primary-light);
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, visibility .4s ease;
    margin-left: 1rem;
    padding: 0;
  }
  .has-dropdown.mob-open > .dropdown,
  .has-subdropdown.mob-open > .subdropdown {
    visibility: visible;
    max-height: 600px;
  }
  .has-subdropdown > a::after { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-about p { max-width: none; }

  .hero { padding: 4rem 0 3.5rem; }
  .hero-stats { gap: 2rem; }
  .stat strong { font-size: 1.75rem; }

  .services,
  .about-section,
  .outsourcing-section,
  .contact-section { padding: 4rem 0; }

  .contact-form-wrap { padding: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero-badge { font-size: .75rem; }
  .hero-stats { gap: 1.5rem; }
  .about-visual { grid-template-columns: 1fr; }
  .stat-card-wide { grid-column: 1; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .anpc-badge { flex-direction: column; text-align: center; }
}

/* ============================================================
   16. INNER PAGES (pagini interioare)
   ============================================================ */

/* Page hero — compact */
.page-hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(6,182,212,.15) 0%, transparent 55%),
    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='%23ffffff' fill-opacity='0.025'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .375rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color var(--ease); }
.breadcrumb a:hover { color: rgba(255,255,255,.9); }
.breadcrumb-sep { opacity: .4; }

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: .75rem;
}
.page-hero-desc {
  color: rgba(255,255,255,.75);
  font-size: 1.0625rem;
  max-width: 65ch;
  line-height: 1.65;
}

/* Inner page wrapper */
.inner-page { padding: 4rem 0 5rem; }

/* Two-column layout: content + sidebar */
.inner-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

/* Content body */
.content-body h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  color: var(--dark);
  margin: 2.25rem 0 .875rem;
}
.content-body h2:first-child { margin-top: 0; }
.content-body h3 {
  font-size: 1.125rem;
  color: var(--dark);
  margin: 1.75rem 0 .625rem;
}
.content-body p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: none;
}
.content-body ul.bullet-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.content-body ul.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.6;
}
.content-body ul.bullet-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: .475rem;
  flex-shrink: 0;
}
.content-body strong { color: var(--dark); }

/* Feature boxes grid */
.feature-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
}
.feature-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.375rem;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.feature-box:hover { border-color: var(--primary); box-shadow: var(--sh); }
.feature-box-icon { font-size: 1.625rem; margin-bottom: .625rem; line-height: 1; }
.feature-box h4 { font-size: .9375rem; color: var(--dark); margin-bottom: .375rem; }
.feature-box p { font-size: .875rem; color: var(--muted); max-width: none; margin: 0; }

/* Info strip (stats row) */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
}
.info-strip-card {
  text-align: center;
  background: var(--primary-light);
  border-radius: var(--r-xl);
  padding: 1.25rem 1rem;
}
.info-strip-card strong {
  display: block;
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .375rem;
}
.info-strip-card span { font-size: .8125rem; color: var(--muted); }

/* Technology tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 1.5rem;
}
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .375rem .875rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--ease);
}
.tech-tag:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* CTA box inside content */
.content-cta {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border-radius: var(--r-xl);
  padding: 2rem;
  color: #fff;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.content-cta h3 { color: #fff; font-size: 1.25rem; margin-bottom: .375rem; }
.content-cta p { color: rgba(255,255,255,.7); max-width: none; margin: 0; font-size: .9375rem; }

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--hh) + 1.5rem); }

/* Sidebar quick contact card */
.sidebar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
}
.sidebar-card-header {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  padding: 1.375rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.sidebar-card-header svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.sidebar-card-header h3 { color: #fff; font-size: 1rem; margin: 0; }
.sidebar-card-body { padding: 1.5rem; }
.sidebar-card-body .form-group { margin-bottom: .875rem; }
.sidebar-card-body .form-control { padding: .625rem .875rem; font-size: .875rem; }
.sidebar-card-body textarea.form-control { min-height: 100px; }
.sidebar-card-body .form-check { margin: 1rem 0 1.25rem; }
.sidebar-card-body .form-submit { padding: .75rem; font-size: .9375rem; }

/* Also sidebar: related services links */
.sidebar-related {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.375rem;
  margin-top: 1.25rem;
}
.sidebar-related h4 {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.sidebar-related ul { display: flex; flex-direction: column; gap: .5rem; }
.sidebar-related ul li a {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text);
  padding: .375rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--ease);
}
.sidebar-related ul li:last-child a { border-bottom: none; }
.sidebar-related ul li a:hover { color: var(--primary); }
.sidebar-related ul li a::before {
  content: '›';
  color: var(--primary);
  font-size: 1rem;
  line-height: 1;
}

/* Contact page full form */
.contact-page .contact-section { padding: 4rem 0 5rem; }
.contact-full-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-full-form-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-section-title {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin: 1.75rem 0 .875rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
  margin-bottom: 1rem;
}
.check-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text);
  cursor: pointer;
}
.check-item input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: var(--primary);
  flex-shrink: 0;
  cursor: pointer;
}

/* Despre noi page */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Responsive inner pages */
@media (max-width: 960px) {
  .inner-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .contact-full-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 767px) {
	.header-inner{
		justify-content: space-between
	}
	.nav-arrow { font-size:26px;line-height:100%; opacity: .55; transition: transform var(--ease); }
}
@media (max-width: 640px) {
  .feature-boxes { grid-template-columns: 1fr; }
  .info-strip { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .content-cta { flex-direction: column; text-align: center; }
  .inner-page { padding: 2.5rem 0 4rem; }
}
