:root {
  --verde-inchis: #006400;
  --verde-deschis: #7bc675;
  --alb: #ffffff;
  --verde-intens: #4aa048;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

body {
  font-family: 'Book Antiqua', serif;
  background: #f8f9fa;
  color: #333;
}

body::after {
  content: "";
  display: block;
  height: 40px; 
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  padding-bottom: 50px; 
}

header {
  position: sticky;
  height: 80px;
  top: 0;
  z-index: 1000;
  background: var(--alb);
  padding: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-bar {
  display: flex;
  height: 80px;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
  display: block;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: rotate(0deg);
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#menu-toggle {
  display: none;
  background: var(--verde-deschis);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  margin-top: 0.5rem;
  border-radius: 5px;
}

.menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: flex-end;
  align-items: center;
  position: fixed;
  top: 20px;
  padding-bottom: 80px; 
}

.menu li {
  text-align: center;
}

.menu a {
  text-decoration: none;
  color: var(--verde-inchis);
  padding: 0.5rem 1rem;
  display: inline-block;
  transition: 0.3s;
  border-radius: 5px;
  min-width: 60px;
  text-align: center;
  margin-right: 2px;
}

.menu a.active,
.menu a:hover {
  background-color: var(--verde-deschis);
  color: white;
}

.submenu {
  display: none;
  position: absolute;
  flex-direction: column;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--alb);
  color: var(--verde-inchis);
  min-width: 200px;
  z-index: 10;
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 5px;
}

.submenu li {
  width: 100%;
}

.submenu li a {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
}

.submenu li a:hover {
  background: var(--verde-deschis);
  color: white;
  border-radius: 5px;
}

.submenu.open {
  display: flex;
}

.submenu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--verde-inchis);
  margin-left: auto;
  cursor: pointer;
}

.has-submenu {
  position: relative;
}

.has-submenu:hover .submenu {
  display: block;
  border-radius: 5px;
}

.submenu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--verde-inchis);
  margin-left: auto;
}

.hero {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;  
  object-position: center;
  display: block;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #333;
  text-align: center;
  background: rgba(246, 246, 246, 0.7);
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1.3rem;
}

.welcome {
  text-align: center;
  padding: 2rem;
}

.box-section {
  padding: 2rem;
  text-align: center;
}

