/* ===== RESET & BODY (OPTIMIZAT PENTRU HVAC) ===== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f7fa;
    color: #333;
}

/* ===== HEADER / HERO (MAI CURAT, MAI ENERGETIC) ===== */
.pagina-separata-header {
    background: linear-gradient(135deg, rgb(15,112,183), #084f82);
    color: #fff;
    padding: 60px 20px 40px;
    text-align: center;
}

/* ===== HEADER FORM ===== */
.header-form-section {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.header-image {
    flex: 1;
    min-width: 300px;
}

.header-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===== FORM ===== */
.reservation-form {
    width: 400px;
    min-width: 300px;
    background-color: #2b3438;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.reservation-form h2 {
    color: #f39200;
    margin-bottom: 1em;
    text-align: center;
    font-size: 1.5em;
}

.reservation-form input,
.reservation-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 1em;
    box-sizing: border-box;
    outline: none;
}

.reservation-form input:focus,
.reservation-form select:focus {
    border-color: rgb(15,112,183);
}

.reservation-form button {
    width: 100%;
    padding: 14px;
    background-color: rgb(243,146,0);
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.reservation-form button:hover {
    background-color: rgb(220,130,0);
}


/* ===== WRAP ===== */
.wrap {
    width: auto;
    margin: auto;
    padding: 20px;
}


/* --- Zones + Map (3 coloane cu linkuri fără diacritice) --- */
.zones-map-container {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.zones-map-image {
  flex: 1;
  min-width: 250px;
}

.zones-map-image img {
  width: 65%;
  height: auto;
  border-radius: 8px;
}

.zones-list {
  flex: 1;
  min-width: 250px;
}

.zones-list ul {
  columns: 3;
  -webkit-columns: 3;
  -moz-columns: 3;
  list-style: none;
  padding: 0;
  margin: 0;
}

.zones-list li {
  margin-bottom: 6px;
  font-size: 16px;
}

.zones-list li a {
  text-decoration: none;
  color: rgb(15,112,183);
}

.zones-list li a:hover {
  text-decoration: underline;
}

/* Responsive mobil */
@media (max-width: 768px) {
  .header-form-section {
    flex-direction: column;
    gap: 20px;
  }
  .header-image, .reservation-form {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .reservation-form h2, .reservation-form p {
    text-align: center;
  }
  .zones-map-container {
    flex-direction: column;
    align-items: center;
  }
  .zones-list ul {
    columns: 1;
  }
}
a i.fa-phone {
    margin-right: 8px;
    color: #000; /* sau culoarea dorită */
}
  <!--/* MOBILE */ -->

@media(max-width:768px){

.header-form-section{
flex-direction:column;
}

.cazan-section,
.cazan-section.reverse{
flex-direction:column;
}

.cazan-section img{
width:100%;
}

.zones-list ul{
columns:2;
}

}
/* ===================================================
   ZONES & MAP (MOBIL - ORAȘE PE 3 COLOANE)
=================================================== */
@media (max-width: 768px) {
  
  /* Harta și lista se așază una sub alta */
  .zones-map-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 0 10px;
  }

  .zones-map-image {
    width: 100% !important;
    text-align: center !important;
  }

  .zones-map-image img {
    width: 80% !important; /* Harta rămâne vizibilă și centrată */
    height: auto !important;
  }

  /* LISTA RĂMÂNE PE 3 COLOANE COMPACTE */
  .zones-list {
    width: 100% !important;
  }

  .zones-list ul {
    columns: 3 !important; /* Forțăm strict 3 coloane și pe mobil */
    -webkit-columns: 3 !important;
    -moz-columns: 3 !important;
    gap: 10px !important; /* Spațiul dintre cele 3 coloane */
    text-align: left !important;
  }

  /* Micșorăm puțin textul ca să încapă perfect în cele 3 coloane fără să se rupă urât */
  .zones-list li {
    margin-bottom: 8px !important;
    font-size: 13px !important; /* Dimensiune optimizată pentru ecran mic */
    word-break: break-word; /* Dacă un oraș e prea lung, nu iese din coloană */
  }
}
/* ===== SECTIONS ===== */
.section {
    margin-bottom: 60px;
}

.section h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 10px;
    color: rgb(15,112,183);
    font-weight: 700;
    padding-top: 20px;
}

.section .sub {
    text-align: center;
    color: #666;
    margin-bottom: 35px;
}


/* ===== FAQ (FĂRĂ SCHIMBARE STRUCTURĂ) ===== */
.intrebari-frecvente-item,
.faq-item {
    max-width: 1000px;
    margin: 0 auto 12px auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    
}

.intrebari-frecvente-item summary,
.faq-item summary {
    cursor: pointer;
    padding: 15px;
    font-weight: 600;
    font-size: 16px;
    background: #f7f7f7;

}

.intrebari-frecvente-item details[open] summary,
.faq-item details[open] summary {
    background: #e8f3ff;
}

.intrebari-frecvente-item p,
.faq-item p {
    margin: 0;
    padding: 15px;
    background: #fff;
    line-height: 1.6;
    color: #444;
    
}


/* ===== CTA FINAL (MAI CLEAN, HVAC STYLE) ===== */
.fin {
    position: relative;
    background: linear-gradient(135deg,#0f70b7,#084f82);
    color: #fff;
    padding: 60px 25px;
    text-align: center;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

.fin h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.fin p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #e2f0ff;
}

.fin a {
    display: inline-block;
    background: #fff;
    color: #0f70b7 !important;
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
}

/* ===== AVANTAJE ===== */
.avantaje {
    background: #f4f7fa;
    padding: 70px 40px;
    margin-top: 50px;
    text-align: center;
}

.avantaje h2 {
    font-size: 30px;
    color: rgb(15,112,183);
    margin-bottom: 15px;
}

.avantaje-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 30px;
    margin-top: 40px;
}

.avantaj {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
    text-align: center;
}

.avantaj:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.avantaj-icon {
    width: 70px;
    height: 70px;
    background: rgb(15,112,183);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px auto;
}

.avantaj-icon img {
    width: 35px;
    height: 35px;
}

.avantaj h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.avantaj p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}
/* ===== CTA + IMAGE ===== */
.cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    background: rgb(15,112,183);
    color: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    margin-top: 50px;
}

