
/* PAGINA: SISTEME-FOTOVOTLAICE  */
/* PASI-PROCES DE LUCRU  */
/* FAQ-SECTION */

/* #0A1F44 - primary_test1 */
/* #097969 - secondary_test1 */
html {
  scroll-behavior: smooth;
}
:root {
margin: 0;
padding: 0;
font-family: 'Inter', 'Roboto';
font-size: 16px;
box-sizing: border-box;
--accent-color:#097969;
--heading-color: #111; /* var(--heading-color) */
--heading-color-white: white;
--font-color: #4B4B4B; /* var(--font-color); */
--font-white: white;
--toggle-tab-color: transparent;
--hover-active-color: transparent;
--header-color: transparent;
--button-bg-color: #097969;
--button-bg-hover: transparent;
--footer-bg: #0A1F44;
--footer-link-hover: #097969;
--footer-heading-color: white;
--footer-txt-color: #cccccc;
--footer-description: #dddddd;
--copywright-bg-color: #06142b;
--copywright-color: #cccccc;
--dark-blue: #0A1F44;
--green: #097969;
--white: #FFFFFF;
--gray-light: #F4F4F4;
--text: #333333;
--desprenoi-dark-blue: #0A1F44;
--desprenoi-green:     #097969;
--desprenoi-white:     #FFFFFF;
--desprenoi-gray-light:#F4F4F4;
--desprenoi-text:      #333333;
}

a {
  all: unset;
  cursor: pointer;
}

/* NAVBAR */
input:focus,
textarea:focus {
  outline: none;
  outline-offset: none;
  border-color: none;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When this class is added (via JS), it animates into place */
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   NAVBAR RESPONSIVE (CLICK‐ONLY)
   ================================ */


/* 2. Creșterea font‐size‐ului implicit în navbar */
.navbar {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  background-color: var(--header-color);
}

/* 3. Stil container navbar */
.navbar {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 60px;
  font-weight: 500px;
}

/* 4. Logo / Brand */
.navbar-brand {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #0A1F44;
  text-decoration: none;
}

/* 5. Meniul principal (liste fără bullets) */
.nav-menu {
  list-style: none;               /* fără bullets */
  display: flex;
  align-items: center;
  gap: 2.89rem;
}

.nav-menu *:hover {
  color:#097969
}

.nav-menu li a:hover {
  color:#097969
}

.nav-menu li {
  position: relative; /* necesar pentru poziționarea dropdown */
  font-weight: 500;
}

/* Link‐uri de top‐level */
.nav-menu > li > a,
.nav-menu > li > .dropdown-label {
  font-size: 1rem;
  color: #0A1F44;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 8px 0;
  cursor: pointer;
  font-weight: 650;
}

.nav-menu > li > a:hover,
.nav-menu > li > .dropdown-label:hover {
  color: #0A1F44;
}

.dropdown-label:hover {
  color:#097969 !important;
}

/* 6. Checkbox‐urile ascunse (nu se văd niciodată) */
.nav-toggle,
.nav-dropdown .sub-toggle {
  display: none;
  /* folosim checkbox‐uri doar pentru a ține starea “deschis/închis” */
}

/* 7. Butonul “hamburger” */
.nav-toggle-label {
  display: none; /* se afișează numai sub 768px */
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #000000;
  transition: transform 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.nav-toggle-label span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-label span::before {
  content: '';
  top: -8px;
}

.nav-toggle-label span::after {
  content: '';
  bottom: -8px;
}

/* Când checkbox‐ul #nav-toggle e bifat, transformăm bara hamburger în “x” */
.nav-toggle:checked + .nav-toggle-label span {
  background-color: transparent;
}
.nav-toggle:checked + .nav-toggle-label span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle:checked + .nav-toggle-label span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* 8. Dropdown‐urile ascunse implicit */
.dropdown-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border: 1px solid #ddd;
  min-width: 200px;
  display: none; /* ascuns implicit */
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 500;
}

.sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  border: 1px solid #ddd;
  display: none;
  flex-direction: column;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 500;
}

.dropdown-label {
  font-weight: inherit;
  color: inherit;
}



/* 9. Afișează dropdown “Servicii” când checkbox‐ul corespunzător e bifat */
#services-toggle:checked + .dropdown-label + .dropdown-menu {
  display: flex;
}

/* 10. Afișează sub‐submenu “Linii electrice” când checkbox‐ul corespunzător e bifat */
#lines-toggle:checked + .dropdown-label + .sub-menu {
  display: flex;
}

/* 11. Stil Link‐uri din dropdown */
.dropdown-menu li a,
.sub-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: #0A1F44;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover,
.sub-menu li a:hover {
  background-color: #f5f5f5;
}

/*------------------------------------
  MEDIA QUERIES: NAVBAR
------------------------------------*/

/* Mobil (< 768px): afișează hamburger și ascunde meniul orizontal */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 1rem;
    display: none; /* implicit ascuns */
  }
  /* când hamburger este bifat, afișează meniul */
  .nav-toggle:checked ~ .nav-menu {
    display: flex;
  }
  /* Re‐aranjează dropdown‐urile în meniul mobil ca poziție relativă */
  .nav-dropdown > .dropdown-menu {
    position: relative;
    top: auto;
    left: auto;
    border: none;
    box-shadow: none;
    width: 100%;
    display: none; /* implicit ascuns */
  }
  .nav-dropdown > .sub-toggle:checked + .dropdown-label + .dropdown-menu {
    display: flex;
    flex-direction: column;
  }
  /* Sub‐submenu în interiorul “Linii electrice” */
  .sub-dropdown > .sub-menu {
    position: relative;
    top: auto;
    left: auto;
    border: none;
    box-shadow: none;
    width: 100%;
    display: none;
  }
  .sub-dropdown > .sub-toggle:checked + .dropdown-label + .sub-menu {
    display: flex;
    flex-direction: column;
  }
  /* Stiluri suplimentare pentru link‐uri pe mobil */
  .nav-menu li a,
  .nav-menu li .dropdown-label {
    width: 100%;
    padding: 10px 0;
  }
}

/* Tabletă mare / laptop mic (769px – 992px) */
@media (min-width: 769px) and (max-width: 992px) {
  .navbar-container {
    padding: 0 16px;
  }
  .nav-menu {
    gap: 1rem;
  }
  .nav-menu > li > a,
  .nav-menu > li > .dropdown-label {
    font-size: 0.95rem;
  }
}



/* ================= */
/* HOME-HERO      */
/* ================= */

#hero {
width: 100%;
height: 50rem;
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/media/carman-international.avif') no-repeat center / cover;
color: white;

}


.container {
width: 100%;
height: 110%;
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: left;
justify-content: center;
flex-direction: column;
}

.container .info h1 {
font-size: 4.2rem !important;
font-weight: 600;
margin-bottom: 0rem;
color: white;
}

.container .info p {
font-size: 1.4rem;
max-width: 70%;
margin-bottom: 2rem;
}

.hero-buttons-container {
  padding-top: 2rem;
}




.home-hero-buttons {
  list-style: none;
  text-decoration: none;
  background-color: var(--button-bg-color);
  color: #fff;
  padding: 8px 0px;
  font-size: 1rem;
  border: 2px solid var(--button-bg-color);
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
  border-radius: 0px;
  cursor: pointer;
  margin-right: 15px;
  padding: 0.5rem 1rem;
}




.home-hero-buttons:hover,
.home-hero-buttons:focus {
cursor: pointer;
background-color: var(--button-bg-hover);
color: white !important;
border-color: var(--button-bg-color) !important;
box-shadow: none;
border-radius: 0px;
font-weight: bold;
}


/* ≤ 320px — telefoane foarte mici */
@media (max-width: 320px) {
  #hero { height: 18rem; padding: 2rem 0.3rem; }
  .container .info h1 { font-size: 1.4rem !important; }
  .container .info p { font-size: 0.8rem; }
  .home-hero-buttons { font-size: 1rem; padding: 0.5rem 0; }
}

/* ≥ 480px — telefoane (portrait) */
@media (min-width: 480px) {
  #hero { height: 22rem; }
  .container .info h1 { font-size: 1.9rem !important; }
  .container .info p { font-size: 1rem; }
  .home-hero-buttons { font-size: 1.08rem; }
}

