/* GLOBAL VARIABLES */
:root {
  --primary: #D13636;
  --primary-hover: #b92b2b;
  --dark: #333;
  --text: #374151;
  --light-bg: #F9FAFB;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow: 0 0.25em 0.375em -0.0625em rgba(0, 0, 0, 0.1), 0 0.125em 0.25em -0.0625em rgba(0, 0, 0, 0.06);
  --font-main: 'Google Sans', sans-serif;
  --container-width: 75rem;
  /* 1200px */
  --base-font-size: 1rem;
  /* 16px base */
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
}

/* 16px base */
body {
  font-family: var(--font-main);
  font-size: var(--base-font-size);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 2em 0;
}

/* 80px → 5em */

/* UTILITY */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25em;
  /* 20px → 1.25em */
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.bg-light {
  background-color: var(--light-bg);
}

.bg-dark {
  background-color: var(--dark);
  color: var(--white);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6 {
  color: var(--white);
}

.d-flex {
  display: flex;
  align-items: center;
}

.grid {
  display: grid;
  gap: 1.875em;
}

/* 30px → 1.875em */
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

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

.gap-20 {
  gap: 1.25em;
}

/* 20px → 1.25em */
.mt-4 {
  margin-top: 1.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  /* 12px 24px → 0.75em 1.5em */
  border-radius: 0.5em;
  /* 8px → 0.5em */
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1em;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-white-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn-white-outline:hover {
  background-color: var(--white);
  color: var(--dark);
}

/* HEADER */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.9375em 0;
  /* 15px → 0.9375em */
}

.nav-wrapper {
  justify-content: space-between;
}

.logo {
  font-size: 1.5em;
  /* 24px → 1.5em */
  font-weight: 800;
  color: var(--dark);
}

.logo span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 1.875em;
  /* 30px → 1.875em */
  align-items: center;
}

.nav-link {
  font-weight: 600;
  color: var(--dark);
  font-size: 1em;
}

.nav-link:hover {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  font-size: 1.5em;
  /* 24px → 1.5em */
  cursor: pointer;
}

/* DROPDOWN */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  width: 16.25em;
  /* 260px */
  border-radius: 0.5em;
  padding: 0.625em 0;
  display: none;
  flex-direction: column;
}

.dropdown a {
  padding: 0.75em 1.25em;
  display: flex;
  align-items: center;
  font-size: 0.875em;
  transition: all 0.3s ease;
}

.dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75em;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.dropdown a:hover .dropdown-icon {
  transform: translateX(3px);
}

.dropdown a:hover {
  background: var(--light-bg);
  color: var(--primary);
}

.has-dropdown:hover .dropdown {
  display: flex;
}

/* HERO */
.hero {
  padding: 2em 0;
  /* 100px → 6.25em */
  background: linear-gradient(to right, #ffffff, #f3f4f6);
}

/* Hero variant used on dark service pages */
.hero.bg-dark {
  background: radial-gradient(circle at top left, #1f2937 0%, #111827 55%, #0f172a 100%);
}

.hero.bg-dark .hero-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.hero.bg-dark h1,
.hero.bg-dark .hero-lead {
  color: #ffffff;
}

.hero.bg-dark .btn-white-outline {
  border-color: rgba(255, 255, 255, 0.95);
  color: #ffffff;
}

.hero.bg-dark .btn-white-outline:hover {
  background: #ffffff;
  color: var(--dark);
}

.hero-title-wrapper {
  text-align: center;
  max-width: 61.25em;
  /* 980px */
  margin: 0 auto 2.5em auto;
  /* 40px */
}

.hero-badge {
  background: #fee2e2;
  color: #9f1f1f;
  padding: 0.3125em 0.625em;
  /* 5px 10px → 0.3125em 0.625em */
  border-radius: 0.25em;
  /* 4px → 0.25em */
  font-size: 0.75em;
  /* 12px → 0.75em */
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.25em;
  /* 20px → 1.25em */
  display: inline-block;
}

.hero h1 {
  font-size: 3em;
  /* 48px → 3em */
  margin-bottom: 1.25em;
  /* 20px → 1.25em */
}

.hero-lead {
  font-size: 1.125em;
  /* 18px → 1.125em */
  color: var(--text);
  margin-bottom: 1.875em;
  /* 30px → 1.875em */
  max-width: 31.25em;
  /* 500px → 31.25em */
}

.hero-lead-centered {
  margin: 0 auto 1.875em;
  /* 30px */
}

.check-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.625em;
  /* 10px → 0.625em */
  font-size: 0.9375em;
  /* 15px → 0.9375em */
}

.check-list li::before {
  content: "✓";
  color: #10B981;
  font-weight: bold;
  margin-right: 0.625em;
  /* 10px → 0.625em */
}

.check-list-negative li::before {
  content: "❌";
  color: var(--primary);
}

/* SOCIAL PROOF & MARQUEE */
.logo-marquee-container {
  overflow: hidden;
  padding: 1.25rem 0;
  position: relative;
  width: 100%;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-marquee-wrapper {
  display: flex;
  width: max-content;
  animation: logo-marquee 30s linear infinite;
  pointer-events: auto;
}

.logo-marquee-wrapper:hover {
  animation-play-state: paused;
}

.social-proof-logos {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 0 2rem;
  opacity: 0.6;
  white-space: nowrap;
}

.social-proof-logos img {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.social-proof-logos img:hover {
  filter: grayscale(0%);
}

@keyframes logo-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.333%);
  }
}

