/* ============================================================
   REHABXPERT — common_v2.css
   Desktop intact, mobil refăcut complet
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  font-family: Montserrat, sans-serif;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  background-color: #ffffff;
  z-index: 100000;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  overflow: visible;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.navbar-inner {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}

.navbar-left { flex: 0 0 auto; }

.logo {
  height: 80px;
  width: auto;
  display: block;
}

/* ---------- Nav links (desktop) ---------- */
.navbar-center {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-left: auto;
  margin-right: 40px;
  overflow: visible;
}

.navbar-center a {
  text-decoration: none;
  color: #014221;
  font-weight: 600;
  font-size: 18px;
  padding: 6px 10px;
  transition: color 0.3s ease, transform 0.3s ease, letter-spacing 0.3s ease;
  white-space: nowrap;
}

.navbar-center a:hover {
  color: #037a3d;
  transform: translateY(-2px);
  letter-spacing: 0.5px;
}

.navbar-center a.active { color: #024d26; }

/* ---------- Dropdown (desktop) ---------- */
.navbar-center .dropdown { position: relative; }

.navbar-center .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  min-width: 220px;
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
  z-index: 10000;
}

.navbar-center .dropdown:hover > .dropdown-content { display: block; }

.navbar-center .dropdown-content a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: #024d26;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border-radius: 5px;
  width: 100%;
}

.navbar-center .dropdown-content a + a { border-top: 1px solid #eee; }
.navbar-center .dropdown-content a:hover { background: rgba(43,109,66,0.06); }

/* Sub-dropdown */
.navbar-center .dropdown-content .dropdown { position: relative; }

.navbar-center .dropdown-content .dropdown > a::after {
  content: "›";
  margin-left: auto;
  opacity: 0.6;
}

.navbar-center .dropdown-content .dropdown > .dropdown-content {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 2px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  min-width: 220px;
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
  z-index: 10001;
}

.navbar-center .dropdown-content .dropdown:hover > .dropdown-content { display: block; }
.navbar-center .dropdown-content .dropdown > .dropdown-content a + a { border-top: 1px solid #eee; }

/* ---------- Search ---------- */
.navbar-right {
  flex: 0 0 auto;
  position: relative;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  position: absolute;
  top: 120%;
  right: 0;
  width: 0;
  opacity: 0;
  padding: 10px 0;
  border-radius: 25px;
  border: 2px solid #2b6d42;
  font-size: 15px;
  background: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: width 0.35s ease, opacity 0.25s ease;
  pointer-events: none;
}

.search-container.active .search-input {
  width: 220px;
  padding: 10px 14px;
  opacity: 1;
  pointer-events: auto;
}

.search-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #2b6d42;
  color: white;
  cursor: pointer;
  flex-shrink: 0;
}

.search-results {
  position: absolute;
  top: calc(100% + 54px);
  right: 0;
  width: 260px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  overflow: hidden;
  display: none;
  z-index: 9999;
}

.search-results.active { display: block; }

.search-results div {
  padding: 12px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-results div:hover { background: rgba(132,176,141,0.7); }

/* ---------- Burger (hidden desktop) ---------- */
.menu-icon {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 100001;
  flex-shrink: 0;
}

.menu-icon span {
  background-color: #014221;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
  margin: 3px 0;
}

.menu-icon.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-icon.active span:nth-child(2) { opacity: 0; }
.menu-icon.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Overlay mobil */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 99998;
}
.nav-overlay.active { display: block; }

/* ---------- Social widget ---------- */
.social-media-widget-small {
  position: fixed;
  top: 80%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
}

.social-media-widget-small a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: #fff;
  color: #333;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  font-size: 18px;
  transition: background-color 0.2s, color 0.2s;
}