/* ≥ 576px — telefoane mari (landscape) */
@media (min-width: 576px) {
  #hero { height: 26rem; }
  .container .info h1 { font-size: 2.2rem !important; }
  .container .info p { font-size: 1.08rem; }
  .home-hero-buttons { font-size: 1.15rem; }
  .xyz-desprenoi-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ≥ 768px — tablete (portrait) */
@media (min-width: 768px) {
  #hero { height: 36rem; }
  .container { padding: 0 1.5rem; }
  .container .info h1 { font-size: 2.8rem !important; }
  .container .info p { font-size: 1.18rem; }
  .home-hero-buttons { font-size: 1.18rem; }
  .xyz-desprenoi-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ≥ 992px — tablete (landscape) / laptopuri mici */
@media (min-width: 992px) {
  #hero { height: 50rem; }
  .container { max-width: 1200px; }
  .container .info h1 { font-size: 4.2rem !important; }
  .container .info p { font-size: 1.4rem; }
  .home-hero-buttons { font-size: 1.2rem; }
  .xyz-desprenoi-grid-4 { grid-template-columns: repeat(4, 1fr); }
}


/* UNDOING THE REVEALING FOOTER EFFECT FOR MOBILE */

@media (max-width: 600px) {
  footer,
  .mega-footer {
    position: static !important;
    bottom: auto !important;
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    padding-top: 1rem !important;
    margin-top: 0 !important;

  }
  body, .main, .page-content, .site-content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .container-grid h2 {
    font-size: 2rem !important;
    padding-bottom: 8rem;
    font-weight:100;
  }
  .contact-section {
    margin-bottom: 0px !important;
  }
  .footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem auto;
    width: 100%;
  }
  .footer-logo img {
    display: block;
    margin: 0 auto;
    max-width: 120px; /* or as needed */
    height: auto;
  }
  .footer-col #ul-servicii,
  .footer-col #ul-us {
    line-height: 2rem;
  }
  .footer-cool {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem auto;
    width: 100%;
  }
  .footer-description {
    display: block;
    margin: 0 auto;
    max-width: 120px; /* or as needed */
    height: auto;
  }
}


/* ============================
SECȚIUNE DESPRE NOI (NOI)
============================ */

.about-section {
width: 100%;
padding: 160px 120px; /* am micșorat padding-ul pentru a nu fi prea “mare” */
background-color: #fff;
}

.about-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center; /* aliniere verticală centru */
justify-content: space-between;
gap: 2rem;
}

/* —— Partea cu imagini overlapped —— */
.about-images {
position: relative;
flex: 1 1 45%;      /* ocupă aproximativ 45% din lățime */
min-width: 280px;
}

/* Imaginea mare de fundal (determină înălțimea) */
.about-images .img-large {
display: block;
width: 100%;
max-width: 500px;   /* nu depășește 500px lățime */
height: auto;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
border-radius: 1px;
}

/* Imaginile mici suprapuse */
.about-images .img-small {
position: absolute;
width: 160px;       /* puțin mai mici decât înainte */
height: auto;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
border-radius: 0px;
}

/* Imagine mică în stânga sus */
.about-images .img-small.top-left {
top: -20px;
left: -20px;
}

/* Imagine mică în dreapta jos */
.about-images .img-small.right {
bottom: -20px;
right: 30px;
}

/* —— Partea de text —— */
.about-text-new {
flex: 1 1 50%;      /* ocupă aproximativ 50% din lățime */
min-width: 300px;
display: flex;
flex-direction: column;
}

.about-intro {
font-size: 0.9rem;
color: var(--accent-color);
font-style: italic;
margin-bottom: 0.5rem;
}

.about-heading {
font-size: 2rem;
color: var(--heading-color);
margin-bottom: 1rem;
font-weight: 600;
}

.about-paragraph {
font-size: 1rem;
color: #444;
line-height: 1.6;
margin-bottom: 1.5rem;
max-width: 600px;
}

.about-buttons {
display: flex;
gap: 1rem;
}

/* Buton clasic cu bordură */
.btn-outline {
background-color: transparent;
color: #000000;
border: 1px solid #000000;
padding: 0.7rem 1.5rem;
font-size: 0.95rem;
cursor: pointer;
transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
background-color: #111;
color: #fff;
}

/* Buton “link‐style” */
.btn-link {
background-color: transparent;
color: #111;
border: none;
padding: 0.7rem 1.5rem;
font-size: 0.95rem;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 0.3rem;
transition: color 0.2s ease;
}

.btn-link:hover {
color: #000;
}

/* =========================================
MEDIA QUERIES: SECȚIUNE DESPRE NOI (NOI)
========================================= */

/* Tabletă și laptop mic (sub 992px) */
/* Base styles – Mobile-first */

/* Small devices (landscape phones, ≥576px) */
/* —— Media Queries pentru .about-section —— */

/* Large tablets / small desktops */
@media (max-width: 1200px) {
.about-section {
padding: 120px 80px;
}
.about-container {
gap: 1.5rem;
}
.about-images .img-large {
max-width: 400px;
}
.about-images .img-small {
width: 140px;
}
.about-paragraph {
max-width: 100%;
}
}

/* Tablets and portrait tablets */
@media (max-width: 768px) {
.about-section {
padding: 100px 2.2rem;
}
.about-container {
flex-direction: column;
align-items: flex-start;
}
.about-images,
.about-text-new {
width: 100%;
min-width: auto;
}
.about-images {
order: 2;
margin-top: 2rem;
}
.about-text-new {
order: 1;
}
.about-images .img-large {
max-width: 100%;
}
.about-images .img-small.top-left {
top: 0;
left: 0;
}
.about-images .img-small.right {
bottom: 0;
right: 0;
}
.about-buttons {
flex-direction: column;
width: 100%;
}
.btn-outline,
.btn-link {
width: 100%;
text-align: center;
}
}

/* Mobile phones */
@media (max-width: 480px) {
.about-section {
padding: 80px 20px;
}
.about-intro {
font-size: 0.8rem;
}
.about-heading {
font-size: 1.5rem;
}
.about-paragraph {
font-size: 0.95rem;
}
/* Reduce sau ascunde imaginile mici pentru a nu aglomera */
.about-images .img-small {
display: none;
}
.about-images .img-large {
max-width: 100%;
box-shadow: none;
}
.about-buttons {
gap: 0.5rem;
}
}



/* ---------------------------------------- */
/* PREZENTARE SERVICII - CARUSEL             */
/* ---------------------------------------- */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: Arial, sans-serif;
line-height: 1.5;
}

.container-s {
max-width: 1200px;
margin: 0 auto;
padding: 100px 100px;
text-align: center;
}

/* Titluri și subtitlu */
.container-s h2 {
font-size: 14px;
text-transform: uppercase;
color: #555;
margin-bottom: 0.6rem;
color: var(--heading-color);
}

.container-s h3 {
font-size: 1rem;
font-weight: 400;
margin-bottom: 0.8rem;
color: var(--heading-color);
}

.container-s .subtitlu {
font-size: 16px;
color: #777;
margin-bottom: 3rem;
}

/* Wrapper carousel */
.carousel-wrapper {
overflow: hidden;
}

/* Carousel */
.carousel {
display: flex;
gap: 20px;
overflow-x: auto;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
}

/* Ascunde scrollbar (WebKit + Firefox) */
.carousel::-webkit-scrollbar {
display: none;
}
.carousel {
-ms-overflow-style: none;
scrollbar-width: none;
gap: rem;
}

/* Fiecare card */
.card {
flex: 0 0 calc( (100% - 40px* ( (3 - 1) / 3 )) / 3 );
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/media/delete-fast.webp') no-repeat center / cover;

border-radius: 0px;
scroll-snap-align: start;
text-align: left;
}

.card .tagline {
display: block;
font-size: 12px;
text-transform: uppercase;
color: #ffffff;
margin-bottom: 6px;
}

.card h4 {
font-size: 20px;
margin-bottom: 10px;
color: #ffffff;
color: var(--heading-color-white);
}

.card p {
font-size: 14px;
color: #ffffff;
margin-bottom: 16px;
}

.card .btn-link {
font-size: 14px;
text-decoration: none;
color: #ffffff;
font-weight: bold;
}

/*----------------------------
MEDIA QUERIES: CAROUSEL
----------------------------*/

@media (max-width: 992px) {
.card {
flex: 0 0 calc((100% - 20px) / 2); /* 2 carduri pe rând */
}
}

@media (max-width: 768px) {
.card {
flex: 0 0 100%; /* 1 card pe rând */
}
}

