/* ══════════════════════════════════════
   BERC Xidmət Single & Sahələri
   v10 — Template-based (No Elementor)
   ══════════════════════════════════════ */

.bx {
    --blue: #0d47a1;
    --blue-hover: #1565c0;
    --blue-light: #e3f2fd;
    --blue-pale: #f5f9ff;
    --dark: #0f172a;
    --text: #334155;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --white: #ffffff;
    --radius: 10px;
    --transition: 0.25s ease;
    --content-width: 1500px;

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}

.bx *, .bx *::before, .bx *::after {
    box-sizing: border-box;
}

.bx a { text-decoration: none; }
.bx img { max-width: 100%; height: auto; display: block; }

.bx-container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}


/* ═══════════ BREADCRUMB ═══════════ */

.bx-breadcrumb {
    padding: 1rem 0;
}

.bx-breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.bx-breadcrumb a {
    color: var(--text-muted);
    transition: color var(--transition);
}

.bx-breadcrumb a:hover { color: var(--blue); }

.bx-sep {
    user-select: none;
    color: var(--border);
}


/* ═══════════ HERO — Xidmət Single ═══════════ */

.bx-hero {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 3.5rem 0 4rem;
}

.bx-hero__grid {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 3.5rem;
    align-items: center;
}

.bx-hero__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bx-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bx-hero__tag {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-light);
    border-radius: 5px;
    transition: background var(--transition);
}

.bx-hero__tag:hover {
    background: #bbdefb;
    color: var(--blue);
}

.bx-hero__title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin: 0;
}

.bx-hero__excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0;
}

.bx-hero__btn {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 0.8rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    background: var(--blue);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 0.5rem;
}

.bx-hero__btn:hover {
    background: var(--blue-hover);
    box-shadow: 0 4px 14px rgba(13, 71, 161, 0.3);
    color: var(--white);
}

.bx-hero__image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.bx-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ═══════════ HERO — Xidmət Sahəsi (Blue) ═══════════ */

.bx-hero--blue {
    background: var(--blue);
    border-bottom: none;
    padding: 3.5rem 0 4rem;
}

.bx-hero--blue .bx-hero__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.75rem;
}

.bx-hero--blue .bx-hero__title {
    color: var(--white);
}

.bx-hero--blue .bx-hero__excerpt {
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
}


/* ═══════════ CONTENT ═══════════ */

.bx-content {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.bx-content__inner {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text);
}

.bx-content__inner > *:first-child {
    margin-top: 0;
}

.bx-content__inner h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2.5rem 0 0.75rem;
    line-height: 1.3;
}

.bx-content__inner h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2rem 0 0.5rem;
}

.bx-content__inner h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 1.5rem 0 0.5rem;
}

.bx-content__inner p {
    margin: 0 0 1.25rem;
}

.bx-content__inner a { color: var(--blue); }
.bx-content__inner a:hover { text-decoration: underline; }

.bx-content__inner ul,
.bx-content__inner ol {
    padding-left: 1.5rem;
    margin: 0 0 1.25rem;
}

.bx-content__inner li {
    margin-bottom: 0.4rem;
    font-family: 'Inter', sans-serif;
}

.bx-content__inner ul li::marker { color: var(--blue); }
.bx-content__inner ol li::marker { color: var(--blue); font-weight: 600; }

.bx-content__inner blockquote {
    border-left: 3px solid var(--blue);
    background: var(--blue-pale);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    margin: 1.5rem 0;
}

.bx-content__inner blockquote p:last-child { margin-bottom: 0; }

.bx-content__inner img {
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.bx-content__inner table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.bx-content__inner th {
    background: var(--bg);
    padding: 0.75rem 1rem;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border);
}

.bx-content__inner td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--border);
    font-family: 'Inter', sans-serif;
}

.bx-content__inner tr:last-child td { border-bottom: none; }

.bx-content__inner hr {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 2rem 0;
}