/* SECTIONS */
.section-title h2 {
  font-size: 2.25em;
  /* 36px → 2.25em */
  margin-bottom: 0.9375em;
  /* 15px → 0.9375em */
}

.section-title p {
  max-width: 43.75em;
  /* 700px → 43.75em */
  margin: 0 auto;
  color: #64748B;
}

/* Subheading for sections like Social Proof */
.section-subheading {
  color: #64748b;
  margin-bottom: 1.875em;
  /* 30px */
  font-size: 0.875em;
  /* 14px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* SERVICES PREVIEW (HOMEPAGE) */
.card-service-preview {
  padding: 1.5em 0 !important;
  /* 20px */
}

.card-service-preview h3 {
  font-size: 1.125em;
  /* 18px */
}

.card-service-preview p {
  font-size: 0.875em;
  /* 14px */
}

.image-wrapper-center {
  display: flex;
  align-items: center;
  justify-content: center;margin: 1em 0;
}

.img-growth-chart {
  border-radius: 1.25em;
  /* 20px */
  box-shadow: 0 1.25em 1.5625em -0.3125em rgba(0, 0, 0, 0.1);
  width: 100%;
  height: auto;
}

/* CARDS */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.75em;
  /* 12px → 0.75em */
  padding: 1.875em;
  /* 30px → 1.875em */
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-0.3125em);
  /* -5px → -0.3125em */
  box-shadow: var(--shadow);
}

.card.bg-dark {
  background: var(--dark);
  color: var(--white);
}

.card.bg-dark h3,
.card.bg-dark h4,
.card.bg-dark p,
.card.bg-dark li {
  color: var(--white);
}

.card.bg-dark .check-list li::before {
  color: #fca5a5;
}

.card-icon {
  font-size: 2em;
  /* 32px → 2em */
  color: var(--primary);
  margin-bottom: 1.25em;
  /* 20px → 1.25em */
}

.card h3 {
  font-size: 1.25em;
  /* 20px → 1.25em */
  margin-bottom: 0.625em;
  /* 10px → 0.625em */
}

.card-list {
  margin: 0.9375em 0;
  /* 15px → 0.9375em */
  padding-left: 1.25em;
  /* 20px → 1.25em */
  list-style: disc;
  color: #64748B;
  font-size: 0.875em;
  /* 14px → 0.875em */
}

/* TESTIMONIALS */
.testimonial-card {
  background: var(--white);
  padding: 1.875em;
  /* 30px → 1.875em */
  border-radius: 1em;
  /* 16px → 1em */
  box-shadow: var(--shadow);
}

.testimonial-text {
  font-style: italic;
  color: #4B5563;
  margin-bottom: 1.25em;
  /* 20px → 1.25em */
}

.client-info {
  display: flex;
  align-items: center;
  gap: 0.9375em;
  /* 15px → 0.9375em */
}

.client-avatar {
  width: 3.125em;
  /* 50px → 3.125em */
  height: 3.125em;
  /* 50px → 3.125em */
  border-radius: 50%;
  background: #ccc;
}

/* BLOG / CASE STUDIES */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5em;
  align-items: start;
  margin-top: 1.5em;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.12);
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card__link img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.2rem 1.2rem 1.4rem;
}

.blog-card__date {
  font-size: .85rem;
  color: #64748B;
  font-weight: 600;
}

.blog-card__body h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.blog-card__excerpt {
  margin: 0;
  color: #475569;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 4;
  max-height: calc(1.55em * 4);
}

.blog-card__link:focus-visible {
  outline: 3px solid rgba(209, 54, 54, 0.35);
  outline-offset: 3px;
  border-radius: 1rem;
}

@media (max-width: 768px) {
  .blog-card__excerpt {
    -webkit-line-clamp: 3;
    max-height: calc(1.55em * 3);
  }
}

.article-card img {
  width: 100%;
  height: 12.5em;
  /* 200px → 12.5em */
  object-fit: cover;
  border-radius: 0.5em;
  /* 8px → 0.5em */
  margin-bottom: 0.9375em;
  /* 15px → 0.9375em */
}

.meta {
  font-size: 0.8125em;
  /* 13px → 0.8125em */
  color: #9CA3AF;
  margin-bottom: 0.625em;
  /* 10px → 0.625em */
}

.card-details-link {
  color: var(--primary);
  font-weight: bold;
}

.card-details-link:hover {
  text-decoration: underline;
}

/* FORMS */
.form-group {
  margin-bottom: 1.25em;
}

/* 20px → 1.25em */
.form-label {
  display: block;
  margin-bottom: 0.3125em;
  /* 5px → 0.3125em */
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75em;
  /* 12px → 0.75em */
  border: 1px solid var(--border);
  border-radius: 0.375em;
  /* 6px → 0.375em */
  font-family: inherit;
  font-size: 1em;
}

.form-select {
  width: 100%;
  padding: 0.75em;
  /* 12px → 0.75em */
  border: 1px solid var(--border);
  border-radius: 0.375em;
  /* 6px → 0.375em */
  background: white;
  font-size: 1em;
}