@media (max-width: 480px) {
.container-s h3 {
font-size: 24px;
}
.container-s .subtitlu {
font-size: 14px;
}
.card h4 {
font-size: 18px;
}
.card p {
font-size: 13px;
}
.card .btn-link {
font-size: 13px;
}
}





/* ---------------------------------------- */
/* SECȚIUNEA BENEFICII (GRID CARDS)         */
/* ---------------------------------------- */

.beneficii-grid-h {
width: 100%;
padding: 120px 0px 120px 0px;
background-color: #ffffff;
text-align: center;
}

.beneficii-grid-h h3 {
font-size: 1.8rem;
font-weight: 500;
color: var(--heading-color);
margin-bottom: 0.5rem;
}

.beneficii-grid-h .subtitlu-grid {
font-size: 1rem;
color: var(--accent-color);
margin-top: 0.2rem;
margin-bottom: 1rem;
max-width: 600px;
margin-left: auto;
margin-right: auto;
font-style: italic;
}

.container-grid {
max-width: 1200px;
margin: 0 auto;
}

.container-grid h2 {
  font-size: 2.5rem;
  padding-bottom: 8rem;
  font-weight: 600;
}


.grid-cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}


.beneficiu-card {
background-color: white;
border-radius: 1px;
padding:20px 30px 30px 30px;
text-align: center;
transition: transform 0.2s ease;
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.beneficiu-card:hover {
transform: translateY(-5px);
}

.icon-circle {
display: inline-flex;
align-items: center;
justify-content: center;
width: 80px;
height: 80px;
border-radius: 50%;
background-color: #eeeeee;
font-size: 1.5rem;
margin-bottom: 12px;
}


.icon-circle-expertiza img {
  width: 55px;
}

.icon-circle-solutii img {
  width: 55px;
}
.icon-circle-predictibilitate img {
  width: 55px;
}
.icon-circle-operationala img {
  width: 60px;
  padding-left: 10px;
}
.icon-circle-scalabilitate img {
  width: 70px;
}
.icon-circle-transparenta img {
  width: 53px;
}


.titlu-card {
font-size: 1.6rem !important;
color: var(--font-color);
margin-bottom: 8px;
}

.text-card {
font-size: 0.95rem;
color: var(--font-color);
line-height: 1.4;
}

/*----------------------------
MEDIA QUERIES: BENEFICII
----------------------------*/

@media (max-width: 992px) {
.grid-cards {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 600px) {
.grid-cards {
grid-template-columns: 1fr;
}
.beneficii-grid {
padding: 40px 10px;
}
.beneficiu-card {
padding: 16px;
}
.icon-circle {
width: 50px;
height: 50px;
font-size: 1.3rem;
}
.titlu-card {
font-size: 1.1rem;
}
.text-card {
font-size: 0.9rem;
}
}


/* ------------------------------- */
/* TESTIMONIALS                    */
/* ------------------------------- */


.customer-swiper {
  overflow: hidden;
  margin: 0px -20px; /* Pull the container wider */
  max-width:1100px;
  gap: 0px !important;
  padding: 140px 0px 120px 0px !important;
}


.customer-h  {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  margin-bottom: 2rem;
}

.customer-h h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 2.9rem;
}

.text-dreapta {
  align-self: center;
  padding-left: 1.2rem;
  font-size: 1.05rem;

}

.testimoniale {
  padding-bottom: 0.4rem;
  color: var(--green);
  font-style: italic;
}

.customer-swiper-slide {
  padding: 0px;
  margin: 0px;
}
.swiper-slide {
  padding: 0px;
  margin: 0px;
}

.swiper-pagination-bullet-active {
background-color: var(--heading-color); /* active */
}

.testimonial-card {
background: #fff;
padding: 30px;
margin-bottom: 15px;
margin-top: 15px;
border-radius: 0px;
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
text-align: center;
}
.testimonial-logo {
width: 60px;
height: 60px;
object-fit: contain;
margin-bottom: 15px;
display: block;
margin: 0 auto 1rem auto;
max-width: 80px;  /* or as needed */
height: auto;
}
.testimonial-text {
font-size: 15px;
color: #333;
margin-bottom: 20px;
}
.testimonial-name {
font-weight: 350;
margin-bottom: 5px;
}
.testimonial-role {
font-size: 14px;
color: var(--heading-color);
}


/*----------------------------
----------------------------------------------------------------- SECȚIUNE PARTENERI (GRID LOGOS)
----------------------------*/


.partners{
padding: 60px 0;
background: #f8f9fa;
overflow: hidden;                 /* ascunde track-ul în afara viewport-ului */
}

.partners__title{
margin-bottom: 2.5rem;
text-align: center;
font-size: 2rem;
font-weight: 600;
}

/* --- carusel orizontal infinit --- */
.logo-carousel{
width: 100%;
overflow: hidden;
}

.logo-track{
display: flex;
gap: 3rem;
animation: logos-scroll 20s linear infinite;
}

.logo-track img{
height: 60px;                    /* adaptează după nevoie */
object-fit: contain;
filter: grayscale(100%);
opacity: .75;
transition: filter .3s, opacity .3s;
}

.logo-track img:hover{
filter: none;
opacity: 1;
}


/*----------------------------
----------------------------------------------------------------- MEDIA QUERIES: PARTENERI
----------------------------*/


@keyframes logos-scroll{
0%   { transform: translateX(0); }
100% { transform: translateX(calc(-50% - 1.5rem)); }
}

/* --- responsivitate rapidă --- */
@media (max-width: 576px){
.logo-track{ gap: 2rem; }
.logo-track img{ height: 48px; }
}

@media (max-width: 768px) {
  .customer-swiper {
    padding: 10rem 1.8rem;
  }
}


/*----------------------------
----------------------------------------------------------------- SECȚIUNE CONTACT US (MAP + FORM)
----------------------------*/

.contact-section {
width: 100%;
background-color: #ffffff;
font-family: Arial, sans-serif;
}

.contact-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: flex-start;
gap: 2rem;
}

.contact-map {
flex: 1 1 50%;
min-width: 300px;
}

.contact-map img {
width: 100%;
height: auto;
display: block;
border: 1px solid #e0e0e0;
}

.contact-info {
flex: 1 1 50%;
min-width: 300px;
display: flex;
flex-direction: column;
}

.contact-tagline {
font-size: 14px;
text-transform: uppercase;
color: var(--font-color);
margin-bottom: 8px;
}

.contact-title {
font-size: 32px;
color: var(--font-color);
margin-bottom: 12px;
}

.contact-desc {
font-size: 16px;
color: var(--font-color);
margin-bottom: 24px;
max-width: 500px;
}

.contact-form {
width: 100%;
display: flex;
flex-direction: column;
gap: 16px;
}

.form-group {
display: flex;
flex-direction: column;
}

.form-group label {
font-size: 14px;
color: var(--font-color);
margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
font-size: 14px;
padding: 10px 12px;
border: 1px solid #000000;
border-radius: 2px;
resize: vertical;
color: var(--font-color);
}

.form-group input[type="text"],
.form-group input[type="email"] {
height: 40px;
}

.form-group textarea {
min-height: 120px;
}

.checkbox-group {
flex-direction: row;
align-items: center;
gap: 8px;
}

.checkbox-group input[type="checkbox"] {
width: 16px;
height: 16px;
}

.contact-button {
width: 120px;
background-color: #000000;
color: #ffffff;
font-size: 16px;
padding: 10px 0;
border: none;
cursor: pointer;
transition: background-color 0.2s ease;
}

.contact-button:hover {
background-color: var(--button-bg-color);
}

/*----------------------------
MEDIA QUERIES: CONTACT
----------------------------*/

/*----------------------------
----------------------------------------------------------------- MEDIA QUERIES: CONTACT
----------------------------*/

@media (max-width: 992px) {
.contact-container {
gap: 1.5rem;
}
.contact-desc {
max-width: 100%;
}
.contact-button {
width: 100%;
text-align: center;
}
}

@media (max-width: 768px) {
.contact-container {
flex-direction: column;
gap: 2rem;
}
.contact-map,
.contact-info {
min-width: 100%;
}
}

@media (max-width: 480px) {
.contact-desc {
font-size: 14px;
margin-bottom: 16px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
font-size: 13px;
padding: 8px 10px;
}
.contact-button {
font-size: 14px;
padding: 8px 0;
}
.contact-title {
font-size: 28px;
margin-bottom: 8px;
}
.contact-tagline {
font-size: 12px;
margin-bottom: 6px;
}
}