.social-media-widget-small a:hover { background-color: #f0f0f0; }
.social-media-widget-small a.instagram:hover { color: #E1306C; }
.social-media-widget-small a.facebook:hover { color: #1877F2; }

/* ---------- Hero (homepage) ---------- */
.hero {
  width: 100%;
  margin-top: 100px;
  background-color: #ffffff;
  position: relative;
  z-index: 1;
}

.hero-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.hero-container {
  display: flex;
  height: 520px;
  background-color: #84b08db5;
  overflow: hidden;
}

.hero-image {
  width: 50%;
  height: 100%;
  overflow: hidden;
  animation: slideFadeLeft 1.2s ease forwards;
}

.hero-image img {
  width: 90%;
  height: 90%;
  margin-top: 40px;
  margin-left: 40px;
  object-fit: cover;
}

.hero-text {
  width: 50%;
  color: white;
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.hero-text h1 {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 12px;
  display: block;
}

.hero-description {
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 480px;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.hero-accent { color: #2b6d42; font-weight: 500; }

@keyframes slideFadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideFadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.animate-title  { animation: slideFadeRight 0.9s ease forwards; }
.animate-text   { animation: slideFadeRight 1.1s ease forwards; }
.animate-btn    { animation: slideFadeRight 1.3s ease forwards; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  background-color: #2b6d42;
  color: white;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s;
  text-align: center;
}
.btn-primary:hover { background-color: #1a4400; }

.btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  background-color: #2b6d42;
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s;
  text-align: center;
}
.btn-secondary:hover { background-color: #1a4400; }

/* ---------- Values ---------- */
.values-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: -100px auto 0;
  padding-top: 80px;
  pointer-events: none; /* Face containerul "transparent" la click-uri */
}

/* DAR, trebuie să redăm click-ul elementelor din interior (carduri, butoane proprii) */
.values-container > * {
  pointer-events: auto;
}
.values-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  padding: 80px 60px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.values-title {
  font-size: 2.5em;
  color: #1f3d2b;
  margin-bottom: 30px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  align-items: start;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.value-icon { font-size: 3em; color: #555; margin-bottom: 15px; }
.value-icon img { width: 56px; height: 56px; object-fit: contain; }
.value-title { font-size: 1.2em; color: #333; font-weight: bold; margin-bottom: 10px; }
.value-description { color: #777; font-size: 0.9em; line-height: 1.8; }

/* ---------- About home ---------- */
.about-home {
  width: 100%;
  background-color: #f6f8f7;
  padding: 120px 0;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(0,0,0,0.13);
}

.about-home-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: #2b6d42;
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}

.about-home-text h2 {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #1f3d2b;
}

.about-home-text h2 span { color: #2b6d42; }

.about-home-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 18px;
  max-width: 520px;
}

.about-home-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* ---------- Services home ---------- */
.services-home {
  background: #fff;
  padding: 100px 0;
}

.services-home-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.services-text { flex: 0 0 340px; }

.services-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: #2b6d42;
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
}

.services-text h2 {
  font-size: 32px;
  font-weight: 500;
  color: #1f3d2b;
  margin-bottom: 16px;
  line-height: 1.2;
}

.services-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 28px;
}

.services-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.service-card {
  background: #f6f8f7;
  border-radius: 14px;
  padding: 24px 20px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
  display: block;
}

.service-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.service-card h3 {
  font-size: 16px;
  color: #1f3d2b;
  font-weight: 600;
  margin: 0 0 10px;
}

.service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  width: 100%;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  background: #163426;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: rgba(255,255,255,0.10);
}

.footer-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 54px 20px 22px;
}

.footer-top {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 26px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 26px 30px;
  backdrop-filter: blur(10px);
}

.footer-left h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 10px;
}

.footer-left p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  max-width: 44ch;
  color: rgba(255,255,255,0.88);
}

.footer-subtitle { margin-top: 16px; font-size: 16px; line-height: 1.6; opacity: 0.85; }

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: rgba(255,255,255,0.75);
}

.footer-col p {
  font-size: 14px;
  margin: 0 0 8px;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d7fff7;
  font-size: 14px;
  text-decoration: none;
}

.footer-col a:hover { text-decoration: underline; }

.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 12px 16px; }

.footer-bottom a {
  color: rgba(255,255,255,0.80);
  font-size: 13px;
  text-decoration: none;
}

.footer-bottom a:hover { color: #fff; }

.footer-copy { margin: 0; font-size: 13px; color: rgba(255,255,255,0.70); }

/* ---------- Service pages ---------- */
.service-hero {
  width: 100%;
  margin-top: 100px;
  position: relative;
  overflow: hidden;
  background: #f6f8f7;
}

.service-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 20px 0;
}

.service-hero-banner {
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 50px rgba(0,0,0,0.10);
  background: #1f3d2b;
}

.service-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31,61,43,0.82) 0%, rgba(31,61,43,0.35) 60%, rgba(31,61,43,0.10) 100%);
}

