:root {
    --bg: #f4f7fb;
    --white: #ffffff;
    --text: #273043;
    --muted: #667085;
    --green: #2e8b57;
    --green-2: #39b86d;
    --blue1: #1e3c72;
    --blue2: #2a5298;
    --border: #e7ecf3;
    --shadow: 0 8px 24px rgba(16,24,40,0.08);
    --shadow-lg: 0 14px 40px rgba(16,24,40,0.12);
    --danger-bg: #fef2f2;
    --danger-border: #fecaca;
    --danger-text: #b91c1c;
    --info-bg: #eff6ff;
    --info-border: #bfdbfe;
    --info-text: #1d4ed8;
    --success-bg: #dcfce7;
    --success-text: #166534;
    --warning-bg: #fff7ed;
    --warning-text: #9a3412;
}

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

body {
    font-family: Poppins,sans-serif;
    background: radial-gradient(circle at top left, rgba(57,184,109,0.08), transparent 20%), radial-gradient(circle at top right, rgba(42,82,152,0.08), transparent 20%), var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block
}

a {
    text-decoration: none
}

.container-main {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

header {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 14px rgba(0,0,0,0.06);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .logo img {
        height: 54px;
        width: auto;
    }

    .logo span {
        font-size: 24px;
        font-weight: 700;
        color: var(--green);
        letter-spacing: .2px;
    }

.lang-switch {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

    .lang-switch button {
        border: none;
        background: #edf1f6;
        color: #344054;
        padding: 8px 14px;
        border-radius: 10px;
        cursor: pointer;
        font-weight: 700;
        transition: .25s;
        font-family: inherit;
    }

        .lang-switch button:hover {
            background: #dfe7ef;
        }

    .lang-switch .active {
        background: var(--green);
        color: #fff;
        box-shadow: 0 8px 18px rgba(46,139,87,.24);
    }

.hero {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px 40px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
}

    .hero h1 {
        font-size: 44px;
        line-height: 1.12;
        margin-bottom: 14px;
        font-weight: 800;
        color: #1f2937;
    }

    .hero p {
        font-size: 18px;
        opacity: .9;
        margin-bottom: 24px;
        white-space: pre-line;
        color: #475467;
        line-height: 1.7;
        max-width: 620px;
    }

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cta {
    background: linear-gradient(135deg,var(--green-2),var(--green));
    color: white;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 24px rgba(46,139,87,.2);
    transition: .3s;
}

    .cta:hover {
        transform: translateY(-2px);
        color: #fff;
    }

.cta-outline {
    background: #fff;
    border: 1px solid var(--border);
    color: #344054;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
    transition: .3s;
}

    .cta-outline:hover {
        transform: translateY(-2px);
        color: var(--green);
    }

.hero-image-wrap {
    position: relative
}

.hero-image {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
    height: 420px;
    box-shadow: var(--shadow-lg);
}

.hero-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    padding: 14px 18px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    min-width: 220px;
}

    .hero-badge strong {
        display: block;
        font-size: 18px;
        color: var(--green);
    }

    .hero-badge span {
        font-size: 14px;
        color: var(--muted);
    }

.price-section {
    padding: 20px 0 10px;
}

.price-card {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 30px;
    overflow: hidden;
    position: relative;
}

    .price-card::before {
        content: "";
        position: absolute;
        top: -40px;
        right: -40px;
        width: 180px;
        height: 180px;
        background: radial-gradient(circle, rgba(57,184,109,.14), transparent 70%);
        pointer-events: none;
    }

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.section-head-left h2 {
    font-size: 32px;
    margin-bottom: 8px;
    font-weight: 800;
    color: #1f2937;
}

.section-head-left p {
    color: var(--muted);
    line-height: 1.7;
    max-width: 760px;
    margin: 0;
    white-space: pre-line;
}

.head-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf3;
    color: var(--green);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.search-panel {
    display: grid;
    grid-template-columns: minmax(0,1fr) 180px 170px;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.search-input-wrap,
.search-select-wrap {
    position: relative;
}

    .search-input-wrap i,
    .search-select-wrap i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #98a2b3;
        font-size: 16px;
        pointer-events: none;
    }

.modern-input,
.modern-select {
    width: 100%;
    height: 58px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0 16px 0 46px;
    font-size: 16px;
    background: #fff;
    color: #1f2937;
    outline: none;
    transition: .25s;
    box-shadow: 0 3px 10px rgba(0,0,0,.03);
    font-family: inherit;
}

    .modern-input:focus,
    .modern-select:focus {
        border-color: rgba(46,139,87,.55);
        box-shadow: 0 0 0 4px rgba(46,139,87,.12);
    }

.search-btn {
    height: 58px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg,var(--green-2),var(--green));
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(46,139,87,.2);
    transition: .25s;
    font-family: inherit;
}

    .search-btn:hover {
        transform: translateY(-2px);
    }

#captchaBox {
    display: none;
    margin-top: 8px;
    padding: 18px;
    background: #f8fbff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    text-align: center;
}

#serverStatus,
#resultsInfo,
#lastUpdatedBox {
    display: none;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
}

#serverStatus {
    background: var(--danger-bg);
    color: var(--danger-text);
    border: 1px solid var(--danger-border);
}

#resultsInfo {
    background: var(--info-bg);
    color: var(--info-text);
    border: 1px solid var(--info-border);
}

#lastUpdatedBox {
    background: #f8fafc;
    color: #475467;
    border: 1px solid var(--border);
}