.cta-image {
    flex: 1;
    min-width: 200px;
}

.cta-image img {
    width: 50%;
    border-radius: 10px;
}

.cta-text {
    flex: 2;
    min-width: 200px;
    text-align: left;
}

.cta-text h2 {
    font-size: 30px;
    color: #000 !important;
    margin-bottom: 10px;
}

.cta-text p {
    font-size: 18px;
    margin-bottom: 25px;
}

.cta-text a {
    display: inline-block;
    background: rgb(243,146,0);
    color: #000 !important;
    padding: 15px 30px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.cta-text a:hover {
    background: rgb(220,130,0);
}

/* ===== FOOTER ===== */
.pagina-separata-header ~ footer {
    text-align: center;
    padding: 8px 15px;
    background: #222;
    color: #ddd;
    margin-top: 30px;
    font-size: 13px;
    line-height: 1.2;
    border-top: 1px solid #444;
}

.pagina-separata-header ~ footer a {
    color: #f39a00;
    text-decoration: none;
    margin: 0 5px;
    font-size: 13px;
    transition: 0.2s;
}

/* ===== MEDIA QUERIES ===== */
@media(max-width: 900px){
    .install-wrapper { grid-template-columns: 1fr; }
}

@media(max-width: 768px){
    .header-form-section { flex-direction: column; }
    .cta { flex-direction: column; text-align: center; }
    .cta-text { text-align: center; }
    .cta-text a { width: 100%; font-size: 17px; padding: 16px; }
    .avantaje { padding: 50px 20px; }
    .header-image, .reservation-form { max-width: 100%; flex: 1 1 100%; }
    .faq { padding: 0 10px; }
}


/* ===== FAQ (ADAPTAT DUPĂ TEMATICA TA) ===== */
.srv-faq {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.intrebari-frecvente-item,
.faq-item {
    max-width: 1000px;
    margin: 0 auto 12px auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.srv-faq h2 {
    text-align: center;
    margin-top: 50px;       /* Creează distanța față de blocul de sus */
    margin-bottom: 25px;    /* Spațiul dintre titlu și prima întrebare */
    color: #0f172a;         /* Culoarea închisă premium din tematică */
    font-size: 28px;        /* Dimensiunea textului */
    font-weight: 700;
}

.intrebari-frecvente-item summary,
.faq-item summary {
    cursor: pointer;
    padding: 18px 20px;
    font-weight: 600;
    font-size: 16px;
    background: #f7f7f7;
    color: #1e293b;
    outline: none;
    
    /* Aliniere text la stânga și indicator la dreapta */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ascundem triunghiul nativ al browserului (Chrome, Safari, Firefox) */
.intrebari-frecvente-item summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
    display: none;
}
.intrebari-frecvente-item summary::marker,
.faq-item summary::marker {
    display: none;
}

/* Stil pentru fundal când e deschis - conform tematicii tale */
.intrebari-frecvente-item details[open] summary,
.faq-item details[open] summary {
    background: #e8f3ff;
    border-bottom: 1px solid #e5e5e5;
}

/* Adăugare indicator + / - în dreapta */
.intrebari-frecvente-item summary::after,
.faq-item summary::after {
    content: '+';
    font-size: 20px;
    color: #64748b;
    font-weight: 400;
    margin-left: 15px;
}

.intrebari-frecvente-item details[open] summary::after,
.faq-item details[open] summary::after {
    content: '−';
    color: #2563eb;
}

/* Corpul răspunsului */
.intrebari-frecvente-item .faq-answer,
.faq-item .faq-answer {
    background: #fff;
}

.intrebari-frecvente-item p,
.faq-item p {
    margin: 0;
    padding: 18px 20px;
    line-height: 1.6;
    color: #444;
    font-size: 15px;
}

/* =========================
   VIVATEH - Termostat
   ========================= */

/* ===================================================
   VIVATEH - STILURI PREMIUM INSTALARE TERMOSTATE
=================================================== */

.termostat-page {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  color: #1f2937;
}

/* ===== HERO SECTION ===== */
.termostat-hero {
  text-align: center;
  margin-bottom: 50px;
}

.termostat-hero h1 {
  font-size: 32px;
  color: #0f172a;
  padding: 10px 0;
  margin-bottom: 15px;
  font-weight: 700;
}

.termostat-hero p {
  font-size: 16px;
  color: #4b5563;
  max-width: 850px;
  margin: auto;
  line-height: 1.7;
}

/* ===== BLOCURI DE TIPURI DE SERVICII ===== */
.termostat-types {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.termostat-type {
  display: flex;
  gap: 35px;
  align-items: center;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.termostat-type:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.termostat-type.reverse {
  flex-direction: row-reverse;
}

.termostat-img {
  flex: 1;
  min-width: 280px;
}

.termostat-img img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  margin: auto;
}

.termostat-info {
  flex: 2;
}

.termostat-info h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #0f172a;
  font-weight: 700;
}

.termostat-info p {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 15px;
}

.termostat-info ul {
  padding-left: 20px;
  margin: 0;
}

.termostat-info ul li {
  margin-bottom: 8px;
  color: #4b5563;
  font-size: 14.5px;
  line-height: 1.5;
}

.termostat-info ul li strong {
  color: #0f70b7;
}

/* ===== BLOC SERVICE ALBASTRU/PORTOCALIU ===== */
/* Containerul principal al secțiunii */
.termostat-service {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #fcfcfc; /* Fundal foarte deschis */
  color: #333333; /* Text de bază gri închis spre negru pentru vizibilitate maximă */
}

/* Titluri principale */
.termostat-service h2 {
  text-align: center;
  color: #1a252f;
  font-size: 28px;
  margin-bottom: 40px;
}

.termostat-service h3 {
  color: #2c3e50;
  font-size: 22px;
  margin-bottom: 15px;
}

/* Separator linii */
.termostat-service .section-divider {
  margin: 50px 0;
  border: 0;
  border-top: 1px solid #e0e0e0;
}

/* Griduri (Sistemul de coloane) */
.termostat-service .service-grid, 
.termostat-service .alegere-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 20px;
}

/* Carduri pentru Servicii */
.termostat-service .service-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border-top: 4px solid rgb(243, 146, 0); /* Accent albastru */
}

.termostat-service .service-card h3 {
  font-size: 18px;
  color: #2c3e50;
  margin-top: 0;
}

.termostat-service .service-card p {
  color: #555555;
  font-size: 14px;
  line-height: 1.6;
}

/* Carduri pentru Alegere Termostat */
.termostat-service .ghid-alegere .subtitle {
  color: #666;
  margin-bottom: 25px;
  font-size: 16px;
}

.termostat-service .alegere-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid rgb(243, 146, 0);
}