/* =================================== */
/* MEGA-FOOTER (PROFESIONAL, DARK MODE) */
/* =================================== */

/*----------------------------
----------------------------------------------------------------- MEGA-FOOTER (PROFESIONAL, DARK MODE)
----------------------------*/

/* UPDATES */

#footer-logo {
  min-width: 300px;
}

/* UPDATES */

.mega-footer {
  background-color: var(--footer-bg);
  position: fixed;
  z-index: -1;
  bottom: 0;
  width: 100%;
  padding-top: 100vh;
  } /* WIDGET-URILE DIN FOOTER */
  .footer-widgets {
  background-color: var(--footer-bg);
  display: grid;
  grid-template-columns: 40% 20% 20% 20%;
  gap: 0rem;
  padding: 30px 20px 40px;
  color: var(--footer-txt-color);
  font-size: 14px;
  max-width: 1140px;
  margin: 0 auto;
  z-index: -1;
  }
.footer-col #ul-servicii {
transform: translateX(4.5rem);
}
.footer-col #ul-us {
transform: translateX(4rem);
}
.footer-col .footer-socials {
display: flex;
flex-direction: row;
justify-content: center;
padding-top: 1.1rem;
gap: 0.6rem;
}
.footer-col .img-gdpr img {
width: 10rem !important;
padding-bottom: 1rem;
}
.footer-col .img-gdpr {
padding-top: rem;
width: 9rem;
margin: 0 auto;
gap: 4rem ;
}

.footer-col {
flex: 1 1 220px;
min-width: 220px;
align-items: center;
}
.footer-col.about .footer-logo img {
max-width: 160px;
height: auto;
margin-bottom: 1rem;
}
.footer-description {
font-size: 0.9rem !important;
color: var(--footer-description);
margin-bottom: 1.5rem;
line-height: 1.4;
padding: 0px 0px 80px;
max-width: 90%;
font-size: 0.9rem;
font-weight: 250 !important;
}
.social-link {
color: var(--footer-color);
transition: color 0.2s ease;
}
.social-link:hover {
color: --footer-link-hover;
}
.footer-heading {
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 2rem;
color: var(--footer-heading-color);
}
.footer-list {
list-style: none;
padding: 0;
margin: 0;
}
.footer-list li {
margin-bottom: 0.5rem;
font-weight: 340;
}
.footer-list li a {
color: var(--footer-color);
text-decoration: none;
transition: color 0.2s ease;
font-size: 0.9rem;
}
.footer-list li a:hover {
color: var(--footer-link-hover);
}
.footer-sublink-title {
font-weight: 500;
display: block;
margin-top: 0.5rem;
margin-bottom: 0.3rem;
color: var(--footer-color);
font-size: 14px;
}
.footer-sublinks {
list-style: none;
padding-left: 1rem;
margin: 0;
}
.footer-sublinks li {
margin-bottom: 0.5rem;
}
.footer-sublinks li a {
color: var(--footer-color);
text-decoration: none;
font-size: 13px;
}
.footer-sublinks li a:hover {
color: var(--footer-color);
}
.contact-info {
margin-top: 1.5rem;
font-size: 14px;
color: var(--footer-color);
}
.contact-info a {
color: var(--footer-color);
text-decoration: none;
transition: color 0.2s ease;
}
.contact-info a:hover {
color: var(--footer-link-hover);
}


/* ---------------------------- COPYWRIGHT  */

.footer-bottom {
width: 100%;
background-color: var(--copywright-bg-color);
padding: 20px;
text-align: center;
font-weight:300;
}
.footer-bottom p {
margin: 0;
font-size: 13px;
color: var(--copywright-color);
}

/*----------------------------
------------------------------ sisteme-fotovoltaice/MEGA-FOOTER/MEDIA-QUIRIES
----------------------------*/



/* ≤ 1024px: switch to two columns */
@media (max-width: 1024px) {
  .footer-widgets {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 20px 15px 30px;
  }
  /* reset sidebar transforms */
  .footer-col #ul-servicii,
  .footer-col #ul-us {
    transform: none;
  }
  .footer-col .img-gdpr,
  .footer-col .img-gdpr img {
    width: 10rem !important;
    padding-bottom: 1rem;
  }
}

/* ≤ 768px: single‐column stack */
@media (max-width: 768px) {
  .footer-widgets {
    grid-template-columns: 1fr;
    padding: 15px 10px 20px;
  }
  .footer-col {
    text-align: center;
    align-items: center;
  }
  .footer-col .footer-socials {
    justify-content: center;
  }
  .footer-col .img-gdpr {
    margin: 1rem auto 0;
    width: 6rem;
  }
}

/* ≤ 480px: tighten spacing and font sizes */
@media (max-width: 480px) {
  .footer-widgets {
    padding: 10px 5px 15px;
  }
  .footer-heading {
    font-size: 1.1rem;
  }
  .footer-list li,
  .footer-sublinks li {
    margin-bottom: 0.4rem;
  }
  .footer-list li a,
  .footer-sublinks li a {
    font-size: 0.85rem;
  }
  .footer-description,
  .contact-info {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
}








/*----------------------------
------------------------------ sisteme-fotovoltaice/HERO-SECTION
----------------------------*/

#hero-sisteme {
width: 100%;
height: 50vh;
color: white;
background-attachment: fixed;
}

.hero-fotovoltaice {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/media/sisteme-fotovoltaice/firma-instalatii-fotovoltaice.avif') no-repeat center / cover;  
}

.hero-posturi {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/media/description/serviciu-de-instalare-post-de-transformare.avif') no-repeat center / cover;
  background-position: center top 60%; /* Adjust this value as needed */
}

.hero-priza {
  /* /media/hero-background/impamantare-naturala-platbanda-otel-zincat-e1524285525626.jpg */
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/media/hero-background/impamantare-naturala-platbanda-otel-zincat-e1524285525626.avif') no-repeat center / cover;
}
.hero-iluminat {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/media/home/instalatii-de-iluminat-industriale.avif') no-repeat center / cover;
  background-position: center top 160%; /* Adjust this value as needed */
}

.hero-tablouri {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/media/hero-background/instalator-tablouri-electrice.avif') no-repeat center / cover;
}

.hero-pram {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/media/description/serviciu-verificari-pram.avif') no-repeat center / cover;
}

.hero-linii {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/media/hero-background/instalare-linii-electrice.avif') no-repeat center / cover;
  background-position: center top 30%;
}

.container-sisteme {
width: 100%;
height: 105%;
max-width: 1000px;
margin: 0 auto;
display: flex;
align-items: left;
justify-content: center;
flex-direction: column;
max-width: 1200px;
}

.container-sisteme .info-sisteme h1 {
font-size: 3rem;
margin-bottom: 0.1rem;
color: white;
}
#hero-sisteme .container-sisteme .info-sisteme h2 {
font-size: 1.6rem;
margin-bottom: 0.5rem;
color: white;
}

.container-sisteme .info-sisteme p {
font-size: 1.5rem;
max-width: 70%;
margin-bottom: 1rem;
}

.container-sisteme .info-sisteme button {
text-decoration: none;
background-color: var(--button-bg-color);
border-radius: 4px;
font-size: 1.8rem;
padding: 1em 2em;
margin-top: 2rem;
}


/*----------------------------
------------------------------ mediaqueries
----------------------------*/

@media (max-width: 992px) {
#hero-sisteme {
height: 80vh;
}
.container-sisteme {
width: 95%;
}
.container-sisteme .info-sisteme h1 {
font-size: 2.2rem;
color: white;
}
#hero-sisteme .container-sisteme .info h2 {
font-size: 1.4rem;
}
.container-sisteme .info-sisteme p {
font-size: 0.95rem;
max-width: 80%;
}
.container-sisteme .info-sisteme button {
font-size: 1.6rem;
padding: 0.9em 1.8em;
}
}

@media (max-width: 768px) {
#hero-sisteme {
height: auto;
padding: 60px 0;
background-attachment: scroll;
}
.container-sisteme {
width: 100%;
padding: 0 20px;
align-items: flex-start;
}
.container-sisteme .info-sisteme h1 {
font-size: 2rem;
color: white;
}
#hero-sisteme .container-sisteme .info-sisteme h2 {
font-size: 1.2rem;
color: white;
}
.container-sisteme .info-sisteme p {
font-size: 0.9rem;
max-width: 100%;
margin-bottom: 1rem;
}
.container-sisteme .info-sisteme button {
font-size: 1.4rem;
padding: 0.8em 1.5em;
margin-top: 1.5rem;
}
}