#tableSection {
    display: none;
    margin-top: 18px;
}

.table-wrap {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(16,24,40,.06);
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
}

.product-table {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
}

    .product-table thead th {
        background: linear-gradient(180deg,#f8fafc,#f1f5f9);
        color: #334155;
        font-weight: 700;
        border-bottom: 1px solid #e2e8f0;
        padding: 16px 14px;
        white-space: nowrap;
        text-align: left;
        font-size: 14px;
    }

    .product-table tbody td {
        padding: 15px 14px;
        border-bottom: 1px solid #f1f5f9;
        color: #334155;
        vertical-align: middle;
        font-size: 14px;
    }

    .product-table tbody tr:hover {
        background: #f9fcff;
    }

.price-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eefaf2;
    color: var(--green);
    font-weight: 700;
    font-size: 14px;
}

.regular-pill {
    background: #eff6ff;
    color: #1d4ed8;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
}

.status-yes {
    background: #dcfce7;
    color: #166534;
}

.status-no {
    background: #fee2e2;
    color: #991b1b;
}

.pagination-bar {
    display: none;
    margin-top: 16px;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pagination-info {
    color: #667085;
    font-size: 14px;
    font-weight: 600;
}

.pagination-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.page-btn {
    border: 1px solid var(--border);
    background: #fff;
    color: #344054;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: .25s;
    font-family: inherit;
}

    .page-btn:hover:not(:disabled) {
        transform: translateY(-1px);
        color: var(--green);
    }

    .page-btn:disabled {
        opacity: .5;
        cursor: not-allowed;
    }

.services {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 30px;
}

.service {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: .25s;
    border: 1px solid rgba(255,255,255,.8);
}

    .service:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .service i {
        font-size: 34px;
        color: var(--green);
        margin-bottom: 14px;
    }

    .service h3 {
        margin-bottom: 12px;
        font-weight: 700;
        font-size: 22px;
    }

    .service p {
        white-space: pre-line;
        color: var(--muted);
        line-height: 1.7;
    }

.brands {
    background: linear-gradient(135deg,var(--blue1),var(--blue2));
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 24px;
    margin: 10px auto 40px;
    max-width: 1200px;
    box-shadow: var(--shadow-lg);
}

    .brands h2 {
        margin-bottom: 30px;
        color: white;
        font-size: 32px;
        font-weight: 800;
    }

.brand-grid {
    max-width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(100px,1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.brand-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: transform .3s, filter .3s;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.15));
}

    .brand-icon:hover {
        transform: scale(1.15);
        filter: brightness(1.15);
    }

.contact {
    max-width: 1100px;
    margin: auto;
    padding: 30px 20px 60px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 24px;
}

.card {
    background: white;
    padding: 40px 32px 36px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform .3s, box-shadow .3s;
    border-top: 4px solid var(--green);
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
    }

.card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f8ee, #d1f4e2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(46,139,87,.18);
    transition: transform .3s, box-shadow .3s;
}

.card:hover .card-icon {
    transform: scale(1.08);
    box-shadow: 0 10px 28px rgba(46,139,87,.28);
}

    .card-icon i {
        font-size: 30px;
        color: var(--green);
    }

    .card h3 {
        margin-bottom: 14px;
        font-weight: 800;
        font-size: 20px;
        color: #1f2937;
    }

    .card p {
        color: var(--muted);
        line-height: 1.7;
        margin: 0;
        white-space: normal;
        font-size: 15px;
    }

    .card a {
        color: var(--green);
        text-decoration: none;
        font-weight: 600;
        display: inline-block;
        margin: 3px 0;
        font-size: 15px;
        transition: color .2s;
    }

        .card a:hover {
            color: var(--green-2);
            text-decoration: underline;
        }

.map {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

iframe {
    width: 100%;
    height: 380px;
    border: 0;
}

footer {
    text-align: center;
    padding: 24px 20px;
    background: #eef2f6;
    color: #667085;
    margin-top: 20px;
    font-weight: 500;
    font-size: 14px;
}

/* ── Social row (after map) ───────────────────────────────────────────────── */
.social-row {
    margin-top: 28px;
    text-align: center;
}

.social-follow-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 14px;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.social-item {
    display: flex;
    text-decoration: none;
    transition: transform .25s;
}

    .social-item:hover {
        transform: translateY(-3px) scale(1.1);
    }

.social-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
    display: block;
}

#loadingOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.loading-box {
    background: #fff;
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    color: #344054;
    min-width: 260px;
    justify-content: center;
}

.spinner-modern {
    width: 24px;
    height: 24px;
    border: 3px solid #d1fae5;
    border-top-color: var(--green);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@media(max-width:980px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

        .hero p {
            margin-left: auto;
            margin-right: auto;
        }

    .hero-actions {
        justify-content: center;
    }

    .hero-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: 16px;
    }

    .search-panel {
        grid-template-columns: 1fr;
    }

    .section-head {
        flex-direction: column;
    }
}

@media(max-width:850px) {
    .hero h1 {
        font-size: 34px
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .lang-switch {
        width: 100%;
    }
}

@media(max-width:575px) {
    .container-main,
    .header,
    .hero,
    .services,
    .contact {
        padding-left: 14px;
        padding-right: 14px;
    }

    .price-card {
        padding: 18px;
    }

    .hero-image {
        height: 300px;
    }

    .section-head-left h2,
    .brands h2 {
        font-size: 26px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .pagination-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}
