/*================================================
  Home — Services Hero — v4.3 iOS FIX
================================================*/
.eco-services {
    background: #0C0C0E !important;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}
.eco-services::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 500px; height: 350px;
    background: radial-gradient(ellipse at center, rgba(230,57,70,0.08), transparent 70%);
    pointer-events: none;
}
.eco-services__wrapper {
    width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px;
    position: relative; z-index: 1;
}
.eco-services__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* === Text === */
.eco-services__center {
    display: flex; flex-direction: column; gap: 16px;
}
.eco-services__badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; width: fit-content;
    background: rgba(230,57,70,0.1);
    border: 1px solid rgba(230,57,70,0.2);
    border-radius: 20px;
    font-family: 'Space Mono', monospace;
    font-size: 0.68rem; font-weight: 700;
    color: var(--red);
    text-transform: uppercase; letter-spacing: 0.1em;
}
.eco-services__badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--red);
    border-radius: 50%;
    animation: eco-pulse 2s infinite;
}
@keyframes eco-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.eco-services__title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 700; color: #F0F0F2;
    margin: 0; letter-spacing: -0.03em; line-height: 1.1;
}
.eco-services__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--red), #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.eco-services__subtitle {
    font-size: 0.95rem; font-weight: 400;
    color: rgba(255,255,255,0.5);
    max-width: 420px; margin: 0; line-height: 1.65;
}
.eco-services__actions {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin-top: 4px;
}

/* === CAROUSEL — iOS BULLETPROOF === */
.eco-services__carousel-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    background: #18181C;
    width: 100%;
}

/* FORCE owl items to have proper width */
.eco-services__carousel-wrap .owl-carousel {
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.eco-services__carousel-wrap .owl-stage-outer {
    overflow: hidden;
    border-radius: 14px;
    width: 100% !important;
}
.eco-services__carousel-wrap .owl-stage {
    display: flex !important;
}

/* Slides */
.eco-services__slide {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: #111;
}
.eco-services__slide img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    visibility: visible !important;
    opacity: 1 !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Carousel nav */
.owl-custom-nav {
    position: absolute; top: 50%; left: 0; right: 0;
    transform: translateY(-50%);
    display: flex; justify-content: space-between;
    padding: 0 10px;
    z-index: 10; pointer-events: none;
}
.owl-custom-prev, .owl-custom-next {
    width: 36px; height: 36px;
    background: rgba(12,12,14,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    transition: all 0.25s;
    pointer-events: auto;
}
.owl-custom-prev:hover, .owl-custom-next:hover {
    background: var(--red); border-color: var(--red);
}

/* Sidebar hidden */
.eco-services__sidebar { display: none; }

/* === ICON BAR === */
.eco-services__icon-bar {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    background: #131316;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.eco-services__icon-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; padding: 24px 8px;
    text-decoration: none;
    border-right: 1px solid rgba(255,255,255,0.04);
    transition: all 0.3s;
    position: relative;
}
.eco-services__icon-card:last-child { border-right: none; }
.eco-services__icon-card::after {
    content: '';
    position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
    background: var(--red);
    transition: all 0.3s;
    transform: translateX(-50%);
}
.eco-services__icon-card:hover::after { width: 60%; }
.eco-services__icon-card:hover { background: rgba(255,255,255,0.02); }
.eco-services__icon-svg {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.eco-services__icon-svg svg,
.eco-services__icon-svg img {
    width: 28px !important; height: 28px !important;
    max-width: 28px !important; max-height: 28px !important;
    object-fit: contain;
}
.eco-services__icon-svg svg path { fill: rgba(255,255,255,0.4); transition: fill 0.25s; }
.eco-services__icon-card:hover .eco-services__icon-svg svg path { fill: var(--red); }
.eco-services__icon-text {
    display: flex; flex-direction: column; align-items: center;
    color: rgba(255,255,255,0.3); font-size: 0.62rem; font-weight: 600;
    text-align: center; line-height: 1.3;
    text-transform: uppercase; letter-spacing: 0.06em;
    transition: color 0.25s;
}
.eco-services__icon-card:hover .eco-services__icon-text { color: rgba(255,255,255,0.5); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .eco-services__layout { grid-template-columns: 1fr; gap: 28px; }
    .eco-services__center { text-align: center; align-items: center; order: 1; }
    .eco-services__carousel-wrap { order: 2; max-width: 560px; margin: 0 auto; }
    .eco-services__title { text-align: center; }
    .eco-services__subtitle { text-align: center; margin: 0 auto; }
    .eco-services__actions { justify-content: center; }
    .eco-services__slide { height: 300px; }
}

@media (max-width: 768px) {
    .eco-services { padding: 28px 0; }
    .eco-services__wrapper { padding: 0 16px; }
    .eco-services__layout { gap: 20px; }
    .eco-services__carousel-wrap { border-radius: 10px; max-width: 100%; }
    .eco-services__carousel-wrap .owl-stage-outer { border-radius: 10px; }
    .eco-services__slide { height: 220px; }
    /* iOS fix: force owl-item width only on mobile */
    .eco-services__carousel-wrap .owl-item { min-width: 100% !important; flex-shrink: 0; }
    .eco-services__actions { flex-direction: column; align-items: center; gap: 8px; }
    .eco-services__actions .eco-btn { width: 100%; max-width: 280px; justify-content: center; }
    .eco-services__subtitle { font-size: 0.88rem; }
    .owl-custom-prev, .owl-custom-next { width: 32px; height: 32px; font-size: 12px; }
    .eco-services__icon-bar { grid-template-columns: repeat(4, 1fr); }
    .eco-services__icon-card { padding: 14px 4px; gap: 5px; }
    .eco-services__icon-card:nth-child(n+5) { display: none; }
    .eco-services__icon-svg { width: 22px; height: 22px; }
    .eco-services__icon-svg svg, .eco-services__icon-svg img {
        width: 22px !important; height: 22px !important;
        max-width: 22px !important; max-height: 22px !important;
    }
    .eco-services__icon-text { font-size: 0.5rem; }
}

@media (max-width: 400px) {
    .eco-services__title { font-size: 1.4rem; }
    .eco-services__badge { font-size: 0.58rem; padding: 4px 10px; }
    .eco-services__slide { height: 180px; }
}
