/* ===================================================================
   home.css — stiluri DOAR pentru homepage (index.html).
   Se încarcă după city-page.css și refolosește componentele de acolo
   (.cp-head, .cp-btn, .cp-section, .cp-steps, .cp-faq, .cp-cta).
   =================================================================== */

/* ================= HERO ================= */
.hp-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: min(760px, 92vh);
    display: flex;
    align-items: center;
    padding: 80px 0 150px;
    background: #003d5c;
}

.hp-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hp-hero__media img,
.hp-hero__media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(105deg, rgba(0, 61, 92, 0.93) 0%, rgba(0, 61, 92, 0.78) 42%, rgba(0, 113, 168, 0.35) 100%);
}

.hp-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 70px;
    z-index: 2;
    background: #fff;
    clip-path: ellipse(75% 100% at 50% 100%);
}

.hp-hero .wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hp-hero__inner {
    max-width: 760px;
}

.hp-hero h1 {
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 54px;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    color: #fff;
}

.hp-hero h1 span {
    color: #10bf6b;
}

.hp-hero__lead {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 640px;
    margin: 0 0 32px;
}

.hp-hero__cities {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.hp-hero__cities > span {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-right: 4px;
}

.hp-hero .hero-city-pins {
    margin-top: 0;
    justify-content: flex-start;
}

/* bandă de încredere sub hero */
.hp-trust {
    position: relative;
    z-index: 4;
    margin-top: -86px;
}

.hp-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 61, 92, 0.14);
    border: 1px solid #e4eef2;
    overflow: hidden;
}

.hp-trust__item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 22px 24px;
}

.hp-trust__item + .hp-trust__item {
    border-left: 1px solid #ebf2f5;
}

.hp-trust__icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(16, 191, 107, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-trust__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--simple-green-new);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hp-trust__item strong {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 15px;
    color: var(--blue-new);
    line-height: 1.3;
}

.hp-trust__item span {
    font-size: 13.5px;
    color: #5c747f;
    line-height: 1.45;
}

/* ================= SERVICII (3 grupe) ================= */
.hp-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.hp-group {
    background: #fff;
    border: 1px solid #e4eef2;
    border-radius: 20px;
    padding: 24px 20px 14px;
}

.hp-group__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 6px 16px;
    border-bottom: 1px solid #ebf2f5;
    margin-bottom: 8px;
}

.hp-group__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--blue-new);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hp-group__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hp-group__head h3 {
    font-family: "Sora", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-new);
    margin: 0;
}

.hp-group__head p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #5c747f;
}

.hp-svc {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 18px;
    gap: 14px;
    align-items: center;
    padding: 12px 6px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.hp-svc:hover {
    background: #f0f8fc;
    color: inherit;
}

.hp-svc img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    background: #ebf2f5;
}

.hp-svc strong {
    display: block;
    font-size: 15px;
    color: var(--blue-new);
    line-height: 1.3;
    margin-bottom: 3px;
}

.hp-svc span {
    display: block;
    font-size: 13px;
    color: #5c747f;
    line-height: 1.45;
}

.hp-svc svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #8eaab7;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.15s ease, stroke 0.15s ease;
}

.hp-svc:hover svg {
    stroke: var(--simple-green-new);
    transform: translateX(3px);
}

/* ================= ORAȘE ================= */
.hp-cities {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
}

.hp-cities .loc-map-card {
    margin: 0;
}

.hp-city-list {
    display: grid;
    gap: 16px;
}

.hp-city {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid #e4eef2;
    border-radius: 18px;
    padding: 22px 24px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hp-city:hover {
    border-color: rgba(16, 191, 107, 0.4);
    box-shadow: 0 14px 34px rgba(0, 61, 92, 0.1);
}

.hp-city h3 {
    font-family: "Sora", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--blue-new);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hp-city h3 a {
    color: inherit;
    text-decoration: none;
}

.hp-city h3 a:hover {
    color: var(--simple-green-new);
}

.hp-city__badge {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--simple-green-new);
    background: rgba(16, 191, 107, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
}

.hp-city p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #5c747f;
}

.hp-city__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hp-city__actions .cp-btn {
    padding: 11px 18px;
    font-size: 13.5px;
}

/* ================= BEFORE / AFTER ================= */
.hp-ba {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 0.85fr);
    gap: 22px;
    align-items: stretch;
}

.hp-ba .before-after-container {
    border: 1px solid #e4eef2;
}