.box {
  border: none;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.mini-box {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;     
  text-align: center;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background-color: white;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mini-box:hover {
  background-color: #e6ffe6;
}

.preview-image {
  width: 80%;
  height: auto;
  padding-top: 1rem;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

.credit {
  font-size: 0.85rem;
  color: #666;
  display: block;
  text-align: center;
  margin-top: 1rem;
  width: 100%;
}

.credit a {
  text-decoration: none;
  color: inherit;
}

.btn {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--verde-deschis);
  color: white;
  text-decoration: none;
  border-radius: 6px;
}

footer {
  text-align: center;
  background: var(--verde-inchis);
  color: #fff;
  position: fixed; 
	width: 100%; 
	display: flex; 
	justify-content: center; 
	align-items: center; 
	padding: 5px 20px; 
	bottom: 0; 
  z-index:9999;
}

.footer-container {
	width: 100%; 
	display: flex; 
	justify-content: center; 
	align-items: center; 
	padding: 5px 40px;
  background-color: var(--verde-inchis);
}

.footer-text p {
  margin-left: 10px; 
  font-size: 20px;
  color: #fff;
  white-space: nowrap;
}

.social-icons {
	display: flex; 
	align-items:center; 
	gap: 10px; 
}

.social-icons a {
	display: inline-flex; 
	justify-content: center; 
	align-items: center; 
	width: 30px; 
	height: 30px; 
	font-size: 20px; 
	text-decoration: none; 
	padding: 5px; 
	background-color: #fff; 
	margin: 0; 
	border-radius: 50%; 
}

.social-icons a i {
	font-size: 20px; 
	color: var(--verde-inchis); 
	opacity: 0.9; 
}

.social-icons a:hover {
	background-color: var(--verde-inchis); 
	transition: 0.5s; 
}

.social-icons a:hover i {
	color: #fff; 
	transition: 0.5s; 
}

.footer-bottom {
	display: flex; 
	justify-content: center; 
	align-items: center; 
	margin: 0; 
	padding: 0; 
}

.footer-bottom p {
	margin: 0; 
	font-size: 15px; 
	color: #fff; 
}

.social-icons img {
  width: 30px;
  margin: 0 10px;
}

.popup {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; 
  top: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  box-sizing: border-box;
  padding-bottom: 140px; 
}

.popup-content {
  background: white;
  max-width: 700px;
  margin: 10% auto;
  padding: 3.5rem;
  border-radius: 10px;
  overflow-y: auto;
  max-height: 80%;
  position: relative;
  box-sizing: border-box;
}

.popup-content h3 {
  /*margin-top: 1rem;*/
  color: #004d26;
}

.popup-content p {
  line-height: 1.6;
  text-align: justify;
}

.popup-content ul {
  padding-left: 3rem; 
  margin-top: 1.5rem;
  line-height: 1.6;
}

.popup-content .credit {
  text-align: center !important;
}

.popup .close {
  position: absolute;
  top: 10px; 
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.popup-image {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;
  border-radius: 12px;
}

.despre-box {
  display: flex;
  border: none;
  border-radius: 12px;
  margin: 2rem 0;
  background-color: var(--alb);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.despre-img {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 33.33%;
  align-items: center;  
  justify-content: center; 
  padding: 1rem; 
}

.despre-img img {
  width: 70%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 12px; 
}

.despre-text {
  flex: 2;
  padding: 1.5rem; 
  max-height: none;
  overflow: visible;
  text-align: justify;
}

.despre-text h2 {
  margin-top: 0;
  color: var(--verde-inchis);
}

.afectiune-box {
  display: flex;
  border: none;
  border-radius: 12px;
  margin: 2rem 0;
  background-color: var(--alb);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.afectiune-img {
  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;   
  flex: 1;
  max-width: 33.33%;
  padding: 1rem; 
}

.afectiune-img img {
  width: 70%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.afectiune-img-double {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  max-width: 33.33%;
  padding: 1rem;
  gap: 1rem;
}

.afectiune-img-double img {
  width: auto;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.afectiune-img .credit {
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
  width: 100%;
}

.afectiune-img .credit a {
  text-decoration: none;
  color: inherit;
}

.afectiune-text {
  flex: 2;
  padding: 1.5rem;
  overflow: visible;
  max-height: none;
  text-align: justify;
  padding-right: 3rem;
}

.afectiune-text h2 {
  margin-top: 0;
  color: var(--verde-inchis);
}

.big-popup-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.big-popup-box {
  border: none;
  border-radius: 12px;
  padding: 2rem;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.big-popup-box:hover {
  background-color: #e6ffe6;
  transform: scale(1.01);
}

.big-popup-box h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--verde-inchis);
}

.big-popup-box.with-image {
  display: flex;
  align-items: center;
  min-height: 140px;  
  position: relative; 
}

.preview-left {
  flex: 0 0 33.33%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 1rem;
}

.preview-left img {
  width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  border-radius: 12px;
}

.preview-right {
  flex: 0 0 66.66%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
  position: relative;
  overflow: hidden;
  max-height: 100px; 
}

.preview-right::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  grid-template-rows: auto auto; 
  gap: 20px;
  margin-top: 2rem;
  padding-bottom: 60px; 
}

.contact-box {
  border: none;
  border-radius: 10px;
  padding: 20px;
  background-color: #fdfdfd;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-box a {
  text-decoration: none;
  color: inherit; 
}

/* ===========================================
   LEGAL PAGES – Politica Confidențialitate,
   Politica Cookie-uri, Termeni și Condiții
   =========================================== */

.legal-wrapper {
    max-width: 900px;
    margin: 120px auto 80px auto; 
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    font-family: 'Book Antiqua', serif;
    color: #333;
    line-height: 1.6;
}

.legal-wrapper h1 {
    font-size: 2.2rem;
    color: var(--verde-inchis);
    text-align: center;
    margin-bottom: 1rem;
}

.legal-meta {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2rem;
    background: #fdfdfd;
    border-left: 5px solid var(--verde-deschis);
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
}

.legal-section h2 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    color: var(--verde-inchis);
}

.legal-section p,
.legal-section ul {
    font-size: 1.05rem;
    text-align: justify;
}

.legal-section ul {
    padding-left: 2rem;
    margin-top: 0.5rem;
}

.legal-wrapper a {
    color: var(--verde-inchis);
    font-weight: bold;
    text-decoration: none;
}

.legal-wrapper a:hover {
    text-decoration: underline;
}

.legal-buttons {
    margin-top: 2rem;
    text-align: center;
}

.legal-buttons a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--verde-deschis);
    color: #fff;
    border-radius: 6px;
    margin: 0.5rem;
    text-decoration: none;
    transition: 0.3s;
}

.legal-buttons a:hover {
    background: var(--verde-inchis);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    margin-left: 20px;
}

.footer-links a {
    color: #fff;               
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-links a:hover {
    color: #038c45;               /* verde mai aprins */
    text-decoration: underline;
}

#cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);     /* fundal semi-transparent peste site */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#cookie-popup {
    background: #ffffff;
    max-width: 720px;
    width: calc(100% - 40px);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    padding: 24px 24px 18px;
    font-size: 14px;
    line-height: 1.5;
}

#cookie-popup h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    color: #024d23; /* verde închis */
}

.cookie-body p {
    margin-top: 0;
    margin-bottom: 14px;
}

.cookie-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.cookie-category {
    flex: 1 1 220px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 12px;
    background: #f9f9f9;
}

.cookie-category .cat-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.cookie-category .cat-desc {
    font-size: 13px;
    color: #444;
}

.cat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 13px;
}