@media (max-width: 600px) {
#hero-sisteme {
padding: 40px 0;
}
.container-sisteme {
padding: 0 16px;
}
.container-sisteme .info-sisteme h1 {
font-size: 1.8rem;
margin-bottom: 0.4rem;
color: white;
}
#hero-sisteme .container-sisteme .info-sisteme h2 {
font-size: 1rem;
margin-bottom: 0.4rem;
}
.container-sisteme .info-sisteme p {
font-size: 0.8rem;
margin-bottom: 0.8rem;
}
.container-sisteme .info-sisteme button {
width: 100%;
font-size: 1.2rem;
padding: 0.7em 0;
}
}






/*----------------------------
------------------------------ sisteme-fotovoltaice/SERVICE-DESCRIPTION
----------------------------*/


.custom-section {
width: 100%;
height: 100%;
max-width: 1140px;
margin: 0 auto;
justify-content: center;
display: flex;
align-items: center;
gap: 40px;           
padding: 120px 20px; 
}

.image-box {
width: 480px;
border-radius: 2px;
overflow: hidden;
flex-shrink: 0;
}


.image-box img {
display: block;
width: 100%;
max-width: 550px;  
height: auto;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
border-radius: 2px;
}

.text-box {
flex: 1 1 50%;
min-width: 300px;
display: flex;
flex-direction: column;
gap: 0;
}


.text-box h2 {
font-weight: 600;
font-size: 2.2rem;
margin-bottom: 1rem;
color: var(--heading-color);
line-height: 2.2rem;
padding-bottom: 0rem;
}

.text-box p {
font-size: 0.95rem;
color: #333333;
line-height: 1.5;
}

/*----------------------------
------------------------------ mediaqueries
----------------------------*/

@media (max-width: 1024px) {
.custom-section {
padding: 100px 20px;
gap: 20px;
}

.image-box {
width: 400px;
}

.text-box {
min-width: 250px;
}
}


@media (max-width: 768px) {
.custom-section {
flex-direction: column;
align-items: stretch;
padding: 80px 15px;
gap: 30px;
}

.image-box {
width: 100%;
}

.text-box {
min-width: auto;
width: 100%;
}
}


@media (max-width: 480px) {
.custom-section {
padding: 60px 10px;
gap: 20px;
}

.image-box {
width: 100%;
}

.text-box h2 {
font-size: 1.5rem;
margin-bottom: 0.75rem;
color: var(--heading-color);
}

.text-box p {
font-size: 0.9rem;
line-height: 1.4;
}
}


/*----------------------------
------------------------------ sisteme-fotovoltaice/BENEFITS
----------------------------*/


.beneficii-section {
height: 100%;
max-width: 1140px;
margin: auto;
display: flex;
align-items: flex-start;
justify-content: flex-end;
gap: 3rem;
padding: 80px 0px 60px 0px;
transform: translateX(15px);
}



.beneficii-text {
flex: 1;
max-width: 450px;
padding: 0;
margin: 0;
}

.beneficii-text h2 {
font-weight: 600;
font-size: 1.9rem;
margin-bottom: 1rem;
color: var(--heading-color);
line-height: 2.3rem;
padding-bottom: 0rem;
}

.beneficii-text p {
font-size: 1rem;
line-height: 1.5;
color: #333333;
width: 100%;
}

.beneficii-grid {
flex: 2;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0px;
padding: 0%;
margin: 0%;
}

.beneficiu-sisteme-card {
border-radius: 2px;
padding: 15px;
text-align: center;
display: flex;
flex-direction: column;
text-align: left;
}

.beneficiu-sisteme-card .icon {
width: 60px;
height: 60px;
border-radius: 2px;
margin-bottom: 12px;
object-fit: cover;
}

.beneficiu-sisteme-card h3 {
font-size: 1.1rem;
margin-bottom: 8px;
color: var(--heading-color);
}

.beneficiu-sisteme-card p {
font-size: 0.9rem;
color: #555555;
line-height: 1.4;
margin-bottom: 4px;
}

.beneficiu-sisteme-card.target {
padding-right: 10px
}

/*----------------------------
------------------------------ mediaqueries
----------------------------*/


/* ≤ 1024px */
@media (max-width: 1024px) {
.beneficii-section {
padding: 60px 0 40px;
gap: 2rem;
transform: translateX(10px);
}

.beneficii-text {
max-width: 400px;
}
.beneficii-text h2 {
font-size: 1.75rem;
color: var(--heading-color);
}

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

/* ≤ 768px */
@media (max-width: 768px) {
.beneficii-section {
flex-direction: column;
align-items: center;
padding: 50px 15px 30px;
gap: 2rem;
transform: none;
}

.beneficii-text {
max-width: 100%;
margin-bottom: 20px;
text-align: center;
}
.beneficii-text h2 {
font-size: 1.75rem;
color: var(--heading-color);
}

.beneficii-grid {
width: 100%;
grid-template-columns: 1fr;
gap: 1rem;
}

.beneficiu-sisteme-card {
width: 100%;
padding: 10px;
}
}

/* ≤ 480px */
@media (max-width: 480px) {
.beneficii-section {
padding: 40px 10px 20px;
gap: 1rem;
}

.beneficii-text h2 {
font-size: 1.5rem;
margin-bottom: 0.75rem;
color: var(--heading-color);
}
.beneficii-text p {
font-size: 0.9rem;
line-height: 1.4;
}

.beneficii-grid {
gap: 0.5rem;
}

.beneficiu-sisteme-card .icon {
width: 50px;
height: 50px;
margin-bottom: 10px;
}
.beneficiu-sisteme-card h3 {
font-size: 1rem;
margin-bottom: 6px;
}
.beneficiu-sisteme-card p {
font-size: 0.8rem;
margin-bottom: 2px;
}
}




/*----------------------------
------------------------------ sisteme-fotovoltaice/TOGGLE TAB 
----------------------------*/


.toggle-section {
max-width: 1000px;
margin: 0 auto;
padding: 80px 0px 60px 0px;
}
.toggle-section h2 {
font-size: 2rem;
color: var(--heading-color);
margin-bottom: 0.5rem;
padding-bottom: 4rem;
text-align: center;
}
.tabs {
display: flex;
width: 100%;
list-style: none;
padding: 0px;
margin: 0;
}

.toggle-section .tabs li {
font-size: 1.15rem;
}
/* #0A1F44 - primary_test1 */
/* #097969 - secondary_test1 */
.tab {
flex: 1;
text-align: center;
padding: 0.7rem 0;
cursor: pointer;
color: #FFFFFF;
background-color: var(--accent-color);
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
.tab:not(.active):hover {
opacity: 0.8;
}
.tab.active {
background-color: #0A1F44;
color: #fff;
font-weight: bold;
}
.tab-content {
display: none;
align-items: center;
margin-top: 0;
padding: 2rem;
border: 2px solid #000000;
border-radius: 0;
border-top: none;
}
.tab-content.active {
display: flex;
}
.content-image {
flex: 1;
padding-right: 1rem;
}
.content-text {
flex: 1;
padding-left: 1rem;
}
.content-image img {
max-width: 100%;
height: auto;
border-radius: 0px;
}
.tab {
font-size: 14px;
}


/*----------------------------
------------------------------ mediaqueries 
----------------------------*/

/* ≤ 1024px */
@media (max-width: 1024px) {
.toggle-section {
padding: 60px 0 40px;
}
.toggle-section h2 {
font-size: 1.75rem;
padding-bottom: 3rem;
}
.tabs {
gap: 0.5rem;
}
.tab {
padding: 0.6rem 0;
font-size: 13px;
}
.tab-content {
padding: 1.5rem;
}
.content-image,
.content-text {
padding: 0.5rem;
}
}

/* ≤ 768px */
@media (max-width: 768px) {
.toggle-section {
padding: 50px 10px 30px;
}
.toggle-section h2 {
font-size: 1.5rem;
padding-bottom: 2.5rem;
text-align: center;
}
.tabs {
flex-wrap: wrap;
}
.tab {
flex: 1 1 50%;
font-size: 13px;
padding: 0.5rem 0;
}
.tab-content {
flex-direction: column;
padding: 1rem;
}
.content-image,
.content-text {
width: 100%;
padding: 0.5rem 0;
}
}

/* ≤ 480px */
@media (max-width: 480px) {
.toggle-section {
padding: 40px 5px 20px;
}
.toggle-section h2 {
font-size: 1.25rem;
padding-bottom: 2rem;
color: var(--heading-color);
}
.tabs {
overflow-x: auto;
}
.tab {
flex: 1 0 auto;
font-size: 12px;
padding: 0.4rem 0;
min-width: 100px;
}
.tab-content {
padding: 0.75rem;
}
.content-image img {
width: 100%;
height: auto;
}
.content-image,
.content-text {
padding: 0.5rem 0;
}
}



/*----------------------------
------------------------------ FAQ-SECTION
----------------------------*/


/* Container spacing */
.faq-section {
padding: 80px 0px 60px 0px;
max-width: 1140px;
margin: 0 auto;
}

/* Title */
.faq-title {
font-size: 2rem;
text-align: center;
margin-bottom: 4rem;
font-weight: 600;
color: #000000;
}

/* Layout wrapper */
.faq-container {
display: flex;
flex-direction: column;
gap: 16px;
}

/* Each FAQ box */
.faq-item {
border: 1px solid #e0e0e0;
border-radius: 0px;
overflow: hidden;
}

/* The clickable summary bar */
.faq-item > summary {
cursor: pointer;
padding: 10px 20px;
list-style: none;           /* no default marker */
font-size: 1.1rem;
font-weight: 490;
background-color: #f9f9f9;
color: #111111;
position: relative;
}

/* Hide the built-in triangle */
.faq-item > summary::-webkit-details-marker {
display: none;
}

/* Add “+” icon; switch to “−” when open */
.faq-item > summary::after {
content: "+";
position: absolute;
right: 20px;
font-size: 1.2rem;
}
.faq-item[open] > summary::after {
content: "−";
}

/* The answer content (shows/hides instantly) */
.faq-item > .faq-answer {
padding: 0 20px 20px;
background-color: #ffffff;
color: #333333;
}

/* Inner spacing for answer text */
.faq-answer p,
.faq-answer ul,
.faq-answer ol {
margin-top: 8px;
font-size: 1rem;
line-height: 1.5;
}
.faq-answer ul,
.faq-answer ol {
padding-left: 20px;
}
.faq-answer a {
color: #0055aa;
text-decoration: none;
}
.faq-answer a:hover {
text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
.faq-item > summary {
padding: 8px 16px;
font-size: 1.05rem;
}
.faq-item > .faq-answer {
padding: 0 16px 16px;
}
.faq-answer p,
.faq-answer ul,
.faq-answer ol {
font-size: 0.95rem;
}
}
@media (max-width: 768px) {
.faq-item > summary {
padding: 8px 15px;
font-size: 1rem;
}
.faq-item > .faq-answer {
padding: 0 15px 15px;
}
.faq-answer p,
.faq-answer ul,
.faq-answer ol {
font-size: 0.9rem;
line-height: 1.4;
}
}
@media (max-width: 480px) {
.faq-item > summary {
padding: 6px 10px;
font-size: 0.95rem;
}
.faq-item > .faq-answer {
padding: 0 10px 10px;
}
.faq-answer p,
.faq-answer ul,
.faq-answer ol {
font-size: 0.9rem;
line-height: 1.4;
}
}


/*----------------------------
------------------------------ HOME/SERVICII-CONEXE
----------------------------*/
  
.home-conexe-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  text-align: center;
  padding: 140px 0px 120px 0px;
  }
  .home-conexe-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--heading-color);
  margin-bottom: 80px;
  }

  .home-conexe-subtitlu {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-style: italic;
    margin-bottom: 0.5rem;
  }
  
  .home-swiper-wrapper {
    padding: 0.5rem ;
  }