.hp-ba__note {
    background: var(--blue-new);
    color: #fff;
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.hp-ba__note h3 {
    font-family: "Sora", sans-serif;
    font-size: 21px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.hp-ba__note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14.5px;
    line-height: 1.6;
}

.hp-ba__note .cp-btn {
    align-self: flex-start;
}

/* ================= CLIENȚI (logo-uri) ================= */
.hp-brands {
    padding: 30px 0 60px;
}

.hp-brands .cp-head {
    margin-bottom: 26px;
}

.hp-brands .brands-track {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

/* ================= TEXT SEO ================= */
.hp-about {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
}

.hp-about__text h2 {
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 34px;
    line-height: 1.22;
    color: var(--blue-new);
    margin: 0 0 18px;
}

.hp-about__text h2 em {
    font-style: normal;
    color: var(--simple-green-new);
}

.hp-about__text h3 {
    font-family: "Sora", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-new);
    margin: 26px 0 8px;
}

.hp-about__text p {
    font-size: 15.5px;
    line-height: 1.75;
    color: #425964;
    margin: 0 0 12px;
}

.hp-about__text a {
    color: var(--blue-color);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(0, 113, 168, 0.3);
    text-underline-offset: 3px;
}

.hp-about__text a:hover {
    color: var(--simple-green-new);
}

.hp-checklist {
    background: #f0f8fc;
    border-radius: 20px;
    padding: 28px;
    position: sticky;
    top: var(--sticky-top);
}

.hp-checklist h3 {
    font-family: "Sora", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-new);
    margin: 0 0 16px;
}

.hp-checklist ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: grid;
    gap: 11px;
}

.hp-checklist li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    font-size: 14.5px;
    line-height: 1.5;
    color: #354b57;
}

.hp-checklist li svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--simple-green-new);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-top: 1px;
}

/* ================= BLOG ================= */
.hp-blog {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.hp-post {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e4eef2;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 61, 92, 0.12);
    color: inherit;
}

.hp-post img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #ebf2f5;
}

.hp-post__body {
    padding: 20px 22px 22px;
}

.hp-post__tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--simple-green-new);
}

.hp-post h3 {
    font-family: "Sora", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--blue-new);
    margin: 8px 0 0;
}

.hp-more {
    text-align: center;
    margin-top: 30px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
    .hp-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hp-ba__note {
        grid-column: 1 / -1;
    }

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

    .hp-trust__item:nth-child(3) {
        border-left: 0;
    }

    .hp-trust__item:nth-child(n + 3) {
        border-top: 1px solid #ebf2f5;
    }
}