/* ═══════════ RELATED SERVICES ═══════════ */

.bx-related {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.bx-related__title {
    font-family: 'Inter', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 1.5rem;
}

.bx-related__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bx-related__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 8px;
    transition: all var(--transition);
}

.bx-related__link:nth-child(odd) {
    background: rgba(0, 0, 0, 0.02);
}

.bx-related__link:hover {
    background: var(--blue-light);
    color: var(--blue);
}

.bx-related__link svg {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: all var(--transition);
}

.bx-related__link:hover svg {
    color: var(--blue);
    transform: translateX(3px);
}


/* ═══════════ INQUIRY FORM ═══════════ */

#bxFormSection {
    background: #0d47a1;
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

#bxFormSection *:not(i):not(svg):not(path) {
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

#bxFormSection .bx-form-wrap {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

#bxFormSection .bx-form-info {
    flex-shrink: 0;
    max-width: 340px;
}

#bxFormSection .bx-form-info__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem;
    line-height: 1.3;
    background: transparent;
    border: none;
    padding: 0;
}

#bxFormSection .bx-form-info__desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.6;
    background: transparent;
    border: none;
    padding: 0;
}

#bxFormSection .bx-inquiry-form {
    flex: 1;
    min-width: 0;
}

#bxFormSection .bx-inquiry-form__fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

#bxFormSection .bx-inquiry-form__field input,
#bxFormSection .bx-inquiry-form__field input[type="text"],
#bxFormSection .bx-inquiry-form__field input[type="email"],
#bxFormSection .bx-inquiry-form__field input[type="tel"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background 0.2s ease;
    height: auto;
    margin: 0;
}

#bxFormSection .bx-inquiry-form__field input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

#bxFormSection .bx-inquiry-form__field input:focus {
    border-color: rgba(255, 255, 255, 0.5) !important;
    background: rgba(255, 255, 255, 0.14) !important;
}

#bxFormSection .bx-inquiry-form__btn,
#bxFormSection button.bx-inquiry-form__btn,
#bxFormSection button[type="submit"].bx-inquiry-form__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0d47a1 !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: none;
    text-decoration: none;
    line-height: 1.4;
}

#bxFormSection .bx-inquiry-form__btn:hover,
#bxFormSection button.bx-inquiry-form__btn:hover {
    background: #f0f4ff !important;
    color: #0d47a1 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

#bxFormSection .bx-inquiry-form__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#bxFormSection .bx-inquiry-form__btn i {
    font-size: 0.8rem;
    color: #0d47a1;
}

#bxFormSection .bx-inquiry-success {
    text-align: center;
    padding: 1rem 0;
}

#bxFormSection .bx-inquiry-success i {
    font-size: 2.5rem;
    color: #22c55e;
    margin-bottom: 0.75rem;
    display: block;
}

#bxFormSection .bx-inquiry-success p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}


/* ═══════════ RESPONSIVE ═══════════ */

@media (max-width: 900px) {
    .bx-hero__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bx-hero__image {
        max-width: 500px;
    }

    #bxFormSection .bx-form-wrap {
        flex-direction: column;
        gap: 1.5rem;
    }

    #bxFormSection .bx-form-info {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .bx-hero {
        padding: 2.5rem 0 3rem;
    }

    .bx-hero--blue {
        padding: 2.5rem 0 3rem;
    }

    .bx-hero__title {
        font-size: 1.5rem;
    }

    .bx-hero--blue .bx-hero__title {
        font-size: 1.5rem;
    }

    .bx-content__inner {
        font-size: 1rem;
    }

    #bxFormSection .bx-form-wrap {
        flex-direction: column;
        gap: 1.5rem;
    }

    #bxFormSection .bx-form-info {
        max-width: 100%;
        text-align: center;
    }

    #bxFormSection .bx-inquiry-form__fields {
        grid-template-columns: 1fr;
    }

    #bxFormSection .bx-inquiry-form__btn {
        width: 100%;
    }
}