.form-audit-offer {
  margin-top: 0.8em;
  padding: 0.9em 1em;
  border: 1px solid #cbd5e1;
  border-radius: 0.75em;
  background: #f8fafc;
  color: #334155;
  font-size: 0.92em;
  line-height: 1.6;
}

.form-audit-offer strong {
  display: block;
  margin-bottom: 0.25em;
  color: #0f172a;
  font-size: 0.92em;
}

.form-audit-offer p {
  margin: 0;
}

/* ACCORDION */
.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1.25em 0;
  /* 20px → 1.25em */
  background: none;
  border: none;
  font-size: 1.125em;
  /* 18px → 1.125em */
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.accordion-content {
  display: none;
  padding-bottom: 1.25em;
  /* 20px → 1.25em */
  color: #4B5563;
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-item.active .accordion-header {
  color: var(--primary);
}

/* WORKFLOW PROCESS */
.workflow-list {
  list-style: none;
  counter-reset: workflow-counter;
}

.workflow-item {
  position: relative;
  padding-left: 2.8125em;
  /* 45px */
  margin-bottom: 1.25em;
  /* 20px */
}

.workflow-item::before {
  counter-increment: workflow-counter;
  content: counter(workflow-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.875em;
  /* 30px */
  height: 1.875em;
  /* 30px */
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  line-height: 1.875em;
  /* 30px */
  font-weight: bold;
}

.workflow-item h4 {
  margin-bottom: 0.25em;
}

/* FOOTER */
footer {
  background: var(--dark);
  color: #94A3B8;
  padding: 3.75em 0 1.25em;
  /* 60px 0 20px → 3.75em 0 1.25em */
}

footer h4 {
  color: var(--white);
  margin-bottom: 1.25em;
  /* 20px → 1.25em */
  font-size: 1em;
}

footer ul li {
  margin-bottom: 0.625em;
}

/* 10px → 0.625em */
footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  margin-top: 3.125em;
  /* 50px → 3.125em */
  padding-top: 1.25em;
  /* 20px → 1.25em */
  text-align: center;
  font-size: 0.875em;
  /* 14px → 0.875em */
}

.footer-logo {
  color: var(--white);
}

.footer-logo span {
  color: #fca5a5;
}

.footer-description {
  margin-top: 1.25em;
  font-size: 0.875em;
}

.footer-socials {
  margin-top: 1.25em;
  display: flex;
  gap: 0.9375em;
}

.footer-socials a {
  color: #94A3B8;
}

/* FOOTER - RESPONSIVE 4 COLUMNS */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr minmax(min-content, 1fr) minmax(min-content, 1fr) minmax(min-content, 1fr);
  gap: 2.5em;
  /* 40px → 2.5em */
  margin-bottom: 2.5em;
  /* 40px → 2.5em */
  align-items: start;
}

.footer-col {
  min-width: 0;
  /* Previne overflow */
}

/* Coloanele 2, 3, 4 (Servicii, Companie, Contact) - mai mici, ajustate la conținut */
.footer-col:nth-child(2),
.footer-col:nth-child(3),
.footer-col:nth-child(4) {
  max-width: 12.5em;
  /* 200px → 12.5em - limitare maximă */
  width: fit-content;
}

.footer-col .footer-col-title {
  color: var(--white);
  margin-bottom: 1.25em;
  /* 20px → 1.25em */
  font-size: 1em;
  /* 16px → 1em */
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.625em;
  /* 10px → 0.625em */
}

.footer-col a {
  color: #94A3B8;
  transition: color 0.3s;
  font-size: 0.875em;
  /* 14px → 0.875em */
}

.footer-col a:hover {
  color: var(--white);
}

.social-links a:hover {
  color: var(--white) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5em;
  /* 40px → 2.5em */
  padding-top: 1.25em;
  /* 20px → 1.25em */
  text-align: center;
  font-size: 0.875em;
  /* 14px → 0.875em */
  color: #94A3B8;
}

/* TOOLTIP STYLES */
.tooltip-container {
  position: relative;
  cursor: help;
}

.tooltiptext {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 43.75em;
  /* 700px */
  background-color: var(--white);
  color: var(--text);
  padding: 2em;
  border-radius: 0.75em;
  box-shadow: 0 1em 2.5em rgba(0, 0, 0, 0.2);
  z-index: 10;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.tooltip-container:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.tooltiptext .close-btn {
  position: absolute;
  top: 0.5em;
  right: 0.75em;
  font-size: 2em;
  font-weight: bold;
  color: #aaa;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.tooltiptext .close-btn:hover {
  color: var(--dark);
}

.tooltiptext h2 {
  font-size: 1.5em;
  margin-bottom: 1em;
  padding-right: 1.5em;
  /* Space for close button */
}

#continut-tooltip {
  margin-bottom: 1.5em;
  max-height: 15.625em;
  /* 250px */
  overflow-y: auto;
  font-size: 0.9375em;
  /* 15px */
}

.tooltiptext .btn-box {
  margin-top: auto;
  text-align: center;
}

.new-btn-one {
  display: inline-block;
  padding: 0.75em 1.5em;
  border-radius: 0.5em;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--primary);
  color: var(--white);
  transition: 0.3s;
}