.cookie-links-popup {
    margin-top: 8px;
    font-size: 13px;
    color: #024d23;
}

.cookie-links-popup a {
    color: #024d23;
    text-decoration: none;
}

.cookie-links-popup a:hover {
    text-decoration: underline;
}

/* Butoane jos (Setări / Acceptați toate) */

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
}

#cookie-popup .btn {
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 8px 18px;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.08s ease;
}

#cookie-popup .btn:active {
    transform: scale(0.98);
}

#cookie-popup .btn.btn-accept {
    background-color: #038c45;
    color: #ffffff;
    border-color: #038c45;
}

#cookie-popup .btn.btn-accept:hover {
    background-color: #027338;
    border-color: #027338;
}

#cookie-popup .btn.btn-reject {
    background-color: #ffffff;
    color: #024d23;
    border-color: #7abf9e;
}

#cookie-popup .btn.btn-reject:hover {
    background-color: #e9f5ef;
}



/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    width: 100%;
  }

  .main-nav .menu {
    background-color: white;
    position: fixed;
    top: 80px; 
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    padding: 0.1rem 0.7rem;
    z-index: 999;
  }

  .main-nav .menu li {
    margin: 1rem 0;
  }

  .main-nav .submenu {
    padding-left: 1.5rem;
  }

  #menu-toggle {
    margin-left: auto;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--verde-inchis);
  }

  .menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 80px; 
    left: 0;
    width: 90%;
    height: calc(auto - 80px);
    background-color: var(--alb);
    z-index: 999;
    overflow-y: auto;
    padding: 2px;
  }

  .menu.show {
    display: inline-block;
  }

  .menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    color: var(--verde-inchis);
    text-decoration: none;
  }

  .menu li {
    width: 100%;
    text-align: center;
    display: center;
  }

  .submenu {
    display: inline-block;
    background-color: var(--alb);
    width: 80%;
    padding-left: 2rem;
    display: none;
    flex-direction: column;
  }

  .submenu a {
    padding-left: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-right: 2rem;
  }

  .submenu-toggle {
    display: inline-block;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding-left: 0.5rem;
    transition: transform 0.3s ease;
  }

  .submenu-toggle.rotated {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
  }

  .submenu.open {
    display: flex;
  }

  .has-submenu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .has-submenu .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    flex-direction: column;
  }

  .has-submenu.open .submenu {
    max-height: 500px; 
  }

  .hero {
    height: auto;
    flex-direction: column;
  }

  .hero-image {
    height: auto;
    object-fit: contain;
  }

  .hero-text {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    color: #333;
    background:rgba(246, 246, 246, 0.7);
    padding: 0.5rem;
    margin: 0 auto;
    text-align: center;
    font-size: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  .hero-text h1 {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .hero-text p {
    font-size: 1rem;
    margin: 0;
  }

  .welcome h2 {
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 1rem;
    width: 90%;
    margin: 0 auto;
  }

  .box-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    padding: 1rem 1rem;
    width: 100%;
  }

  .box-section h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .box {
    width: 100%;
    margin: 0 auto 0.5rem auto;
    padding: 0.5rem;
    text-align: center;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: var(--alb); /* sau #fff */
  }

  .box img {
    width: 15%;  
    margin: 0.5%;
    height: auto;
    object-fit: contain;
    display: inline-block;
  }

  .box-grid-3,
  .box-grid-2 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
    padding: 0.5rem;
  }

  .box-grid-3 .box,
  .box-grid-2 .box {
    width: 90%;
    padding: 0.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
  }

  .box-grid-3 .box p,
  .box-grid-2 .box p {
    font-size: 0.7rem;
  }

  .mini-box {
    width: 90%;
    margin: 0 auto 0.5rem auto;
    padding: 0.3rem;
    text-align: center;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: var(--alb); 
  }

  .mini-box p {
    font-size: 0.8rem;
  }

  .mini-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 0.5rem; 
  }

  .popup-content .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #000;
    z-index: 1000;
    background-color: transparent;
    border: none;
    cursor: pointer;
  }

  .popup-content {
    margin-top: 80px; 
    max-height: calc(100% - 100px); 
  }

  .popup {
    padding-top: 60px; 
  }

  .popup-content p {
  text-align: justify;
  }

  .despre-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .despre-img {
    max-width: 100%;
    padding-top: 2rem;
  }

  .despre-text {
    padding: 2rem;
    text-align: left; 
  }

  .despre-text h2 {
    font-size: 1.2rem; 
    margin-bottom: 0.5rem;
  }

  .despre-text p {
    text-align: justify;
    font-size: 0.9rem;  
    line-height: 1.4;
  }

  .afectiune-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .afectiune-img,
  .afectiune-img-double {
    max-width: 100%;
    padding-top: 2rem;
  }

  .afectiune-text {
    padding: 2rem;
    text-align: left; 
  }

  .afectiune-text h2 {
    font-size: 1.2rem; 
    margin-bottom: 0.5rem;
  }

  .afectiune-text p {
    text-align: justify;
    font-size: 0.9rem;  
    line-height: 1.4;
  }

  .afectiune-img img,
  .afectiune-img-double img {
    max-width: 100%;
    height: auto;
  }

  .big-popup-section {
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 50px;
  }

  .big-popup-box {
    display: flex;
    flex-direction: row;
    align-items: center;      
    padding: 0.5rem;
  }

  .preview-right {
    justify-content: flex-start;
    padding: 0.5rem;        
  }

  .preview-right h3 {
    font-size: 1rem; 
    margin-bottom: 0.5rem;
  }

  .preview-right p {
    text-align: justify;
    font-size: 0.9rem;  
    line-height: 1.4;
  }

  .preview-left {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    display: flex;
    align-items: center;      
    justify-content: center;  
    padding: 0.5rem;
  }

  .preview-left img {
    max-width: 100%;
    max-height: 100px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .contact-box {
    width: 100%;
  }

  .contact-box iframe {
    width: 100% !important;
    height: auto;
  }

  .footer-container {
		flex-direction: column; 
		justify-content: center; 
		align-items: center; 
		padding: 0.2rem 0.2rem;
    font-size: 0.8rem;
    width: 90%;
	}
	
	.footer-text p {
		text-align: center; 
    padding: 0.2rem 0.2rem;
    font-size: 0.8rem;
  }

  .legal-wrapper {
      margin: 100px auto 80px auto;         /* lasă spațiu sub header-ul sticky */
      padding: 1.5rem 1.2rem 2.2rem;
      border-radius: 10px;
  }

  .legal-wrapper h1 {
      font-size: 1.5rem;                    /* puțin mai mic decât pe desktop */
      text-align: center;
      margin-bottom: 0.4rem;
  }

  .legal-meta {
      font-size: 0.9rem;
      text-align: center;
      margin-bottom: 1.4rem;
  }

  .legal-section {
      padding: 0.9rem 1rem;
      margin-bottom: 1.2rem;
  }

  .legal-section h2 {
      font-size: 1.15rem;
      margin-bottom: 0.4rem;
  }

  .legal-section p,
  .legal-section ul {
      font-size: 0.95rem;
      line-height: 1.5;
  }

  .legal-section ul {
      padding-left: 1.4rem;
      margin-top: 0.4rem;
  }

  .legal-buttons {
      margin-top: 1.6rem;
      text-align: center;
  }

  .legal-buttons a {
      width: 100%;
      max-width: 260px;
      font-size: 0.95rem;
  }

  .footer-links {
          align-items: center;      /* centrare la mobil */
          text-align: center;
          gap: 10px;
      }

  .footer-links a {
          font-size: 0.8rem;          
          line-height: 1.3;
          color: #fff; 
      }

  #cookie-popup {
          padding: 18px 16px 14px;
          width: calc(100% - 24px);
      }

  .cookie-categories {
          flex-direction: column;
      }

  .cookie-buttons {
          flex-direction: column-reverse;
          align-items: stretch;
      }

  #cookie-popup .btn {
          width: 100%;
          text-align: center;
      }

}