/* ===== RESET & BODY ===== */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background: #f4f7fa;
    color: #333;
}

/* ===== ANTET / HERO ===== */
.antet-pagina-servicii {
    background: linear-gradient(135deg, rgb(15,112,183), #084f82);
    color: #fff;
    padding: 60px 20px 40px;
    text-align: center;
}

/* ===== ANCHOR ZONA FORMULAR ===== */
.zona-formular-antet {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.imagine-antet {
    flex: 1;
    min-width: 300px;
}

.imagine-antet img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===== FORMULAR CONTEXT ===== */
.formular-rezervare {
    width: 100%;
    max-width: 400px;
    min-width: 280px;
    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;
}

.formular-rezervare h2 {
    color: #f39200;
    margin-bottom: 1em;
    text-align: center;
    font-size: 1.5em;
}

.formular-rezervare input,
.formular-rezervare select {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 1em;
    box-sizing: border-box;
    outline: none;
}

.formular-rezervare input:focus,
.formular-rezervare select:focus {
    border-color: rgb(15,112,183);
}

.formular-rezervare 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;
}

.formular-rezervare button:hover {
    background-color: rgb(220,130,0);
}

/* ===================================================
   STRUCTURĂ PAGINA PRESIUNE
=================================================== */
.pagina-presiune {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  box-sizing: border-box;
}

.introducere-pagina {
  text-align: center;
  margin-bottom: 40px;
}

.introducere-pagina h1 {
  font-size: 30px;
  color: #0f172a;
  margin-bottom: 10px;
}

.introducere-pagina p {
  font-size: 16px;
  color: #555;
  max-width: 800px;
  margin: auto;
  line-height: 1.6;
}

/* GRILA DE BLOCURI TEHNICE */
.categorii-vase {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.articol-vas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
  background: #ffffff;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  box-sizing: border-box;
}

.articol-vas.directie-inversa {
  direction: rtl;
}

.articol-vas.directie-inversa .informatii-vas,
.articol-vas.directie-inversa .media-articol {
  direction: ltr;
}

/* INVELIS MEDIA SI SPECIFICATII */
.media-articol {
  position: relative;
  border: 1px solid #e2e8f0;
  padding: 8px;
  background: #ffffff;
  display: flex;          
  flex-direction: column;   
  align-items: stretch;
  height: 100%;          
  box-sizing: border-box;
}

.media-articol img {
  width: 100%;
  flex-grow: 1;              
  height: auto;              
  min-height: 300px;     
  object-fit: cover;     
  display: block;
}

.specificatii-tehnice-media {
  position: static; 
  background: #f0f7ff;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  color: rgb(15,112,183);
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;          
  border: 1px solid #e2e8f0; 
}

.informatii-vas h2 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 12px;
  color: #111827;
}

.informatii-vas p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.informatii-vas ul {
  margin-top: 15px;
  padding-left: 20px;
}

.informatii-vas ul li {
  margin-bottom: 8px;
  color: #374151;
  line-height: 1.4;
}

/* ===================================================
   TABEL PREȚURI VASE (COR CORPORATE TWEAKS)
=================================================== */
.tabel-preturi-vase {
  max-width: 1100px;
  margin: 50px auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  box-sizing: border-box;
}

.tabel-preturi-vase h2 {
  text-align: center;
  margin: 25px 0;
  color: #0f172a;
  font-size: 24px;
}

.tabel-preturi-vase table {
  width: 100%;
  border-collapse: collapse;
}

.tabel-preturi-vase thead {
  background: rgb(243, 146, 0);
  color: #fff;
}

.tabel-preturi-vase th,
.tabel-preturi-vase td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
}

.tabel-preturi-vase tbody tr:hover {
  background: #f8fafc;
}

.tabel-preturi-vase tbody tr:last-child td,
.tabel-preturi-vase tbody tr:nth-last-child(2) td,
.tabel-preturi-vase tbody tr:nth-last-child(3) td {
  font-weight: bold;
  color: #111827;
}

/* ===================================================
   DIAGNOSTIC GRIDS
=================================================== */
.sectiune-diagnostic-tehnic {
  margin-top: 80px;
  background: #ffffff;
  padding: 60px 0;
}