.new-btn-one:hover {
  background-color: var(--primary-hover);
}

/* CTA SECTION */
.cta-lead {
  color: #94a3b8;
  margin-bottom: 1.875em;
  /* 30px */
}

.cta-buttons {
  justify-content: center;
  gap: 1.25em;
  /* 20px */
}

/* CONTACT PAGE */
.contact-details-box {
  padding: 2.5em;
  /* 40px */
  border-radius: 0.75em;
  /* 12px */
}

.contact-details-list {
  list-style: none;
  padding: 0;
}

/* DESPRE NOI PAGE */
.img-rounded {
  border-radius: 0.75em;
  /* 12px */
}

.team-avatar-placeholder {
  width: 6.25em;
  /* 100px */
  height: 6.25em;
  /* 100px */
  background: #e2e8f0;
  border-radius: 50%;
  margin: 0 auto 1em;
}

/* ARTICLE TEMPLATE */
.article-section {
  padding: 3.75em 0;
}

.article-container {
  max-width: 50em;
}

.article-header {
  margin-bottom: 0.5em;
}

.article-header h1 {
  font-size: clamp(1.65rem, 4.8vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.article-lead {
  max-width: 53em;
  margin: 0 auto 2rem;
  color: #64748b;
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  line-height: 1.65;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  letter-spacing: 0.03em;
  font-weight: 500;
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.article-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.article-meta svg {
  flex-shrink: 0;
  opacity: 0.55;
}

.article-cover-image {
  width: 100%;
  border-radius: clamp(0.75rem, 3vw, 2rem);
  margin-bottom: 0;
  object-fit: cover;
  max-height: 500px;
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.12);
}

.article-content {
  max-width: 50em;
  margin: 0 auto;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.8;
  padding-top: 2.5rem;
}

.article-content > p,
.article-content > ul,
.article-content > ol {
  margin-bottom: 1.1em;
}

.article-content h2 {
  margin-top: 2.25em;
  margin-bottom: 0.65em;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  line-height: 1.25;
}

.article-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
}

.article-content code {
  font-size: 0.9em;
  word-break: break-word;
  background: blueviolet;
  padding: 0.1em 0.35em;
  border-radius: 0.25em;
}

.article-intro {
  font-size: 1.05em;
}

.article-insight {
  background: var(--dark);
  color: #fff;
  border-left: 0.375rem solid var(--primary);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: 0 1rem 1rem 0;
  margin: 2rem 0;
}

.article-insight h4 {
  color: #fff;
  margin-bottom: 1rem;
}

.article-insight-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-insight-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.article-insight-list li:last-child {
  margin-bottom: 0;
}

.article-insight-list strong {
  color: var(--primary);
  flex-shrink: 0;
}

.article-types-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 3vw, 1.5rem);
  margin: 2rem 0;
}

.article-type-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.75em;
  padding: clamp(1rem, 3vw, 1.5rem);
  height: 100%;
}

.article-type-card h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.article-type-card p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.article-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
}

.article-table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.article-table th,
.article-table td {
  border: 1px solid var(--border);
  padding: 0.75rem 0.85rem;
  vertical-align: middle;
  text-align: left;
}

.article-table thead {
  background: var(--dark);
  color: #fff;
}

.article-table thead th {
  border-color: #444;
  font-weight: 600;
}

.article-alert {
  border-radius: 1rem;
  border: none;
  background: #fff1f2;
  color: #9f1239;
  padding: clamp(1rem, 3vw, 1.5rem);
  margin: 2rem 0;
}

.article-alert h4 {
  color: #9f1239;
  margin-bottom: 0.75rem;
}

.article-alert p:last-child {
  margin-bottom: 0;
}

.article-case-box {
  background: #f8fafc;
  border-radius: clamp(1rem, 3vw, 2rem);
  border: 1px solid #e2e8f0;
  padding: clamp(1.25rem, 4vw, 2rem);
  margin: 2rem 0;
}

.article-cta-box {
  text-align: center;
  background: #0f172a;
  color: #fff;
  border-radius: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: 2.5rem;
}

.article-cta-box h3 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.article-cta-box p {
  color: #94a3b8;
  margin-bottom: 1rem;
}

.article-list {
  padding-left: 1.25em;
  list-style: disc;
}

.article-list li {
  margin-bottom: 0.75rem;
}

.article-list--numbered {
  list-style: decimal;
  padding-left: 1.35em;
}

@media (max-width: 640px) {
  .article-section {
    padding: 2.5em 0;
  }

  .article-header {
    text-align: left;
  }

  .article-header.text-center,
  .article-meta {
    text-align: center;
    justify-content: center;
  }

  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .article-meta__item {
    white-space: normal;
    justify-content: center;
  }

  .article-content {
    padding-top: 1.75rem;
  }

  .article-types-grid {
    grid-template-columns: 1fr;
  }

  .article-insight {
    border-radius: 0.75rem;
    border-left-width: 0.25rem;
  }

  .article-table {
    font-size: 0.875rem;
  }

  .article-table th,
  .article-table td {
    padding: 0.55rem 0.65rem;
  }
}

@media (max-width: 1023px) {
  .article-container {
    max-width: none;
  }

  .article-cover-image {
    max-height: 280px;
  }
}

