/* ===== RESET & BODY ===== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f7fa;
    color: #333;
}

/* ===== HEADER / HERO ===== */
.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 REZERVARE ===== */
.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 --- */
.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;
}

a i.fa-phone {
    margin-right: 8px;
    color: #000;
}

/* ===== SECTIONS SEPARATORS ===== */
.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 ACCORDION STYLE ===== */
.srv-faq {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 15px;
}

.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;
    margin-bottom: 25px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 700;
}

.faq-item 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;
}

.faq-item summary::-webkit-details-marker,
.faq-item summary::marker {
    display: none;
}

.faq-item details[open] summary {
    background: #e8f3ff;
    border-bottom: 1px solid #e5e5e5;
}

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    color: #64748b;
    font-weight: 400;
}

.faq-item details[open] summary::after {
    content: '−';
    color: #2563eb;
}

.faq-item .faq-answer {
    background: #fff;
}

.faq-item p {
    margin: 0;
    padding: 18px 20px;
    line-height: 1.6;
    color: #444;
    font-size: 15px;
}

/* ===== CTA FINAL ===== */
.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 COMPANIE ===== */
.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;
}

/* ===== MIDDLE CTA BLOCK ===== */
.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 LINKS ===== */
.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;
}

/* ===== STRUCTURA PAGINA TIPURI POMPE (FLEXBOX) ===== */
.pompe-page {
    max-width: 1100px;
    margin: auto;
    padding: 5px;
    font-family: Arial, sans-serif;
    color: #1f2937;
    box-sizing: border-box;
}

.pompe-page *, 
.pompe-page *::before, 
.pompe-page *::after {
    box-sizing: border-box;
}

.pompe-hero {
    text-align: center;
    margin-bottom: 40px;
}

.pompe-hero h1 {
    font-size: 30px;
    color: #0f172a;
    padding: 10px 0;
    margin-bottom: 10px;
}

.pompe-hero p {
    font-size: 16px;
    color: #555;
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
}

.pompe-types {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pompe-type-card {
    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;
}

.pompe-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.pompe-type-card.reverse {
    flex-direction: row-reverse;
}

.pompe-img-box {
    flex: 1 1 300px;
    text-align: center;
}

.pompe-img-box img {
    width: 320px;
    max-width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.pompe-info-box {
    flex: 1.5 1 350px;
}

.pompe-info-box h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #111827;
}

.pompe-info-box p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.pompe-info-box ul {
    margin-top: 10px;
    padding-left: 18px;
}

.pompe-info-box ul li {
    margin-bottom: 6px;
    color: #374151;
}

/* ===== BLOC GRILA SERVICII / MENTENANTA (PORTOCALIU) ===== */
.pompe-service-section {
    margin-top: 50px;
    background: rgb(243, 146, 0);
    color: #fff;
    padding: 40px 20px;
    border-radius: 16px;
}

.pompe-service-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

.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;
}

/* ==========================================================================
   TABEL PRETURI ADAPTIV 
========================================================================== */
.pompe-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);
}

.pompe-price-table h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0f172a;
    font-size: 24px;
}

.pompe-price-table table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 12px;
}

.pompe-price-table thead {
    background: rgb(243, 146, 0);
    color: #fff;
}

.pompe-price-table th,
.pompe-price-table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.pompe-price-table tbody tr {
    transition: 0.2s;
}

.pompe-price-table tbody tr:hover {
    background: #f3f4f6;
}

.pompe-price-table .pret-celula {
    font-weight: bold;
    color: #111827;
}

.pompe-price-table tbody tr td[colspan="3"] {
    font-weight: 500;
    color: #374151;
}

.pompe-price-table tbody tr td[colspan="3"] + .pret-celula {
    font-weight: bold;
    color: rgb(15, 112, 183);
}

/* ==========================================================================
   MEDIA QUERIES RESPONSIVE & LAYOUT FIXES
========================================================================== */
@media (max-width: 900px) {
    .pompe-type-card {
        flex-direction: column !important;
        text-align: center;
        padding: 25px 15px;
    }

    .pompe-type-card.reverse {
        flex-direction: column !important;
    }

    .pompe-img-box, 
    .pompe-info-box {
        width: 100%;
    }

    .pompe-info-box 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;
    }
}

/* MOBIL STRIKT - RESPONSIVITATE COLOANE */
@media (max-width: 768px) {
    .header-form-section {
        flex-direction: column;
        gap: 20px;
    }
    .pompe-price-table {
        margin: 20px 5px;
        padding: 0;
        border-radius: 12px;
    }

    .pompe-price-table h2 {
        font-size: 18px;
        line-height: 1.3;
        margin: 15px 10px;
    }

    .pompe-price-table table {
        table-layout: fixed !important;
        width: 100% !important;
    }

    .pompe-price-table th,
    .pompe-price-table td {
        padding: 10px 4px !important;
        font-size: 11px !important;
        line-height: 1.3;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        vertical-align: middle;
    }

    .pompe-price-table th:nth-child(1), .pompe-price-table td:nth-child(1) { width: 28% !important; }
    .pompe-price-table th:nth-child(2), .pompe-price-table td:nth-child(2) { width: 26% !important; }
    .pompe-price-table th:nth-child(3), .pompe-price-table td:nth-child(3) { width: 28% !important; }
    .pompe-price-table th:nth-child(4), .pompe-price-table td:nth-child(4) { 
        width: 18% !important; 
        text-align: right;
    }

    .pompe-price-table td[colspan="3"] {
        width: 82% !important;
    }
    .pompe-price-table td[colspan="3"] + .pret-celula {
        width: 18% !important;
        text-align: right;
    }
    
    .pompe-price-table .pret-celula {
        white-space: nowrap !important;
    }
    
    .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%; }
    
    .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; height: auto !important; }
    .zones-list { width: 100% !important; }
    .zones-list ul {
        columns: 3 !important;
        -webkit-columns: 3 !important;
        -moz-columns: 3 !important;
        gap: 10px !important;
        text-align: left !important;
    }
    .zones-list li { margin-bottom: 8px !important; font-size: 13px !important; word-break: break-word; }
}