.home-swiper-slide {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0px !important;
  max-width: 1200px;
  /* box-shadow: 0 5px 20px rgba(0,0,0,0.1); */
}

#home-fotovoltaice-slide {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/media/home/servicii-instalare-sisteme-fotovoltaice.webp') no-repeat center / cover;
}

#home-posturi-slide {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/media/home/post-de-transformare-800x600.jpg') no-repeat center / cover;
}
#home-tablouri-slide {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/media/home/configurare-si-instalare-tablouri-electrice-de-distributie.jpg') no-repeat center / cover;
}
#home-prize-slide {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/media/home/servicii-executie-priza-de-pamant.jpg') no-repeat center / cover;
}
#home-iluminat-slide {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/media/home/instalatii-de-iluminat-industriale.avif') no-repeat center / cover;
}
#home-pram-slide {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/media/home/servicii-verificari-pram.jpg') no-repeat center / cover;
}
#home-linii-slide {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/media/home/servicii-executie-linii-instalatiil-electrice.jpg') no-repeat center / cover;
}


.home-swiper-slide a {
  text-decoration: none !important;
}

.home-testimonial-card{
    max-height: 100%;
    padding: 1rem;
    border-radius: 0px;
    height: 35rem;
    background-color: transparent;
    margin-top: auto;
  }
  .home-testimonial-card {
    display: flex;
    flex-direction: column;
    height: 35rem;
    padding: 1rem;
    background-color: transparent;
  }
  
  .text-wrapper {
    margin-top: auto; /* Push this block to the bottom */
  }
  

  .home-testimonial-card img.home-servicii-conexe {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 1px;
  margin-bottom: 15px;
  }
  .home-testimonial-card .home-service-name {
  font-size: 1.4rem;
  font-weight: 600;
  padding-bottom: 0.6rem;
  margin-bottom: 0px;
  text-align: left;
  color: var(--font-white);
  }
  .home-testimonial-card .home-description {
  font-size: 0.98rem;
  color: var(--font-white);
  line-height: 1.5;
  flex: 1;
  text-align: left;
  padding-bottom: 0.6rem;
  margin: 0px;
  }
  
  
  .home-swiper-pagination {
  margin-top: 30px;
  position: relative;
  }
  .home-wiper-pagination-bullet {
  background-color: #ccc;
  opacity: 1;
  }
  .home-swiper-pagination-bullet-active {
  background-color: #000000;
  }
  
  /* -pagination- */
  
  
  .home-testimonial-swiper {
    position: relative; /* allows absolute children */
    padding-bottom: 40px; /* space for scrollbar */
  }
  
  
  .home-swiper-scrollbar-drag {
    background: #000;
    border-radius: 2px;
  }
  
  /* track */
  .home-testimonial-swiper-scrollbar {
    position: relative !important;   /* ⬅ override Swiper’s “absolute” */
    width: 100%;
    height: 4px;
    margin-top: 40px;                /* space under cards */
    background: #e0e0e0;
    border-radius: 2px;
  }
  
  .home-testimonial-swiper-scrollbar::before {   /* invisible 12 px hit-area */
    content: '';
    position: absolute;
    top: -4px;                    /* grow 4px up  */
    bottom: -4px;                 /* grow 4px down = 4+4+4 = 12px */
    left: 0;
    right: 0;
  }
  
  /* #0A1F44 - primary_test1 */
  /* #097969 - secondary_test1 */
  
  /* thumb (injected by Swiper) */
  .home-testimonial-swiper-scrollbar .swiper-scrollbar-drag {
    height: 4px;                  /* stays slim */
    margin: 4px 0;                /* (12−4) / 2 = 4  */
    background: var(--accent-color);
    border-radius: 2px;
    cursor: grab;
    background-color: var(--accent-color);
  }
  
  .home-testimonial-swiper-scrollbar .home-swiper-scrollbar-drag:active {
    cursor: grabbing;
  }
  
  /*----------------------------
  ------------------------------ media-queries
  ----------------------------*/
  
  @media (max-width: 1024px) {
  .testimonial-card img.servicii-conexe {
    height: 180px;
  }
  }
  @media (max-width: 768px) {

    .home-conexe-section {
      padding: 10rem 1.6rem;
    }


  .testimonial-card img.servicii-conexe {
    height: 160px;
  }
  }
  




/*----------------------------
------------------------------ !!SERVICE/SERVICII-CONEXE
----------------------------*/




.service-conexe-section {
max-width: 1200px;
margin: 0 auto 60px;
text-align: center;
padding: 80px 0px 60px 0px;
}
.service-conexe-section h2 {
font-size: 2rem;
font-weight: 600;
margin-bottom: 3rem;
color: var(--heading-color);
}