.service-hero-titlewrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 38px;
  color: #fff;
}

.service-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 10px;
}

.service-title {
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 10px;
}

.service-subtitle {
  margin: 0;
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.92;
}

.breadcrumbs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px 0;
  font-size: 13px;
  color: #5a6b61;
}

.breadcrumbs a { color: #2b6d42; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.service-page {
  background: #f6f8f7;
  padding: 26px 0 80px;
}

.service-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.service-cardbox {
  background: #fff;
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.service-cardbox + .service-cardbox { margin-top: 18px; }

.service-h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #1f3d2b;
  font-weight: 600;
}

.service-p {
  margin: 0 0 12px;
  color: #555;
  line-height: 1.75;
  font-size: 15px;
}

.service-list {
  margin: 0;
  padding-left: 18px;
  color: #555;
  line-height: 1.75;
  font-size: 15px;
}

.service-list li { margin: 6px 0; }

.service-note {
  border-left: 4px solid #2b6d42;
  padding: 12px 14px;
  background: rgba(43,109,66,0.06);
  border-radius: 10px;
  color: #334b3f;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 14px;
}

.service-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 18px;
}

.service-meta {
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: #355046;
}

.service-meta strong { color: #1f3d2b; }

.service-cta { display: grid; gap: 12px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #1f3d2b;
  background: rgba(43,109,66,0.10);
  border: 1px solid rgba(43,109,66,0.18);
  padding: 8px 10px;
  border-radius: 999px;
  width: fit-content;
}

/* ---------- About page sections ---------- */
.section {
  background: #fff;
  padding: 80px 0;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-inner.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: #2b6d42;
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
}

.section-title {
  font-size: 30px;
  font-weight: 500;
  color: #1f3d2b;
  margin: 0 0 20px;
  line-height: 1.25;
}

.section-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 16px;
}

.image-card img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  display: block;
}

.cards {
  background: #f6f8f7;
  padding: 80px 0;
}

.cards-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.cards-head {
  text-align: center;
  margin-bottom: 50px;
}

.cards-head h2 {
  font-size: 30px;
  font-weight: 500;
  color: #1f3d2b;
  margin-bottom: 14px;
}

.cards-head p {
  font-size: 15px;
  color: #666;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  text-align: center;
}

.info-card .icon {
  font-size: 32px;
  color: #2b6d42;
  margin-bottom: 16px;
}

.info-card h3 {
  font-size: 17px;
  color: #1f3d2b;
  font-weight: 600;
  margin: 0 0 10px;
}

.info-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ---------- Page hero (about/team) ---------- */
.page-hero {
  position: relative;
  margin-top: 100px;
  height: 420px;
  overflow: hidden;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.48);
}

.page-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.page-hero-content h1 {
  font-size: 42px;
  font-weight: 500;
  margin: 0 0 12px;
}

.page-hero-content p {
  font-size: 16px;
  max-width: 680px;
  opacity: 0.9;
  line-height: 1.7;
  margin: 0;
}

/* ---------- Fade-in ---------- */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — TABLET (max 980px)
   ============================================================ */