/* AUDIT PAGE STYLES */
.audit-plans-grid {
  max-width: 56.25em;
  /* 900px */
  margin: 1.875em auto 0;
  /* 30px */
}

.card-recommended {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.card-badge {
  background: var(--primary);
  color: white;
  padding: 0.3125em;
  /* 5px */
  font-size: 0.75em;
  /* 12px */
  font-weight: bold;
  border-radius: 0.25em;
  /* 4px */
  display: inline-block;
  margin-bottom: 0.625em;
  /* 10px */
}

.pricing-features-list {
  text-align: left;
  list-style: none;
}

.feature-disabled {
  opacity: 0.5;
  text-decoration: line-through;
}

/* PORTOFOLIU / CASE STUDY PAGE */
.case-study-result {
  color: var(--primary);
  font-weight: 700;
}

/* CASE STUDY TEMPLATE */
.results-card {
  margin-top: 2.5em;
  /* 40px */
  padding: 2em;
}

.result-item {
  text-align: center;
}

.result-value {
  display: block;
  font-size: 2.5em;
  /* 40px */
  font-weight: 700;
  color: var(--primary);
}

.result-label {
  font-size: 1em;
  color: var(--text);
}

/* PRICING STYLES */
.pricing-block {
  font-size: 1.5em;
  /* 24px */
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1em;
}

.pricing-period {
  font-size: 0.58em;
  /* ~14px */
  color: #666;
  font-weight: normal;
}

/* SEO TEHNIC PAGE */
.bg-dark .hero-lead {
  opacity: 0.9;
}

.cwt-metric-value {
  font-size: 2.5em;
  /* 40px */
  font-weight: 700;
  color: var(--primary);
}

.accordion-container {
  max-width: 50em;
  /* 800px */
  margin: 0 auto;
}

/* 404 PAGE STYLES */
.error-page-section {
  padding: 6em 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.error-code {
  font-size: 8em;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.2em;
}
.hdn-text {display:none;visibility:hidden}

/* RESPONSIVE */
@media (max-width: 992px) {
  html {
    font-size: 95%;
  }

  /* Scade font-size de bază cu 5% */

  .hero h1 {
    font-size: 2.25em;
    /* 36px → 2.25em (scalabil) */
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1.25em;
    /* 20px → 1.25em */
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .has-dropdown:hover .dropdown {
    position: static;
    box-shadow: none;
    padding-left: 1.25em;
    /* 20px → 1.25em */
    width: 100%;
    display: none;
  }

  .has-dropdown.active .dropdown {
    display: flex;
  }

  .hero .d-flex {
    flex-direction: column-reverse;
  }

  /* Hero CTA buttons - rămân pe aceeași linie pe mobil */
  .hero .hero-content .d-flex {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .hero .hero-content .d-flex .btn {
    flex: 1 1 auto;
    min-width: 140px;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.875em;
    /* 30px → 1.875em */
  }

  .footer-col:first-child {
    grid-column: 1 / -1;
    /* Logo ocupă toată lățimea pe tabletă */
  }

  /* Elimină restricțiile de lățime pe tabletă */
  .footer-col:nth-child(2),
  .footer-col:nth-child(3),
  .footer-col:nth-child(4) {
    max-width: none;
    width: auto;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* SEO Tehnic: proces timeline responsive */
  .process-timeline {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 0.75rem;
    margin-top: 2rem !important;
  }

  .process-timeline__line {
    display: none;
  }

  .process-step {
    flex: 1 1 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
    min-width: 0;
    padding: 0 !important;
  }

  .process-step > div:first-child {
    width: 48px !important;
    height: 48px !important;
    font-size: 0.95rem !important;
    margin-bottom: 0.625rem !important;
  }

  .process-step h4 {
    font-size: 0.8rem !important;
  }

  .process-step p,
  .process-step small {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }

  /* SEO Tehnic: pricing cards ca mic carusel pe mobil */
  .pricing-carousel {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1rem;
    padding: 0 0 1rem;
    margin: 2em -1rem 0 !important;
    padding-left: 1rem;
    padding-right: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pricing-carousel::-webkit-scrollbar {
    display: none;
  }

  .pricing-card {
    flex: 0 0 82%;
    max-width: 82%;
    min-width: 82%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .pricing-card .btn {
    min-width: 100%;
  }
}

@media (min-width: 768px) {
  .img-growth-chart {max-width: 518px;}
}

@media (min-width: 1980px) {
  .img-growth-chart {max-width: 1200px;}
}

@media (max-width: 768px) {
  html {
    font-size: 90%;
  }

  /* Scade font-size de bază cu 10% */

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5em;
    /* 30px → 1.875em */
  }

  .footer-col:first-child {
    grid-column: 1 / -1;
    /* Reset pentru mobile: Logo pe tot rândul */
  }

  /* Elimină restricțiile de lățime pe mobile */
  .footer-col:nth-child(2),
  .footer-col:nth-child(3),
  .footer-col:nth-child(4) {
    max-width: none;
    width: auto;
  }

  footer {
    padding: 2.5em 0 1.25em;
    /* 40px 0 20px → 2.5em 0 1.25em */
  }

  .hero {
    padding: 3.75em 0;
    /* 60px → 3.75em */
  }

  section {
    padding: 3.75em 0;
    /* 60px → 3.75em */
  }
}

@media (max-width: 480px) {
  html {
    font-size: 85%;
  }

  /* Scade font-size de bază cu 15% */

  .container {
    padding: 0 1em;
    /* 16px → 1em */
  }

  .hero h1 {
    font-size: 1.875em;
    /* 30px → 1.875em */
  }
}

/* ============================================
   Cookie Consent Banner + Modal + Settings Trigger
   ============================================ */

.c-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 -16px 40px rgba(15, 23, 42, 0.14);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.c-banner--visible {
  opacity: 1;
  transform: translateY(0);
}

.c-banner__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}

.c-banner__text {
  margin: 0;
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.45;
  flex: 1 1 auto;
}

.c-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 2.35rem;
  padding: 0.55rem 1rem;
  border-radius: 0.7rem;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.c-btn:hover {
  transform: translateY(-1px);
}

.c-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.c-btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(209, 54, 54, 0.18);
}

.c-btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--white);
}

.c-btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.c-btn--outline:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #111827;
}

.c-btn--link {
  background: transparent;
  border-color: transparent;
  color: var(--primary);
  padding-inline: 0.35rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.c-btn--link:hover {
  color: var(--primary-hover);
  background: rgba(209, 54, 54, 0.06);
}

.c-settings-trigger {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 9997;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(226, 232, 240, 0.98);
  background: rgba(255, 255, 255, 0.98);
  color: var(--primary);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(0.5rem) scale(0.92);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.c-settings-trigger--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.c-settings-trigger:hover {
  background: #fff8f8;
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.18);
}

.c-settings-trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.c-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.c-modal[hidden] {
  display: none;
}

.c-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.c-modal:not([hidden]) .c-modal__overlay {
  opacity: 1;
}

.c-modal__panel {
  position: relative;
  width: 100%;
  max-width: 28rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: var(--white);
  border-radius: 1.05rem;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  animation: c-modal-in 0.25s ease;
}

@keyframes c-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.c-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem 0.8rem;
  border-bottom: 1px solid #eef2f7;
}

.c-modal__header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #111827;
}