.service-testimonial-card {
background: #fff;
padding: 15px;
border-radius: 1px;
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
display: flex;
flex-direction: column;
height: 100%;
}
.service-testimonial-card img.service-servicii-conexe {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 1px;
margin-bottom: 15px;
}
.service-testimonial-card .service-service-name {
font-size: 20px;
font-weight: 600;
margin-bottom: 10px;
text-align: left;
color: #222;
}
.service-testimonial-card .service-testimonial-text {
font-size: 14px;
color: #555;
line-height: 1.5;
flex: 1;
text-align: left;
margin-bottom: 15px;
}
.service-testimonial-card .service-button {
align-self: flex-start;
text-decoration: none;
background-color: var(--button-bg-color);
color: #fff;
padding: 8px 16px;
font-size: 14px;
border: 2px solid var(--button-bg-color);
border-radius: 4px;
transition: background-color 0.2s ease, color 0.2s ease;
border-radius: 0px;
cursor: pointer;
}
.service-testimonial-card .service-button a {
list-style: none;
text-decoration: none;
color: white;
}

.service-testimonial-card .service-button:hover a {
list-style: none;
text-decoration: none;
color: var(--button-bg-color);
}

.service-testimonial-card .service-button:hover,
.service-testimonial-card .service-button:focus {
cursor: pointer;
background-color: transparent;
color: var(--button-bg-color) !important;
border-color: var(--button-bg-color) !important;
box-shadow: none;
border-radius: 0px;
}


.service-swiper-slide {
display: flex;
justify-content: center;
padding: 0 10px;
}


.service-swiper-scrollbar-drag {
background: var(--accent-color);
border-radius: 2px;
}

/* track */
.service-testimonial-swiper-scrollbar {
position: relative !important;   /* ⬅ override Swiper’s “absolute” */
width: 100%;
height: 4px;
margin-top: 40px;                /* space under cards */
background: #e0e0e0;
border-radius: 2px;
}

.service-testimonial-swiper-scrollbar::before {   /* invisible 12 px hit-area */
content: '';
position: absolute;
top: -4px;                    /* grow 4px up  */
bottom: -4px;                 /* grow 4px down = 4+4+4 = 12px */
left: 0;
right: 0;
}

/* thumb (injected by Swiper) */
.service-testimonial-swiper-scrollbar .swiper-scrollbar-drag {
height: 4px;                  /* stays slim */
margin: 4px 0;                /* (12−4) / 2 = 4  */
background: var(--accent-color);
border-radius: 2px;
cursor: grab;
}

.service-testimonial-swiper-scrollbar .service-swiper-scrollbar-drag:active {
cursor: grabbing;
}
/*----------------------------
------------------------------ m
----------------------------*/

@media (max-width: 1024px) {
.service-testimonial-card img.service-servicii-conexe {
height: 180px;
}
}
@media (max-width: 768px) {
.service-testimonial-card img.service-servicii-conexe {
height: 160px;
}
}







/*----------------------------
------------------------------ CONTACT-SECTION
----------------------------*/

.contact-section {
width: 100%;
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/media/home/firma-instalatii-electrice.webp') no-repeat center/cover;
background-color: white;
position: relative;
padding: 0%;
margin: 0%;
margin-bottom: 491px;
}

.contact-overlay {
width: 100%;
height: 100%;
margin: 0 auto;
padding: 40px 0px;
max-width: 1200px;
display: flex;
align-items: left;
justify-content: center;
flex-direction: column;
}

.contact-content {
margin: 0 auto;
display: flex;
gap: 40px;
flex-wrap: wrap;
}

.contact-info {
flex: 1 1 400px;
color: black;
}

.contact-info h2 {
font-size: 2.4rem;
margin-bottom: 20px;
color: var(--heading-color-white);
}

.contact-info p {
font-size: 1rem;
margin-bottom: 16px;
max-width: 550px;
color: var(--font-white);
}

.contact-details {
list-style: none;
margin-top: 20px;
color: #ffffff;
}
.contact-details li {
line-height: 1.4rem;
display: flex;
align-items: center;
margin-bottom: 12px;
font-size: 1rem;
}
.contact-details .icon {
font-size: 1.2rem;
margin-right: 10px;
}
.contact-details a {
color: #ffffff;
text-decoration: none;
}
.contact-details a:hover {
text-decoration: underline;
}

.contact-form {
flex: 1 1 400px;
display: flex;
flex-direction: column;
gap: 20px;
padding-top: 1.2rem;
}

.input-row {
width: 100%;
}

.two-fields {
display: flex;
gap: 20px;
}
.two-fields input {
flex: 1;
}


.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
width: 100%;
padding: 12px 16px;
border: 1px solid #cccccc;
border-radius: 2px;
font-size: 1rem;
background-color: #ffffff;
color: #333333;
}

.contact-form textarea {
min-height: 180px;
resize: vertical;
}

.submit-button {
background-color: var(--button-bg-color);
color: #ffffff;
border: none;
padding: 12px 24px;
font-size: 1rem;
cursor: pointer;
border-radius: 1px;
transition: background-color 0.2s ease;
}

.submit-button:hover {
background-color: var(--button-bg-color);
}

/* ============================= */
/* RESPONSIVE PENTRU MOBIL       */
/* ============================= */
@media (max-width: 992px) {
.contact-content {
flex-direction: column;
align-items: center;
}
.two-fields {
flex-direction: column;
}
}




/* ===============================
PORTOFOLIU SECTION
=============================== */
.portfolio-section {
  width: 100%;
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}
.portfolio-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #111111;
}
.portfolio-section p {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.portfolio-item {
border: 1px solid #e0e0e0;
border-radius: 1px;
overflow: hidden;
background-color: #ffffff;
transition: box-shadow 0.2s ease;
}
.portfolio-item:hover {
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.portfolio-item img {
width: 100%;
height: auto;
display: block;
}
.portfolio-item .item-content {
padding: 16px;
}
.portfolio-item .item-content h3 {
font-size: 1.2rem;
margin-bottom: 0.5rem;
color: #111111;
}
.portfolio-item .item-content p {
font-size: 0.95rem;
color: #555555;
line-height: 1.4;
}

/* Responsive – 1 coloană la 768px */
@media (max-width: 768px) {
.portfolio-grid {
grid-template-columns: 1fr;
}
}

.white-back {
  background-color: white;
}

/* CONTACT-PAGE  */

body {
  margin: 0;
  font-family: inherit;
  background-color: white;
  margin-bottom: 491px;
}
/* ─── CONTACT SECTION ───────────────────────────────── */
/* ─── CONTACT SECTION (updated selectors) ───────────────────────────────── */


/* Toggle */

.contact-page-background {
  width: 100%;
}
:root {
  --green: #097969;
}

/* ── Contact Section Layout ── */
.contact-page-background-ii {

  padding: 40px 0;
  background: #fff;
}
.container-contact-ii {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;    /* ← stretch în loc de flex-start */
  height: 750px;
}
.left-contact-ii {
  flex: 1;
  height: 720px;
  justify-content: flex-start;
  align-items: start;
  overflow: hidden;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

}

.contact-image-ii {
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 100%;
  height: 100%;
}

.right-contact-ii {
  flex: 1;
}

.contact-page-title-container {
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 4.5rem;
}

.contact-page-title-container h2 {
  padding-bottom: 0.5rem;
}

.contact-title-ii {
  font-size: 2.5rem;
  color: var(--green);
  font-weight: 750;
}


/* ── Toggle Tabs ── */
.contact-toggle-ii {
  display: flex;
  border-bottom: 2px solid var(--green);
  margin-bottom: 0;
}
.contact-tab-ii {
  flex: 1;
  padding: 0.75rem 0;
  text-align: center;
  background: #fff;
  color: var(--green);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 0;
  font-size: 18px;
}
.contact-tab-ii.active {
  border: 2px solid var(--green);
  border-bottom: 0;
  margin-bottom: -2px;
  background: #fff;
}
.contact-tab-ii:not(.active):hover {
  background: #f6f6f6;
}

/* ── Form ── */
.contact-form-ii {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--green);
  border-top: none;
  border-radius: 0;
  padding: 1.5rem;
  background: #fff;
  gap: 0%;
}



.contact-group-ii {
  display: flex;
  flex-direction: column;
}
.contact-label-ii {
  font-weight: 450;
  color: #000;
}

input.murii-nau {
  margin-bottom: 0.77rem;
  margin-top: 0.09rem;
}

label.muriv-bau {
  padding-left: 2px;
}


.contact-input-ii {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 1rem;
  background: #fff;
}
.contact-input-ii[type="textarea"],
textarea.contact-input-ii {
  min-height: 110px;
  resize: vertical;
}
.contact-btn-ii {
  padding: 0.6rem;
  background: var(--green);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 0;
  margin-top: 0.5rem;
}

/* ── Responsive ── */
/* ── CONTACT SECTION: RESPONSIVE MEDIA QUERIES ── */

/* ≤ 992px: stack columns, adjust spacing */
@media (max-width: 992px) {
  .container-contact-ii {
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }
  .left-contact-ii {
    max-height: 300px;
    overflow: hidden;
  }
  .contact-image-ii {
    height: 100%;
  }
  .right-contact-ii {
    padding: 1rem 0;
  }
  .contact-title-ii {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
}

/* ≤ 600px: full-width tabs, larger touch targets */
@media (max-width: 600px) {

  .left-contact-ii {
    display: none !important;
  }
  /* Toggle stacked */
  .contact-toggle-ii {
    display: flex;
    flex-direction: column;
    border: none;           /* elimină linia orizontală */
    margin-bottom: 1rem;
  }

  .contact-page-title-container {
    margin-bottom: 0.2rem;
  }

  /* Fiecare tab cu bordură completă */
  .contact-tab-ii {
    border: 2px solid var(--green);
    border-radius: 0;
    background: #fff;
    color: var(--green);
    padding: 1rem 0;
    font-size: 1rem;
    margin: 0;              /* fără margină între ele */
    cursor: pointer;
  }

  /* Tab activ doar schimbă fundalul și culoarea textului */
  .contact-tab-ii.active {
    background: var(--green);
    color: #fff;
  }

  /* Formular are oricum border separat */
  .contact-form-ii {
    border-top: none;       /* nu dublează bordura de sub tab */
    padding: 1rem;
    gap: .75rem;
    border: none !important;
  }
}

/* ≤ 480px: tighten up */
@media (max-width: 480px) {
  .container-contact-ii {
    padding: 1rem 0.5rem;
    gap: 1rem;
  }
  .contact-form-ii {
    padding: 0.75rem;
    gap: 0.5rem;
    border: none !important;
  }
  .contact-input-ii {
    padding: 0.6rem 0.8rem;
    font-size: 1rem;
  }
  .contact-btn-ii {
    padding: 0.8rem;
    font-size: 1rem;
  }
}


/* ==============================
   SECȚIUNE DESPRE NOI CUSTOM
   ============================== */

/* Culori specifice Despre Noi */
/* Reset & bază */

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }
img { max-width:100%; display:block; }

/* Container & secțiuni */
.desprenoi-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 20px;
}
.desprenoi-section {
  margin-bottom: 3rem;
  text-align: center;
}
.desprenoi-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--desprenoi-dark-blue);
  margin-bottom: 2rem;
}