.container-diagnostic {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.antet-diagnostic {
  margin-bottom: 50px;
}

.eticheta-diagnostic {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgb(243, 146, 0);
  font-weight: 700;
  margin-bottom: 10px;
}

.antet-diagnostic h2 {
  font-size: 30px;
  color: #0f172a;
  margin: 0 0 15px 0;
  font-weight: 800;
}

.antet-diagnostic p {
  font-size: 16px;
  color: #475569;
  max-width: 750px;
  margin: 0;
  line-height: 1.6;
}

.lista-diagnostic {
  display: flex;
  flex-direction: column;
}

.rand-diagnostic {
  display: grid;
  grid-template-columns: 40px 1fr 140px;
  align-items: center;
  gap: 25px;
  padding: 30px 0;
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.rand-diagnostic:last-child {
  border-bottom: none;
}

.indicator-alerta-diagnostic {
  font-size: 20px;
  opacity: 0.4;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.informatii-diagnostic h3 {
  font-size: 18px;
  color: #0f172a;
  margin: 0 0 8px 0;
  font-weight: 600;
  transition: color 0.3s ease;
}

.informatii-diagnostic p {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.urgenta-diagnostic {
  justify-self: end;
  font-size: 12px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.urgenta-diagnostic.critica {
  background: #fef2f2;
  color: #991b1b;
}

.rand-diagnostic:hover {
  padding-left: 10px;
}

.rand-diagnostic:hover .indicator-alerta-diagnostic {
  opacity: 1;
  transform: scale(1.1);
}

.rand-diagnostic:hover .informatii-diagnostic h3 {
  color: rgb(15, 112, 183);
}

/* ===================================================
   FAQ ACCORDION
=================================================== */
.intrebari-frecvente-servicii {
    max-width: 1000px;
    margin: 50px auto 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.intrebari-frecvente-servicii h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #0f172a;
    font-size: 28px;
    font-weight: 700;
}

.element-intrebare {
    margin-bottom: 12px;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.element-intrebare summary {
    cursor: pointer;
    padding: 18px 20px;
    font-weight: 600;
    font-size: 16px;
    background: #f7f7f7;
    color: #1e293b;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.element-intrebare summary::-webkit-details-marker,
.element-intrebare summary::marker {
    display: none;
}

.element-intrebare details[open] summary {
    background: #e8f3ff;
    border-bottom: 1px solid #e5e5e5;
}

.element-intrebare summary::after {
    content: '+';
    font-size: 20px;
    color: #64748b;
}

.element-intrebare details[open] summary::after {
    content: '−';
    color: #2563eb;
}

.raspuns-intrebare p {
    margin: 0;
    padding: 18px 20px;
    line-height: 1.6;
    color: #444;
    font-size: 15px;
}

/* ===== AVANTAJE ===== */
.sectiune-avantaje-servicii {
    background: #f4f7fa;
    padding: 60px 20px;
    text-align: center;
}

.sectiune-avantaje-servicii h2 {
    font-size: 28px;
    color: rgb(15,112,183);
}

.grila-avantaje {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.articol-avantaj {
    background: #fff;
    padding: 30px 20px;
    border: 1px solid #e2e8f0;
}

.pictograma-avantaj {
    width: 60px;
    height: 60px;
    background: rgb(15,112,183);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px auto;
}

.pictograma-avantaj img {
    width: 30px;
    height: 30px;
}

/* ===== CTA BOX ===== */
.sectiune-apel-actiune {
    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;
}

.imagine-apel-actiune {
    flex: 1;
    min-width: 200px;
}

.imagine-apel-actiune img {
    width: 50%;
    border-radius: 10px;
}

.text-apel-actiune {
    flex: 2;
    min-width: 200px;
    text-align: left;
}

.text-apel-actiune h2 {
    font-size: 30px;
    color: #000 !important;
    margin-bottom: 10px;
}

.text-apel-actiune p {
    font-size: 18px;
    margin-bottom: 25px;
}

.text-apel-actiune 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;
}

.text-apel-actiune a:hover {
    background: rgb(220,130,0);
}

/* ===================================================
   RESPONSIVE DESIGN PREMIUM MOBIL
=================================================== */
@media (max-width: 900px) {
  .articol-vas {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }
  .articol-vas.directie-inversa {
    direction: ltr;
  }
  .media-articol img {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
    .pagina-presiune {
        padding: 10px 4px !important;
    }

    .zona-formular-antet { 
        flex-direction: column; 
        gap: 15px;
        margin: 10px 0;
    }
    
    .imagine-antet, .formular-rezervare {
        flex: 100%;
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 0;
    }

    .imagine-antet img {
        height: auto;
        min-height: 240px;
        border-radius: 0;
    }

    .formular-rezervare {
        padding: 24px 16px;
    }

    /* TRANSFORMARE TABEL IN CARDURI PENTRU MOBIL */
    .tabel-preturi-vase table, 
    .tabel-preturi-vase thead, 
    .tabel-preturi-vase tbody, 
    .tabel-preturi-vase th, 
    .tabel-preturi-vase td, 
    .tabel-preturi-vase tr { 
        display: block; 
    }
    
    .tabel-preturi-vase thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .tabel-preturi-vase tbody tr { 
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        margin: 12px 6px;
        padding: 10px 14px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    }
    
    .tabel-preturi-vase tbody tr:hover {
        background: #ffffff;
    }
    
    .tabel-preturi-vase td { 
        border: none;
        border-bottom: 1px dashed #f1f5f9;
        padding: 10px 0;
        text-align: left;
        font-size: 14.5px;
        color: #334155;
    }

    .tabel-preturi-vase td:last-child {
        border-bottom: none;
        background: #fff8ee;
        padding: 10px;
        margin-top: 6px;
        border-radius: 4px;
        font-weight: bold;
    }

    .tabel-preturi-vase tbody tr:last-child td,
    .tabel-preturi-vase tbody tr:nth-last-child(2) td,
    .tabel-preturi-vase tbody tr:nth-last-child(3) td {
        font-weight: normal; 
    }

    .rand-diagnostic {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 0;
    }
    
    .indicator-alerta-diagnostic {
        display: none;
    }
    
    .urgenta-diagnostic {
        justify-self: start;
        margin-top: 4px;
    }

    .sectiune-apel-actiune { 
        flex-direction: column; 
        text-align: center; 
        padding: 35px 16px;
    }
    .imagine-apel-actiune img {
        width: 55%;
    }
    .text-apel-actiune a { 
        width: 100%; 
        box-sizing: border-box; 
        text-align: center; 
    }
}

@media (max-width: 480px) {
  .introducere-pagina h1 {
    font-size: 24px;
  }
  .specificatii-tehnice-media {
    font-size: 11px;
    flex-wrap: wrap;
    gap: 6px;
  }
}