.c-modal__close {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.c-modal__close:hover {
  background: #f8fafc;
  color: #111827;
}

.c-modal__body {
  padding: 1.2rem 1.35rem;
}

.c-modal__desc {
  margin: 0 0 0.6rem;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.55;
}

.c-modal__link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.c-modal__link:hover {
  color: var(--primary-hover);
}

.c-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.9rem 1.35rem 1.35rem;
  border-top: 1px solid #eef2f7;
}

.c-modal__footer .c-btn {
  flex: 1 1 0;
  min-width: 8.5rem;
}

.c-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #eef2f7;
}

.c-option:last-of-type {
  border-bottom: none;
}

.c-option__info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.c-option__label {
  color: #111827;
  font-size: 0.92rem;
  font-weight: 600;
}

.c-option__note {
  color: var(--text);
  font-size: 0.77rem;
}

.c-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.69rem;
  font-weight: 700;
  white-space: nowrap;
}

.c-badge--always {
  background: #f1f5f9;
  color: #475569;
}

.c-toggle {
  position: relative;
  display: inline-block;
  width: 2.55rem;
  height: 1.5rem;
  flex-shrink: 0;
  cursor: pointer;
}

.c-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.c-toggle__slider {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 9999px;
  transition: background-color 0.2s ease;
}

.c-toggle__slider::before {
  content: '';
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.22);
  transition: transform 0.2s ease;
}

.c-toggle input:checked + .c-toggle__slider {
  background: var(--primary);
}

.c-toggle input:checked + .c-toggle__slider::before {
  transform: translateX(1.05rem);
}

.c-toggle input:focus-visible + .c-toggle__slider {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .c-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    min-height: 0;
  }

  .c-banner__text {
    font-size: 0.8rem;
  }

  .c-banner__actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .c-btn {
    font-size: 0.72rem;
    padding: 0.48rem 0.8rem;
    min-height: 2.1rem;
  }

  .c-settings-trigger {
    left: calc(3.5rem + 0.75rem);
    bottom: 0.75rem;
    width: 2.55rem;
    height: 2.55rem;
  }

  .c-modal__panel {
    max-width: 100%;
    margin: 0.5rem;
    border-radius: 0.9rem;
  }

  .c-modal__footer {
    flex-direction: column;
  }

  .c-modal__footer .c-btn {
    width: 100%;
    min-width: 0;
  }
}

/* WHATSAPP FIXED ICON */
.whatsapp-footer {
  position: fixed;
  bottom: 5em;
  right: 1.2em;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50%;
  width: 3em;
  height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.whatsapp-footer:hover {
  transform: scale(1.1);
  color: #FFF;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-footer svg {
  width: 1.75em;
  height: 1.75em;
  fill: currentColor;
}

/* ============================================
   SEO LEFT BAR - Mobile/Tablet Navigation
   ============================================ */

/* Ascunde bara și meniul pe desktop */
.seo-left-bar {
  display: none;
}

#seo-mmenu:not(.mm-menu) {
  display: none;
}

.mobile-hamburger {
  display: none;
}