@media (max-width: 980px) {
  .service-container {
    grid-template-columns: 1fr;
  }
  .service-sidebar { position: static; }
  .service-hero-banner { height: 200px; }

  .footer-top { grid-template-columns: 1fr 1fr; }

  .about-home-inner { gap: 40px; }

  .services-home-inner { flex-direction: column; gap: 30px; }
  .services-text { flex: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }

  .card-grid { grid-template-columns: 1fr 1fr; }

  .section-inner.split { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================================
   RESPONSIVE — MOBIL (max 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* --- Navbar --- */
  .navbar { height: 70px; }

  .navbar-inner { padding: 0 16px; }

  .logo { height: 48px; }

  .navbar-right { display: none; }

  .menu-icon { display: flex; }

  /* Meniu slide-in din dreapta */
  .navbar-center {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(80vw, 320px);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 90px 24px 40px;
    gap: 0;
    margin: 0;
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 99999;
    overflow-y: auto;
  }

  .navbar-center.active { right: 0; }

  .navbar-center > a,
  .navbar-center > .dropdown > a {
    font-size: 17px;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
    display: block;
  }

  /* Dropdown mobil — sempre visível, indentado */
  .navbar-center .dropdown { width: 100%; }

  .navbar-center .dropdown-content {
    display: block !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 0 0 16px;
    min-width: unset;
    border-radius: 0;
  }

  .navbar-center .dropdown-content a {
    font-size: 15px;
    padding: 10px 0;
    border-top: 1px solid #f5f5f5;
    border-radius: 0;
    color: #014221;
  }

  .navbar-center .dropdown-content .dropdown > .dropdown-content {
    display: block !important;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 0 0 14px;
    min-width: unset;
  }

  .navbar-center .dropdown-content .dropdown > a::after { content: ""; }

  /* --- Hero --- */
  .hero { margin-top: 70px; }

  .hero-wrapper { padding: 0; }

  .hero-container {
    flex-direction: column;
    height: auto;
    overflow: visible;
    background-color: transparent; /* scoatem verdele de pe container */
  }

  .hero-image {
    width: 100%;
    height: 280px;
    animation: none;
    flex-shrink: 0;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
  }

  /* Textul urcă 40px peste imagine, card verde cu colțuri rotunjite sus */
  .hero-text {
    width: 90%;
    margin: -40px auto 0;
    padding: 28px 22px 32px;
    text-align: center;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.12);
    /* verdele rămâne doar aici */
    background-color: #84b08d;
  }

  .hero-text h1 { font-size: 24px; margin-bottom: 10px; }

  .hero-description {
    font-size: 15px;
    margin: 0 auto 22px;
    max-width: 100%;
  }

  .hero-actions { justify-content: center; flex-wrap: wrap; gap: 12px; }

  /* --- Values --- */
  .values-container {
    margin-top: 0;
    padding: 0 12px;
  }

  .values-inner {
    padding: 36px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .values-grid { grid-template-columns: 1fr; gap: 24px; }

  /* --- About home --- */
  .about-home { padding: 60px 0; max-width: 100%; }

  .about-home-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 16px;
  }

  .about-home-image { order: -1; }

  .about-home-image img { height: 220px; object-fit: cover; }

  .about-home-text h2 { font-size: 26px; }

  /* --- Services home --- */
  .services-home { padding: 60px 0; }

  .services-home-inner { flex-direction: column; gap: 28px; padding: 0 16px; }

  .services-grid { grid-template-columns: 1fr; }

  /* --- Cards (about values) --- */
  .card-grid { grid-template-columns: 1fr; }

  /* --- Section split (about) --- */
  .section { padding: 50px 0; }
  .section-inner.split { grid-template-columns: 1fr; gap: 24px; }
  .section-title { font-size: 24px; }

  /* --- Page hero --- */
  .page-hero { height: 260px; margin-top: 70px; }
  .page-hero-content h1 { font-size: 28px; }
  .page-hero-content p { font-size: 14px; }

  /* --- Service hero --- */
  .service-hero { margin-top: 70px; }
  .service-hero-banner { height: 180px; border-radius: 10px; }
  .service-hero-titlewrap { padding: 20px 18px; }
  .service-title { font-size: 20px; }
  .service-subtitle { display: none; }

  /* --- Service page --- */
  .service-container { grid-template-columns: 1fr; padding: 0 14px; }
  .service-sidebar { position: static; }
  .service-cardbox { padding: 20px 16px; }

  /* --- Footer --- */
  .footer-container { padding: 36px 16px 18px; }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 20px 18px;
    gap: 20px;
  }

  .footer-left h2 { font-size: 22px; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-bottom nav { gap: 8px 14px; }

  /* --- Social widget --- */
  .social-media-widget-small {
    top: auto;
    bottom: 16px;
    right: 10px;
    flex-direction: row;
    transform: none;
  }

  /* --- Buttons full width pe mobil --- */
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .about-home-text .btn-primary,
  .about-home-text .btn-secondary,
  .section-text .btn-primary,
  .section-text .btn-secondary {
    width: auto;
  }
}

/* ============================================================
   DESKTOP LARGE (min 1200px)
   ============================================================ */
@media (min-width: 1200px) {
  .hero-wrapper { max-width: 1100px; }
  .values-inner { max-width: 850px; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-container { max-width: 1200px; }
}