/* ===== BES Service Single — color variables (match brand: navy + gold) ===== */
.bes-service-single {
    --bes-navy: #0f1c38;
    --bes-gold: #c8a84b;
    --bes-text: #333;
    max-width: 100%;
    overflow-x: hidden;
}

/* ---------- HERO ---------- */
.bes-service-single .bes-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    background-color: var(--bes-navy);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    overflow: hidden;
}
.bes-service-single .bes-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15,28,56,0.93) 45%, rgba(15,28,56,0) 100%);
    z-index: 1;
}
.bes-service-single .bes-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 40px 40px max(40px, calc((100vw - 1500px) / 2 + 40px));
    max-width: 600px;
}
.bes-service-single .bes-hero-subtitle-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}
.bes-service-single .bes-hero-subtitle {
    color: var(--bes-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.bes-service-single .bes-hero-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: var(--bes-gold);
}
.bes-service-single .bes-hero-title {
    color: #fff;
    font-weight: 800;
    font-size: 42px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-family: 'The Seasons';
}

/* ---------- BREADCRUMBS ---------- */
.bes-service-single .bes-breadcrumbs-wrap {
    max-width: 1500px;
    margin: 24px auto 0;
    padding: 0 40px;
}
.bes-service-single .bes-breadcrumbs {
    font-size: 13px;
    color: #888;
}
.bes-service-single .bes-breadcrumbs a {
    color: #888;
    text-decoration: none;
}
.bes-service-single .bes-breadcrumbs a:hover { color: var(--bes-navy); }
.bes-service-single .bes-breadcrumbs span { margin: 0 6px; }
.bes-service-single .bes-breadcrumbs .current { color: var(--bes-gold); }

/* ---------- ABOUT ---------- */
.bes-service-single .bes-about {
    max-width: 1500px;
    margin: 60px auto 150px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.bes-service-single .bes-about-text h2 {
    color: var(--bes-navy);
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 16px;
    font-family: 'The Seasons';
}
.bes-service-single .bes-about-richtext p {
    color: #555;
    line-height: 1.7;
    margin: 0 0 14px;
    font-size: 15px;
}
.bes-service-single .bes-about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* ---------- FEATURES (dark band, 4 columns) ---------- */
.bes-service-single .bes-features {
    background-color: var(--bes-navy);
    padding: 60px 40px;
    margin-bottom: 150px;
}
.bes-service-single .bes-features-inner {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.bes-service-single .bes-feature {
    text-align: center;
    padding: 0 40px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.bes-service-single .bes-feature:last-child { border-right: none; }
.bes-service-single .bes-feature-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.bes-service-single .bes-feature-icon img {
    max-width: 100%;
    max-height: 100%;
    filter: brightness(0) invert(1);
}
.bes-service-single .bes-feature h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
}
.bes-service-single .bes-feature p {
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* ---------- RELATED PROJECTS ---------- */
.bes-service-single .bes-related-projects {
    max-width: 1500px;
    margin: 0 auto 150px;
    padding: 0 40px;
}
.bes-service-single .bes-related-projects h2 {
    color: var(--bes-navy);
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 24px;
}
.bes-service-single .bes-related-slider-wrap {
    position: relative !important;
}
.bes-service-single .bes-related-slider {
    display: flex !important;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.bes-service-single .bes-related-slider::-webkit-scrollbar { display: none; }
.bes-service-single .bes-related-slide {
    flex: 0 0 calc(30% - 17px) !important;
    min-width: 260px;
}
.bes-service-single .bes-related-card {
    display: block !important;
    position: relative;
   
    overflow: hidden;
    height: 320px;
}
.bes-service-single .bes-related-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #071730 0%, rgba(104, 143, 209, 0) 100%);
    z-index: 1;
    pointer-events: none;
}
.bes-service-single .bes-related-thumb { height: 100%; }
.bes-service-single .bes-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bes-service-single .bes-related-info {
    display: flex !important;
    position: absolute;
    left: 0; right: 0; bottom: 0;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
    padding: 16px;
}
.bes-service-single .bes-related-text {
    flex: 1 1 auto;
    min-width: 0;
}
.bes-service-single .bes-related-divider {
    display: block !important;
    width: 84px;
    height: 2px;
    background-color: #c8a84b;
    margin: 8px 0;
}
.bes-service-single .bes-related-client {
    display: block !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}
.bes-service-single .bes-related-location {
    display: block !important;
    color: rgba(255,255,255,0.75) !important;
    font-size: 12px;
    margin-top: 2px;
}
.bes-service-single a.bes-related-btn {
    display: inline-block !important;
    width: auto !important;
    flex-shrink: 0;
    color: #fff !important;
    border: 1px solid #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    text-decoration: none !important;
    white-space: nowrap;
}
.bes-service-single a.bes-related-btn:hover { background: #fff; color: var(--bes-navy) !important; }

.bes-service-single button.bes-slider-arrow {
    display: block !important;
    width: 36px !important;
    height: 36px !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 1%;
    border: none !important;
    background-color: #fff !important;
    background-image: none !important;
    color: var(--bes-navy) !important;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
}
.bes-service-single button.bes-slider-prev { left: 12px; }
.bes-service-single button.bes-slider-next { right: 55px; }
.bes-service-single button.bes-slider-arrow:hover,
.bes-service-single button.bes-slider-arrow:focus,
.bes-service-single button.bes-slider-arrow:active {
    background-color: var(--bes-navy) !important;
    color: #fff !important;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .bes-service-single .bes-about { grid-template-columns: 1fr; margin-bottom: 90px; }
    .bes-service-single .bes-features { margin-bottom: 90px; }
    .bes-service-single .bes-features-inner { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
    .bes-service-single .bes-feature { border-right: none; }
    .bes-service-single .bes-related-projects { margin-bottom: 90px; }
    .bes-service-single .bes-related-slide { flex: 0 0 calc(80% - 16px) !important; }
    .bes-service-single .bes-hero-title { font-size: 30px; }
}

@media (max-width: 640px) {
    .bes-service-single .bes-hero { min-height: 260px; }
    .bes-service-single .bes-hero-content { padding: 24px; max-width: 100%; }
    .bes-service-single .bes-hero-title { font-size: 24px; }
    .bes-service-single .bes-hero-subtitle { font-size: 11px; letter-spacing: 1px; }

    .bes-service-single .bes-breadcrumbs-wrap { padding: 0 16px; }
    .bes-service-single .bes-breadcrumbs { font-size: 12px; }

    .bes-service-single .bes-about { margin: 30px auto 60px; padding: 0 16px; gap: 24px; }
    .bes-service-single .bes-about-text h2 { font-size: 21px; }
    .bes-service-single .bes-about-richtext p { font-size: 14px; }

    .bes-service-single .bes-features { padding: 40px 16px; margin-bottom: 60px; }
    .bes-service-single .bes-features-inner { grid-template-columns: 1fr; row-gap: 28px; }

    .bes-service-single .bes-related-projects { margin-bottom: 60px; padding: 0 16px; }
    .bes-service-single .bes-related-projects h2 { font-size: 20px; }
    .bes-service-single .bes-related-slide { flex: 0 0 88% !important; min-width: 0 !important; }
    .bes-service-single .bes-related-card { height: 240px !important; }
}
