
:root {
    --best-services-dark: #031722;
    --best-services-blue: #087eb7;
    --best-services-cyan: #15b8c8;
    --best-services-text: #263c48;
    --best-services-muted: #71838e;
    --best-services-light: #f4f9fb;
    --best-services-border: #e1ebef;
    --best-services-gold: #f5b942;
}

/* =====================================================
   SECTION
===================================================== */

.bysamy-best-services {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 8% 20%,
            rgba(21, 184, 200, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 92% 80%,
            rgba(8, 126, 183, 0.07),
            transparent 30%
        ),
        #ffffff;
}

.bysamy-best-services::before {
    content: "";
    position: absolute;
    top: 80px;
    right: -120px;
    width: 300px;
    height: 300px;
    border: 48px solid rgba(8, 126, 183, 0.035);
    border-radius: 50%;
    pointer-events: none;
}

.bysamy-best-services .container {
    position: relative;
    z-index: 2;
}

/* =====================================================
   VISUAL
===================================================== */

.bysamy-best-services-visual {
    position: relative;
    max-width: 520px;
    margin-right: auto;
    padding: 28px 20px 55px;
}

.bysamy-services-main-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 30px;
    background: var(--best-services-dark);
    box-shadow: 0 35px 80px rgba(3, 23, 34, 0.22);
}

.bysamy-services-main-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.bysamy-best-services-visual:hover
.bysamy-services-main-image img {
    transform: scale(1.05);
}

.bysamy-services-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(3, 23, 34, 0.04) 20%,
            rgba(3, 23, 34, 0.20) 58%,
            rgba(3, 23, 34, 0.86) 100%
        );
}

.bysamy-services-image-content {
    position: absolute;
    right: 28px;
    bottom: 30px;
    left: 28px;
    padding: 21px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 18px;
    color: #ffffff;
    background: rgba(3, 23, 34, 0.38);
    backdrop-filter: blur(13px);
}

.bysamy-services-image-content span {
    display: block;
    margin-bottom: 8px;
    color: #82e5ec;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2.4px;
}

.bysamy-services-image-content h3 {
    margin: 0 0 9px;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 800;
}

.bysamy-services-image-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    line-height: 1.7;
}

/* =====================================================
   FLOATING CARDS
===================================================== */

.bysamy-services-rating-card,
.bysamy-services-support-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 17px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 45px rgba(3, 23, 34, 0.17);
    backdrop-filter: blur(12px);
}

.bysamy-services-rating-card {
    top: 0;
    left: -10px;
}

.bysamy-services-support-card {
    right: -5px;
    bottom: 20px;
}

.bysamy-services-rating-icon,
.bysamy-services-support-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 13px;
}

.bysamy-services-rating-icon {
    color: #d99b00;
    background: #fff5d8;
}

.bysamy-services-support-icon {
    color: var(--best-services-blue);
    background: #eaf8fb;
}

.bysamy-services-rating-card strong,
.bysamy-services-rating-card span,
.bysamy-services-support-card strong,
.bysamy-services-support-card span {
    display: block;
}

.bysamy-services-rating-card strong,
.bysamy-services-support-card strong {
    margin-bottom: 3px;
    color: var(--best-services-dark);
    font-size: 12px;
    font-weight: 800;
}

.bysamy-services-rating-card span,
.bysamy-services-support-card span {
    color: var(--best-services-muted);
    font-size: 9px;
}

/* =====================================================
   CONTENT
===================================================== */

.bysamy-best-services-content {
    max-width: 760px;
    margin-left: auto;
}

.bysamy-services-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
    color: var(--best-services-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.bysamy-services-subtitle::before {
    content: "";
    width: 43px;
    height: 2px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        var(--best-services-blue),
        var(--best-services-cyan)
    );
}

.bysamy-services-title {
    margin: 0 0 22px;
    color: var(--best-services-dark);
    font-size: clamp(42px, 4.5vw, 64px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -2.5px;
}

.bysamy-services-title span {
    display: block;
    color: var(--best-services-blue);
}

.bysamy-services-description {
    max-width: 700px;
    margin: 0 0 34px;
    color: var(--best-services-muted);
    font-size: 15px;
    line-height: 1.9;
}

/* =====================================================
   SERVICES GRID
===================================================== */

.bysamy-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.bysamy-service-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-height: 155px;
    padding: 18px;
    border: 1px solid var(--best-services-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 28px rgba(3, 23, 34, 0.055);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.bysamy-service-item:hover {
    transform: translateY(-6px);
    border-color: rgba(21, 184, 200, 0.42);
    box-shadow: 0 20px 42px rgba(3, 23, 34, 0.11);
}

.bysamy-service-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        rgba(8, 126, 183, 0.11),
        rgba(21, 184, 200, 0.11)
    );
}

.bysamy-service-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.bysamy-service-text h3 {
    margin: 0 0 7px;
    color: var(--best-services-dark);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
}

.bysamy-service-text p {
    margin: 0;
    color: var(--best-services-muted);
    font-size: 11px;
    line-height: 1.7;
}

/* =====================================================
   ACTIONS
===================================================== */

.bysamy-services-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.bysamy-services-primary-button,
.bysamy-services-whatsapp-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 21px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.bysamy-services-primary-button {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--best-services-blue),
        var(--best-services-cyan)
    );
    box-shadow: 0 14px 30px rgba(8, 126, 183, 0.25);
}

.bysamy-services-primary-button:hover {
    transform: translateY(-4px);
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(8, 126, 183, 0.34);
}

.bysamy-services-whatsapp-button {
    border: 1px solid #dce9e2;
    color: #0d7c4d;
    background: #f4fff9;
}

.bysamy-services-whatsapp-button i {
    color: #25d366;
    font-size: 19px;
}

.bysamy-services-whatsapp-button:hover {
    transform: translateY(-4px);
    color: #0d7c4d;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.14);
}

/* =====================================================
   TRUST ROW
===================================================== */

.bysamy-services-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--best-services-border);
}

.bysamy-services-trust div {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--best-services-muted);
    font-size: 10px;
    font-weight: 700;
}

.bysamy-services-trust i {
    color: var(--best-services-blue);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1199.98px) {

    .bysamy-services-grid {
        grid-template-columns: 1fr;
    }

    .bysamy-service-item {
        min-height: auto;
    }

}

@media (max-width: 991.98px) {

    .bysamy-best-services {
        padding: 85px 0;
    }

    .bysamy-best-services-visual {
        max-width: 620px;
        margin: 0 auto 40px;
    }

    .bysamy-best-services-content {
        max-width: 100%;
    }

    .bysamy-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 767.98px) {

    .bysamy-best-services {
        padding: 70px 0;
    }

    .bysamy-services-title {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .bysamy-services-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 575.98px) {

    .bysamy-best-services {
        padding: 55px 0;
    }

    .bysamy-services-title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .bysamy-best-services-visual {
        padding: 24px 0 0;
    }

    .bysamy-services-main-image {
        border-radius: 23px;
    }

    .bysamy-services-rating-card,
    .bysamy-services-support-card {
        position: static;
        margin-top: 12px;
    }

    .bysamy-services-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .bysamy-services-primary-button,
    .bysamy-services-whatsapp-button {
        width: 100%;
    }

    .bysamy-services-trust {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

}