/* MOBILE/TABLET (< 1024px) */
@media (max-width: 1023px) {

  /* Ascunde meniul desktop */
  .desktop-nav-wrapper,
  header .nav-menu {
    display: none !important;
  }

  /* Hamburger în header (dreapta sus) */
  .mobile-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    border-radius: 8px;
    transition: background 0.2s;
  }

  .mobile-hamburger:hover,
  .mobile-hamburger:focus {
    background: rgba(0, 0, 0, 0.05);
    outline: none;
  }

  .mobile-hamburger svg {
    width: 1.75rem;
    height: 1.75rem;
    stroke: var(--primary);
  }

  /* Bara verticală stângă - DARK GRAY THEME */
  .seo-left-bar {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3.5rem;
    background: #2d2d2d;
    z-index: 1000;
    padding: 0;
  }

  /* Top section - Logo + Home Icon */
  .seo-left-bar__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .seo-left-bar__logo {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    background: rgba(209, 54, 54, 0.35);
    letter-spacing: 0.5px;
  }

  .seo-left-bar__logo:hover {
    background: rgba(209, 54, 54, 0.5);
  }

  .seo-left-bar__home {
    margin-top: 0.25rem;
  }

  /* Middle section - Scrolling Tagline ONLY */
  .seo-left-bar__middle {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 0.5rem 0;
  }

  .seo-left-bar__marquee {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
  }

  .seo-left-bar__tagline {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    animation: scrollTagline 15s linear infinite;
  }

  @keyframes scrollTagline {
    0% {
      transform: translateY(100%);
    }

    100% {
      transform: translateY(-100%);
    }
  }

  @keyframes scrollTagline {
    0% {
      opacity: 0;
      transform: translateY(100%);
    }

    5% {
      opacity: 1;
    }

    95% {
      opacity: 1;
    }

    100% {
      opacity: 0;
      transform: translateY(-100%);
    }
  }

  /* Bottom section - Icons */
  .seo-left-bar__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .seo-left-bar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 0.75rem;
    transition: all 0.2s;
    border-radius: 0.5rem;
  }

  .seo-left-bar__icon:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
  }

  .seo-left-bar__icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  /* Offset și lățime pentru conținut (face loc barei stângi) */
  #seo-page {
    margin-left: 3.5rem;
    width: calc(100vw - 3.5rem);
    overflow-x: hidden;
    padding-top: 4.375rem;
    /* Space for fixed header */
    transition: padding 0.3s;
  }

  /* Header pe mobil - Sticky */
  header .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  header {
    position: fixed;
    top: 0;
    left: 3.5rem;
    width: calc(100% - 3.5rem);
    z-index: 1020;
    /* Ensure it's above other elements */
  }

  /* WhatsApp Icon adjustments for mobile */
  .whatsapp-footer {
    width: 2.5em;
    height: 2.5em;
    bottom: 5em;
    right: 1.2em;
    z-index: 9999 !important;
  }

  .whatsapp-footer svg {
    width: 1.5em;
    height: 1.5em;
  }

  header .logo {
    font-size: 1.3rem;
  }

  header .nav-wrapper {
    justify-content: space-between;
  }
}

/* DESKTOP (>= 1024px) */
@media (min-width: 1024px) {
  .seo-left-bar {
    display: none !important;
  }

  .mobile-hamburger {
    display: none !important;
  }

  #seo-mmenu {
    display: none !important;
  }

  .desktop-nav-wrapper {
    display: block !important;
  }

  #seo-page {
    margin-left: 0;
  }
}

/* ============================================
   MMENU STYLING OVERRIDES
   ============================================ */

/* Offset mmenu pentru bara stângă pe mobil/tabletă */
@media (max-width: 1023px) {
  .mm-menu {
    left: 3.5rem !important;
    width: calc(85% - 3.5rem) !important;
    max-width: 25rem !important;
  }
}

/* ================================================
   MMENU CUSTOM STYLES - COMPLETE OVERRIDE
   ================================================ */

/* Submenu Arrow - Make it larger and more visible */
.mm-menu .mm-listitem__btn {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 60px !important;
  min-width: 60px !important;
  border-left: 1px solid #e2e8f0 !important;
}

.mm-menu .mm-listitem__btn::after {
  content: "" !important;
  display: block !important;
  width: 12px !important;
  height: 12px !important;
  border: solid var(--primary) !important;
  border-width: 0 3px 3px 0 !important;
  transform: rotate(-45deg) !important;
  margin-right: 5px !important;
}

/* Mmenu Icons */
.mm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  color: var(--primary);
  vertical-align: middle;
}

.mm-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ================================================
   NAVBAR BUTTONS - CLOSE (X) AND BACK (<-)
   ================================================ */

/* Navbar container */
.mm-menu .mm-navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #ffffff !important;
  border-bottom: 2px solid #e2e8f0 !important;
  min-height: 56px !important;
  padding: 0 !important;
}

/* CLOSE BUTTON - Force visibility with text content */
.mm-menu .mm-navbar .mm-btn--close,
.mm-menu .mm-navbar [class*="close"],
.mm-menu .mm-navbars .mm-btn--close {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  font-size: 32px !important;
  font-weight: 300 !important;
  color: var(--primary) !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  order: 3 !important;
}

