/* ===== 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;
    
}

.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: 24px;        /* Dimensiunea textului */
    font-weight: 700;
}

.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; }
}

/* =========================
   VIVATEH - calorifere
   ========================= */

/* ==========================================================================
   RADIATOARE & CALORIFERE HVAC PREMIUM STYLE
   ========================================================================== */

.radiator-page {
  max-width: 1100px;
  margin: auto;
  padding: 5px;
  font-family: Arial, sans-serif;
  color: #1f2937;
  box-sizing: border-box;
}

.radiator-page *, 
.radiator-page *::before, 
.radiator-page *::after {
  box-sizing: border-box;
}

/* HERO SECTION */
.radiator-hero {
  text-align: center;
  margin-bottom: 40px;
}

.radiator-hero h1 {
  font-size: 30px;
  color: #0f172a;
  padding: 10px 0;
  margin-bottom: 10px;
}

.radiator-hero p {
  font-size: 16px;
  color: #555;
  max-width: 800px;
  margin: auto;
  line-height: 1.6;
}

/* TYPES SECTION (FLEXBOX) */
.radiator-types {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.radiator-type {
  display: flex;
  gap: 25px;
  align-items: center;
  background: #ffffff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.radiator-type:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.radiator-type.reverse {
  flex-direction: row-reverse;
}

.radiator-img {
  flex 1 1 300px;
  text-align: center;
}

.radiator-img img {
  width: 320px;
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.radiator-info {
  flex: 1.5 1 350px;
}

.radiator-info h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #111827;
}

.radiator-info p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.radiator-info ul {
  margin-top: 10px;
  padding-left: 18px;
}

.radiator-info ul li {
  margin-bottom: 6px;
  color: #374151;
}

/* SERVICE CARD SECTION (ORANGE BACKGROUND) */
.radiator-service {
  margin-top: 50px;
  background: rgb(243, 146, 0);
  color: #fff;
  padding: 40px 20px;
  border-radius: 16px;
}

.radiator-service h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
}

/* GRID SERVICE */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.service-card {
  background: rgb(15, 112, 183);
  padding: 18px;
  border-radius: 12px;
  transition: 0.3s;
}

.service-card:hover {
  background: #1f2937;
  transform: scale(1.03);
}

.service-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #e5e7eb;
}

.service-card p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.5;
}

/* ==========================================================================
   RADIATOR PRICE TABLE STYLE (DESKTOP)
   ========================================================================== */

.radiator-price-table {
  max-width: 1100px;
  margin: 40px auto;
  padding: 1px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.radiator-price-table h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #0f172a;
  font-size: 24px;
}

.radiator-price-table table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
}

.radiator-price-table thead {
  background: rgb(243, 146, 0);
  color: #fff;
}

.radiator-price-table th,
.radiator-price-table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

.radiator-price-table tbody tr {
  transition: 0.2s;
}

.radiator-price-table tbody tr:hover {
  background: #f3f4f6;
}

.radiator-price-table .pret-celula {
  font-weight: bold;
  color: #111827;
}

/* Evidențiere ultimele rânduri care au colspan (Servicii adiționale) */
.radiator-price-table tbody tr td[colspan="3"] {
  font-weight: 500;
  color: #374151;
}

.radiator-price-table tbody tr td[colspan="3"] + .pret-celula {
  font-weight: bold;
  color: rgb(15, 112, 183);
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE FIXES
   ========================================================================== */

@media (max-width: 900px) {
  .radiator-type {
    flex-direction: column !important;
    text-align: center;
    padding: 25px 15px;
  }

  .radiator-type.reverse {
    flex-direction: column !important;
  }

  .radiator-img, 
  .radiator-info {
    width: 100%;
  }

  .radiator-info ul {
    display: inline-block;
    text-align: left;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* OPTIMIZARE COMPLETA MOBIL PENTRU TABELUL DE PRETURI */
@media (max-width: 768px) {
  .radiator-price-table {
    margin: 20px 5px;
    padding: 0;
    border-radius: 12px;
  }

  .radiator-price-table h2 {
    font-size: 18px;
    line-height: 1.3;
    margin: 15px 10px;
  }

  .radiator-price-table table {
    table-layout: fixed !important; /* Blochează tabelul la lățimea ecranului */
    width: 100% !important;
  }

  .radiator-price-table th,
  .radiator-price-table td {
    padding: 10px 4px !important; /* Spațiu intern redus pe telefoane */
    font-size: 11px !important;   /* Dimensiune font optimă pentru text lung */
    line-height: 1.3;
    word-wrap: break-word !important;   /* Taie cuvintele lungi pe rând nou */
    overflow-wrap: break-word !important;
    vertical-align: middle;
  }

  /* Distribuția celor 4 coloane pe mobil */
  .radiator-price-table th:nth-child(1), .radiator-price-table td:nth-child(1) { width: 28% !important; }
  .radiator-price-table th:nth-child(2), .radiator-price-table td:nth-child(2) { width: 26% !important; }
  .radiator-price-table th:nth-child(3), .radiator-price-table td:nth-child(3) { width: 28% !important; }
  .radiator-price-table th:nth-child(4), .radiator-price-table td:nth-child(4) { 
    width: 18% !important; 
    text-align: right;
  }

  /* Corecție lățime pentru rândurile cu colspan (Unde sunt doar 2 celule efective în HTML) */
  .radiator-price-table td[colspan="3"] {
    width: 82% !important;
  }
  .radiator-price-table td[colspan="3"] + .pret-celula {
    width: 18% !important;
    text-align: right;
  }
  
  .radiator-price-table .pret-celula {
    white-space: nowrap !important; /* Împiedică ruperea textului de tipul "500" și "lei" pe rânduri diferite */
  }
}