/* Grid‑uri pentru carduri */
.desprenoi-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.desprenoi-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

/* Card‑uri cu umbră discretă */
.desprenoi-card {
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2rem;
  text-align: left;
}

/* Hero & buton */
.desprenoi-hero {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/media/tablou-industrial-instalatii-electrice.jpg') no-repeat center / cover;
  color: var(--desprenoi-white);
  text-align: left;
  padding: 8rem 20px;
  background-attachment: fixed;
}


.desprenoi-mission {
  padding: 10px solid red;
}

.desprenoi-mission * {
  border: 1px solid black;
}
/* max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: left;
justify-content: center;
flex-direction: column; */


.desprenoi-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.desprenoi-hero p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
}
.desprenoi-btn {
  display:inline-block;
  padding:0.8rem 1.6rem;
  font-weight:600;
  background: var(--desprenoi-green);
  color: var(--desprenoi-white);
}

/* Text experiență */
.desprenoi-experience p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}




/* ==============================
   SECȚIUNE DESPRE NOI CUSTOM (unik)
   ============================== */

/* Container & secțiuni */
.xyz-desprenoi-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 20px;
}

.xyz-desprenoi-container > h2 {
  margin: 2rem 0 7rem 0 !important;
}

.xyz-desprenoi-container > p {
  font-size: 1.25em;
}

.xyz-desprenoi-container-values {
  max-width: 1000px;
}

#experienta {
  margin-bottom: 4rem !important;
}

.xyz-desprenoi-section {
  margin-bottom: 3rem;
  text-align: center;
}
.xyz-desprenoi-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 2rem;
}

/* Grid‑uri pentru carduri */
.xyz-desprenoi-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.xyz-desprenoi-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  grid-auto-rows: auto;
  gap: 2rem;
}

/* Card‑uri cu umbră discretă */
.xyz-desprenoi-card {
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.xyz-desprenoi-card > h3 {
  font-size: 1.4em;
  margin-bottom: 0.8rem;
}
.xyz-desprenoi-card:hover {
  transform: translateY(-5px);
}

/* Text experiență */
.xyz-desprenoi-experience p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}


.xyz-desprenoi-accreditations .xyz-desprenoi-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.xyz-desprenoi-download-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: var(--desprenoi-green);
  color: var(--desprenoi-white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 0;
  transition: background-color 0.3s ease;
}

.xyz-desprenoi-download-btn:hover,
.xyz-desprenoi-download-btn:focus {
  background-color: #075c50; /* un verde mai închis */
  outline: none;
}

.xyz-desprenoi-card-acreditari {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px; /* ajustează după nevoie */
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.xyz-desprenoi-download-btn {
  margin-top: 1rem;
  align-self: center; /* să nu ocupe toată lățimea */
}



/* ──────────────────────────────────────────────────────────
   SITE‑WIDE RESPONSIVE TWEAKS
   Add this at the end of css/styles.css
────────────────────────────────────────────────────────── */

/* —— Container & typography scaling —— */
.container,
.navbar-container,
.xyz-desprenoi-container,
.xyz-accreditations-grid {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

/* —— NAVBAR MOBILE (toggle already in place) —— */
@media (max-width: 992px) {
  /* show hamburger, hide desktop menu */
  .nav-toggle-label { display: block; }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem;
  }
  .nav-toggle:checked ~ .nav-menu { display: flex; }

  /* grid adaptations */
  .xyz-desprenoi-grid-2,
  .xyz-accreditations-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .xyz-desprenoi-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* hero text */
  .desprenoi-hero h1 { font-size: 2.5rem; }
  .desprenoi-hero p  { font-size: 1.1rem; max-width: 90%; }

  /* equal‑height cards */
  .xyz-desprenoi-card,
  .xyz-accreditation-card {
    min-height: 300px;
  }
}

/* —— PHONE LAYOUT —— */
@media (max-width: 600px) {
  /* all grids full width */
  .xyz-desprenoi-grid-2,
  .xyz-desprenoi-grid-4,
  .xyz-accreditations-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  /* hero text smaller */
  .desprenoi-hero h1 { font-size: 2rem; }
  .desprenoi-hero p  { font-size: 1rem; }

  /* button full‑width taps */
  .home-hero-buttons,
  .desprenoi-btn,
  .xyz-desprenoi-download-btn {
    width: 100%;
    text-align: center;
    padding-bottom: 1rem;
    display: block;
    cursor: pointer;
    padding: 0.35rem 0rem;
  }

  /* tighten padding */
  .xyz-desprenoi-section,
  .about-section,
  .contact-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* nav labels full touch area */
  .nav-menu li a,
  .dropdown-label {
    padding: 0.8rem 0 !important;
    width: 100%;
  }
  .hero-buttons-container {
    gap: 1rem !important;
  }
  .home-conexe-section {
    padding-bottom: 0px;
  }
  .customer-h {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.2rem;
  }
  .customer-h > div,
  .customer-h .text-dreapta {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
  .customer-h h2 {
    font-size: 1.6rem !important;
    text-align: center !important;
    margin-bottom: 0.4rem;
  }
  .customer-h .testimoniale {
    text-align: center !important;
    margin-bottom: 0.2rem;
  }
  .contact-page-background-ii {
    height: 68rem;
  }
}



@media (max-width: 480px) {
  .container .info h1 {
    font-size: 3.6rem !important;
    word-break: break-word;
    line-height: 1.1;
    padding-bottom: 1rem;
  }

  .container .info p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.3;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