.mm-menu .mm-navbar .mm-btn--close::before,
.mm-menu .mm-navbars .mm-btn--close::before {
  content: "✕" !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  color: var(--primary) !important;
  line-height: 1 !important;
}

/* BACK/PREV BUTTON - Arrow pointing left */
.mm-menu .mm-navbar .mm-btn--prev,
.mm-menu .mm-navbar [class*="prev"],
.mm-menu .mm-navbars .mm-btn--prev {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  order: 1 !important;
}

.mm-menu .mm-navbar .mm-btn--prev::before,
.mm-menu .mm-navbars .mm-btn--prev::before {
  content: "" !important;
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  border: solid var(--dark) !important;
  border-width: 3px 0 0 3px !important;
  transform: rotate(-45deg) !important;
}

/* Hide prev button when not in submenu */
.mm-menu .mm-navbar .mm-btn--prev.mm-hidden,
.mm-menu .mm-navbar .mm-btn.mm-hidden {
  visibility: hidden !important;
  width: 56px !important;
}

/* Title styling */
.mm-menu .mm-navbar__title {
  flex: 1 1 auto !important;
  text-align: center !important;
  padding: 0 10px !important;
  order: 2 !important;
}

.mm-menu .mm-navbar__title>span {
  color: var(--dark) !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
}

/* ================================================
   MENU THEME AND LIST ITEMS
   ================================================ */

.mm-menu {
  --mm-color-background: #ffffff;
  --mm-color-text: #333333;
  --mm-color-text-dimmed: #666666;
  --mm-color-border: #e2e8f0;
  --mm-color-icon: var(--primary);
}

.mm-menu .mm-listitem {
  border-bottom: 1px solid #e2e8f0 !important;
}

.mm-menu .mm-listitem__text {
  font-size: 1rem;
  padding: 1rem 1.25rem;
  display: flex !important;
  align-items: center !important;
}

/* Remove default list item border pseudo-element */
.mm-menu .mm-listitem::after {
  display: none !important;
}

/* ================================================
   CRITICAL Z-INDEX FIX FOR MMENU
   ================================================ */

/* Hide the main header when mmenu is opened to prevent overlap */
html.mm-wrapper--opened header,
body.mm-wrapper--opened header,
.mm-wrapper--opened header {
  display: none !important;
  visibility: hidden !important;
}

/* Ensure mmenu has highest z-index when active */
.mm-menu {
  z-index: 9998 !important;
}

.mm-menu .mm-navbar {
  z-index: 9999 !important;
}

/* The blocker (dark overlay) should be above page content */
.mm-wrapper__blocker {
  z-index: 9990 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  background: rgba(0, 0, 0, 0.4) !important;
}

/* ================================================
   POINTER-EVENTS FIX - Ensure all buttons are clickable
   ================================================ */

/* Ensure submenu buttons are clickable */
.mm-menu .mm-listitem__btn {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Ensure close button in navbar is clickable */
.mm-menu .mm-btn--close,
.mm-menu .mm-navbar .mm-btn--close {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Ensure prev/back button is clickable */
.mm-menu .mm-btn--prev,
.mm-menu .mm-navbar .mm-btn--prev {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Ensure next button (submenu arrow) is clickable */
.mm-menu .mm-btn--next {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Ensure the entire navbar is interactive */
.mm-menu .mm-navbar {
  pointer-events: auto !important;
}

/* Ensure navbar buttons have proper display */
.mm-menu .mm-navbar__btn {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* ================================================
   CRITICAL FIX: Hide per-panel auto-generated navbars
   Keep only the navbars addon navbar (.mm-navbars)
   ================================================ */
.mm-menu .mm-panel>.mm-navbar {
  display: none !important;
}

/* Ensure the navbars addon container is visible */
.mm-menu .mm-navbars {
  display: block !important;
}

/* ================================================
   CRITICAL FIX: Menu visibility toggle
   Mmenu uses transform to show/hide. Ensure we don't break this.
   ================================================ */

/* When menu is NOT open, ensure it's properly hidden off-screen */
.mm-menu:not(.mm-menu--opened) {
  visibility: hidden !important;
}

/* When menu IS open, ensure it's visible */
.mm-menu.mm-menu--opened {
  visibility: visible !important;
}

/* Dark overlay/blocker - ensure it works when menu is open */
.mm-wrapper--opened .mm-wrapper__blocker {
  opacity: 1 !important;
  visibility: visible !important;
  height: 100% !important;
  width: 100% !important;
  pointer-events: auto !important;
}

/* When wrapper is opened, ensure page content is shifted/dimmed */
.mm-wrapper--opened .mm-page {
  position: relative;
}

/* Email obfuscation */
span.spamprotection {
  display: none;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-nav {
  background: #f9fafb;
  border-bottom: 1px solid #e2e8f0;
  padding: .625em 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  gap: .25em;
  font-size: .8em;
  color: #94a3b8;
}
.breadcrumb-item a {
  color: #64748b;
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  margin-right: .25em;
  color: #cbd5e1;
}
.breadcrumb-current {
  color: var(--dark);
  font-weight: 600;
}

/* ===== CLIENT AVATAR IMG (testimoniale) ===== */
.client-avatar-img {
  width: 3.125em;
  height: 3.125em;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