@media (max-width: 991px) {
    .hp-hero h1 {
        font-size: 42px;
    }

    .hp-cities,
    .hp-about {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-checklist {
        position: static;
    }

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

@media (max-width: 720px) {
    .hp-groups,
    .hp-ba,
    .hp-blog {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-city {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-city__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .hp-hero {
        min-height: 0;
        padding: 48px 0 130px;
    }

    .hp-hero h1 {
        font-size: 33px;
    }

    .hp-hero__lead {
        font-size: 16px;
    }

    .hp-hero .cp-hero__ctas .cp-btn {
        width: 100%;
    }

    .hp-trust {
        margin-top: -74px;
    }

    .hp-trust__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-trust__item + .hp-trust__item {
        border-left: 0;
        border-top: 1px solid #ebf2f5;
    }

    .hp-trust__item {
        padding: 16px 18px;
    }

    .hp-about__text h2 {
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-hero__media video {
        display: none;
    }
}

/* video-ul apare peste poză doar după ce chiar rulează */
.hp-hero__media video {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hp-hero__media video.is-playing {
    opacity: 1;
}

/* logo-urile din banda animată: nu se micșorează în flex */
.hp-brands .brands img {
    flex-shrink: 0;
}

/* hero aerisit: un singur rând discret cu orașele */
/* „Lucrăm în”: trei carduri-pastilă (sticlă), câte unul pe oraș,
   cu pin verde, numele orașului, o descriere scurtă și săgeată la hover */
.hp-hero__where {
    display: inline-flex; /* cât rândul de carduri, ca linia de lângă etichetă să se termine odată cu ele */
    flex-direction: column;
    max-width: 100%;
    margin: 34px 0 0;
}

.hp-where__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.hp-where__label::after {
    content: "";
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #10bf6b 0%, rgba(16, 191, 107, 0.45) 65%, rgba(16, 191, 107, 0) 100%);
}

.hp-where__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hp-where__city {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 8px 16px 8px 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff !important;
    text-decoration: none !important;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hp-where__pin {
    width: 36px;
    height: 36px;
    padding: 8px;
    flex-shrink: 0;
    border-radius: 11px;
    background: rgba(16, 191, 107, 0.18);
    fill: none;
    stroke: #3ddc8f;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: background-color 0.3s ease, stroke 0.3s ease;
}

.hp-where__txt {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hp-where__txt strong {
    font-family: "Sora", sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.hp-where__txt small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.68);
}

.hp-where__arrow {
    width: 16px;
    height: 16px;
    margin-left: 2px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.45;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hp-where__city:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(16, 191, 107, 0.65);
    transform: translateY(-2px);
}

.hp-where__city:hover .hp-where__pin {
    background: #10bf6b;
    stroke: #fff;
}

.hp-where__city:hover .hp-where__arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* pe telefon: două carduri pe primul rând, al treilea (București)
   centrat pe rândul al doilea, la aceeași lățime (nu pe tot rândul) */
@media (max-width: 560px) {
    .hp-hero__where {
        display: flex;
        width: 100%;
    }

    .hp-where__cities {
        justify-content: center;
    }

    .hp-where__city {
        width: calc(50% - 5px);
        min-width: 0;
        gap: 9px;
        padding: 8px 10px 8px 8px;
    }

    .hp-where__pin {
        width: 32px;
        height: 32px;
        padding: 7px;
        border-radius: 10px;
    }

    .hp-where__txt {
        min-width: 0;
    }

    .hp-where__txt small {
        font-size: 11px;
        line-height: 1.25;
    }

    .hp-where__arrow {
        display: none;
    }

    /* București (singur pe rândul 2): lat cât conținutul, ca descrierea
       să încapă pe un rând, dar tot centrat și nu pe toată lățimea */
    .hp-where__city:last-child {
        width: auto;
        max-width: 100%;
    }

    .hp-where__city:last-child .hp-where__txt small {
        white-space: nowrap;
    }
}

.hp-hero h1 {
    max-width: 820px;
}

.hp-hero__lead {
    max-width: 560px;
}

/* înainte/după: poze verticale + mențiunea autorului */
.hp-ba .ba-media {
    aspect-ratio: 5 / 6;
}

.hp-ba .ba-caption small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #8097a3;
}

.hp-ba .ba-caption small a {
    color: inherit;
    text-decoration: underline;
}

/* fără banda de casete sub hero: mai puțin spațiu jos */
.hp-hero {
    padding-bottom: 120px;
}

@media (max-width: 640px) {
    .hp-hero {
        padding-bottom: 96px;
    }
}

/* ================= SERVICII (01 / 02 / 03) ================= */
.hp-svc-list {
    display: grid;
    gap: 22px;
    max-width: 1060px;
    margin: 0 auto;
}

.hp-svc-card {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 34px;
    padding: 36px 40px;
    border-radius: 26px;
    background: #eaf6fb;
}

.hp-svc-card__icon {
    width: 78px;
    height: 78px;
    border-radius: 18px;
    background: #052e42;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-svc-card__icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #10bf6b;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hp-svc-card__nr {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--simple-green-new);
    margin-bottom: 4px;
}

.hp-svc-card h3 {
    font-family: "Sora", sans-serif;
    font-size: 29px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #102937;
    margin: 0 0 8px;
}

.hp-svc-card__body > p {
    font-size: 17px;
    line-height: 1.65;
    color: #4d646f;
    margin: 0;
}

.hp-svc-card__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 22px;
}

.hp-svc-box {
    background: #fff;
    border-radius: 18px;
    padding: 24px 26px;
}

.hp-svc-box h4 {
    font-family: "Sora", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0071a8;
    margin: 0 0 12px;
}

.hp-svc-box ul {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 6px;
    font-size: 16.5px;
    color: #354b57;
}

.hp-svc-box li::marker {
    color: #354b57;
}

.hp-svc-box a,
.hp-svc-checks a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(0, 113, 168, 0.3);
    text-underline-offset: 3px;
}

.hp-svc-box a:hover,
.hp-svc-checks a:hover {
    color: #0071a8;
    text-decoration: underline;
}

.hp-svc-checks {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 30px;
    font-size: 16.5px;
    line-height: 1.5;
    color: #102937;
}

.hp-svc-checks li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
}

.hp-svc-checks svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--simple-green-new);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-top: 1px;
}

.hp-svc-home {
    max-width: 1060px;
    margin: 26px auto 0;
    text-align: center;
    font-size: 15px;
    line-height: 1.9;
    color: #4d646f;
}

.hp-svc-home strong {
    color: var(--blue-new);
}

.hp-svc-home a {
    color: var(--blue-color);
    font-weight: 600;
}

.hp-svc-home a:hover {
    text-decoration: underline;
}

.hp-svc-cta {
    text-align: center;
    margin-top: 22px;
}

@media (max-width: 860px) {
    .hp-svc-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 28px 24px;
    }

    .hp-svc-card__icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .hp-svc-card__icon svg {
        width: 28px;
        height: 28px;
    }

    .hp-svc-card h3 {
        font-size: 23px;
    }

    .hp-svc-card__cols,
    .hp-svc-checks {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .hp-svc-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .hp-svc-box {
        padding: 20px;
    }

    .hp-svc-card__body > p,
    .hp-svc-box ul,
    .hp-svc-checks {
        font-size: 15.5px;
    }
}

/* serviciul pe care ești (pe paginile de servicii) */
.hp-svc.is-current {
    background: #e4f7ec;
    box-shadow: inset 3px 0 0 var(--simple-green);
}

.hp-svc.is-current strong {
    color: var(--simple-green-new);
}

/* ================= CLIENȚI: bandă albă peste marginea de jos a hero-ului ================= */
.hp-clients {
    position: relative;
    z-index: 4;
    margin-top: -92px;
    margin-bottom: 10px;
}

.hp-clients__card {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #fff;
    border: 1px solid #e3edf3;
    border-radius: 22px;
    box-shadow: 0 24px 60px -24px rgba(0, 61, 92, 0.35), 0 4px 14px rgba(0, 61, 92, 0.06);
    padding: 22px 28px;
    overflow: hidden;
}

.hp-clients__label {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding-right: 28px;
    border-right: 1px solid #e3edf3;
    line-height: 1.15;
    font-family: "Sora", sans-serif;
}

.hp-clients__label span {
    font-size: 13px;
    font-weight: 600;
    color: #657d88;
    letter-spacing: 0.02em;
}

.hp-clients__label strong {
    font-size: 19px;
    font-weight: 800;
    color: #003d5c;
}

.hp-clients__track {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hp-clients__logos {
    --logo-w: 128px;
    --logo-gap: 48px;
    display: flex;
    align-items: center;
    gap: var(--logo-gap);
    width: max-content;
    animation: hp-clients-scroll 38s linear infinite;
}

.hp-clients__card:hover .hp-clients__logos {
    animation-play-state: paused;
}

.hp-clients__logos img {
    flex-shrink: 0;
    width: var(--logo-w);
    height: 52px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.hp-clients__logos img:hover {
    filter: none;
    opacity: 1;
}

/* logo-urile sunt puse de două ori: derulăm exact jumătate, ca bucla să fie continuă */
@keyframes hp-clients-scroll {
    to {
        transform: translate3d(calc(-50% - var(--logo-gap) / 2), 0, 0);
    }
}

@media (max-width: 720px) {
    .hp-clients {
        margin-top: -62px;
    }

    .hp-clients__card {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px 0 20px;
        border-radius: 18px;
    }

    .hp-clients__label {
        flex-direction: row;
        justify-content: center;
        gap: 5px;
        padding: 0 18px;
        border-right: 0;
    }

    .hp-clients__label span,
    .hp-clients__label strong {
        font-size: 15px;
    }

    .hp-clients__label span {
        color: #003d5c;
        font-weight: 700;
    }

    .hp-clients__label strong {
        color: var(--simple-green-new);
    }

    .hp-clients__logos {
        --logo-w: 104px;
        --logo-gap: 34px;
        animation-duration: 30s;
    }

    .hp-clients__logos img {
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-clients__logos {
        animation: none;
    }
}

/* titlul din hero: partea verde pe rând separat pe ecrane mari */
@media (min-width: 992px) {
    .hp-hero h1 span {
        display: block;
    }
}

/* banda cu clienți și pe paginile de oraș: hero-ul lasă loc jos pentru ea */
.cp-hero--clienti {
    padding-bottom: 120px;
}

.cp-hero--clienti + .hp-clients {
    margin-top: -60px;
}

.cp-hero--clienti + .hp-clients + .cp-section {
    padding-top: 60px;
}

@media (max-width: 720px) {
    .cp-hero--clienti {
        padding-bottom: 96px;
    }

    .cp-hero--clienti + .hp-clients {
        margin-top: -56px;
    }
}