.termostat-service .alegere-card h4 {
  color: #2c3e50;
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 700;
}

.termostat-service .alegere-card p {
  color: #555555;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Ghidul de Conectare & Pași */
.termostat-service .pasi-instalare {
  margin-top: 25px;
  background: rgba(0,0,0,0.08);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.termostat-service .pasi-instalare ol {
  padding-left: 20px;
  margin: 0;
}

.termostat-service .pasi-instalare li {
  margin-bottom: 18px;
  color: #333333;
  line-height: 1.6;
  font-size: 15px;
}

.termostat-service .pasi-instalare ul {
  margin-top: 10px;
  padding-left: 20px;
}

.termostat-service .pasi-instalare ul li {
  margin-bottom: 8px;
  font-size: 14px;
  list-style-type: disc;
}

/* Stiluri speciale text alertă */
.termostat-service .atentie-text {
  color: #d9534f;
  font-weight: bold;
}

/* Caseta de Sfat Practic (Callout) */
.termostat-service .sfat-practic {
  background: #fff9e6;
  border-left: 5px solid #f1c40f;
  padding: 20px;
  margin-top: 30px;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0 8px 8px 0;
  color: #665200;
  font-size: 15px;
}
/* ===== TABEL DE PREȚURI DESFĂȘURAT ===== */
.termostat-price-table {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.07);
  overflow: hidden;
}

.termostat-price-table h2 {
  text-align: center;
  margin: 30px 0 20px 0;
  color: #0f172a;
  font-size: 26px;
  font-weight: 700;
}

.termostat-price-table table {
  width: 100%;
  border-collapse: collapse;
}

.termostat-price-table thead {
  background: rgb(243, 146, 0);
  color: #ffffff;
}

.termostat-price-table th {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.termostat-price-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14.5px;
  color: #374151;
  vertical-align: middle;
}

/* Stil special pentru celula categoriei grupate (rowspan) */
.termostat-price-table td.cat-cell {
  background: #f8fafc;
  color: #0f70b7;
  border-right: 1px solid #e5e7eb;
  font-size: 14px;
}

.termostat-price-table tbody tr {
  transition: background 0.2s ease;
}

.termostat-price-table tbody tr:hover {
  background: #f1f5f9;
}

/* Evidențiere prețuri */
.termostat-price-table td:last-child {
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

/* ===================================================
   RESPONSIVE DESIGN (TABELĂ ȘI BLOCURI MOBIL)
=================================================== */

@media (max-width: 991px) {
  .termostat-type {
    flex-direction: column;
    padding: 25px;
  }
  
  .termostat-type.reverse {
    flex-direction: column;
  }
  
  .termostat-img img {
    max-width: 280px;
    margin-bottom: 15px;
  }

  .termostat-info {
    text-align: center;
  }

  .termostat-info ul {
    text-align: left;
    display: inline-block;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* 1. HERO SECTION */
  .termostat-hero h1 {
    font-size: 24px;
    text-align: center;
    line-height: 1.3;
    padding: 0 10px;
  }

  /* 2. OPTIMIZARE TABEL PREȚURI PENTRU MOBIL (ALINIERE CORECTĂ) */
  .termostat-price-table {
    margin: 20px 5px;
    padding: 0;
    overflow-x: hidden; /* Elimină scroll-ul orizontal al paginii */
  }
  
  .termostat-price-table h2 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
    padding: 0 10px;
    line-height: 1.4;
  }

  /* Resetăm lățimea tabelului pentru a se încadra 100% în ecranul telefonului */
  .termostat-price-table table {
    width: 100% !important;
    min-width: 100% !important;
    table-layout: fixed; /* Forțează coloanele să respecte lățimile de mai jos */
    border-collapse: collapse;
  }

  /* Ascundem coloana de Categorie pe mobil pentru a câștiga spațiu masiv, 
     deoarece denumirea serviciului conține deja toate detaliile necesare */
  .termostat-price-table th:first-child,
  .termostat-price-table td.cat-cell {
    display: none !important;
  }

  /* Setăm dimensiuni fixe și clare pentru restul de 3 coloane active */
  .termostat-price-table th:nth-child(2), 
  .termostat-price-table td:nth-child(2) { 
    width: 35%; /* Coloana: Tip Echipament */
  }
  
  .termostat-price-table th:nth-child(3), 
  .termostat-price-table td:nth-child(3) { 
    width: 45%; /* Coloana: Operațiuni Tehnice */
  }
  
  .termostat-price-table th:last-child, 
.termostat-price-table td:last-child { 
  text-align: center !important;
}

  /* Ajustăm padding-ul și fontul pentru a fi extrem de lizibile pe telefon */
  .termostat-price-table th, 
  .termostat-price-table td {
    padding: 8px 5px !important;
    font-size: 11px !important;
    line-height: 1.3;
    word-wrap: break-word; /* Forțează cuvintele lungi să se rupă corect, fără să strice tabelul */
    vertical-align: middle;
@media (max-width: 520px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}