/* ==========================================
   1. STRUCTURĂ ȘI BAZĂ PAGINĂ
   ========================================== */
.services-page {
    width: 100%;
    padding: 0;
    background: var(--Primary);
    color: var(--White);
}

.services-page h1,
.services-page h2,
.services-page h3,
.services-page h4,
.services-page h5,
.services-page h6 {
    width: 100%;
    max-width: var(--Header-width);
}

.services-page p,
ol, ul:not(#primary-menu), dl, blockquote{
    width: 100%;
    max-width: var(--String-width);
    text-wrap: balance;
}

.services-page .container {
    width: var(--Container-fluid);
    margin-inline: auto;
}

/* ==========================================
   2. HERO, BREADCRUMBS ȘI ACȚIUNI
   ========================================== */
.services-hero {
    max-width: var(--Container-max-width);
    margin-bottom: 0;
    z-index: 2;
}


.breadcrumbs-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px var(--Btn-padding-x, clamp(1rem, 0.73rem + 1.36vw, 1.75rem));
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--Outer-radius-sm);
    color: var(--White);
    font-weight: 400;
    font-size: 12px;
    text-decoration: none;
    transition: 0.3s ease-in-out, border-color 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.breadcrumbs-badge:hover{
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--Teriary);
    color: var(--Tertiary);
}

.service-breadcrumbs {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--Gap-4);
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.service-breadcrumbs a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.service-breadcrumbs a:hover,
.service-breadcrumbs a:focus-visible {
    color: var(--Tertiary);
}


.service-breadcrumbs .separator,
.service-breadcrumbs span.delimiter {
    color: var(--Tertiary);
    font-weight: 700;
}


.service-breadcrumbs span:last-child,
.service-breadcrumbs .current {
    color: #ffffff;
    font-weight: 600;
}

.services-hero h1 {
    margin: var(--Gap-3) 0;
    color: var(--White);
    font-size: clamp(2.5rem, 6vw, 6rem);
    line-height: .98;
}

.services-hero > p:not(.services-eyebrow) {
    color: var(--Light-Medium);
    line-height: 1.7;
}

.services-eyebrow {
    margin: 0;
    color: var(--Accent) !important;
    font-size: clamp(1rem, 1.15vw + 1rem, 1.15rem);
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.service-hero__actions {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: var(--Gap-4);
    margin-top: var(--Gap-4);
}

.service-price-block {
    display: flex;
    align-items: baseline;
    gap: var(--Gap-3);
    width: max-content;
    max-width: 100%;
    padding: 0 0 var(--Gap-2);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.service-price-label,
.service-price {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
}

.service-price-label {
    color: var(--White);
}

.service-price {
    margin: 0;
    color: var(--Accent) !important;
}

.service-back-link {
    display: inline-flex;
    color: var(--Light-Medium);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.service-back-link:hover,
.service-back-link:focus-visible {
    color: var(--Tertiary);
}

.service-hero__actions .service-back-link {
    margin-top: 0;
    padding: 0;
    border-color: transparent;
    background-color: transparent;
    font-size: 16px;
    font-weight: 600;
}

.service-hero__buttons {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--Gap-4);
}

/* ==========================================
   3. CATEGORII ȘI CARDURI SERVICII
   ========================================== */
.services-categories,
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--Gap-4);
}

@media (max-width: 1023px) {
    .services-categories.principal-services {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
.services-categories.principal-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--Gap-4);
}
}

@media (max-width: 1024px) and (min-width: 768px) {
    .services-categories,
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.services-categories__header {
    grid-column: 1 / -1;
    margin-bottom: var(--Gap-4);
}

.services-categories__header h2 {
    margin: .5rem 0 1rem;
    font-size: clamp(2rem, 3vw, 3.5rem);
    
    /* Setare gradient folosind variabilele CSS */
    background: linear-gradient(
    135deg, 
    var(--Tertiary) 0%,
    var(--Light) 50%,
    var(--Tertiary) 100%
    );
    
    /* Mărim dimensiunea fundalului pentru a permite mișcarea */
    background-size: 200% auto;
    
    /* Tăiem fundalul pe forma textului */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Aplicăm animația */
    animation: textGradientMove 2s ease infinite;
}

/* Keyframes pentru mișcarea fluentă a gradientului */
@keyframes textGradientMove {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

.services-categories__header > p:not(.services-eyebrow) {
    color: var(--Text-muted);
    line-height: 1.7;
}

.service-category-card,
.service-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--Outer-radius-lg, 24px);
    background: rgba(255, 255, 255, .05);
}

.service-category-card {
    min-height: 520px;
    padding: clamp(1.5rem, 4vw, 3rem);
    transition: transform .25s ease, border-color .25s ease;
}

.service-category-card:hover,
.service-category-card:focus-within {
    transform: translateY(-6px);
    border-color: var(--Tertiary);
}

.service-category-card__link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.service-category-card__rings {
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(56, 189, 248, .3);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(56, 189, 248, .05), 0 0 0 56px rgba(56, 189, 248, .04), 0 0 0 84px rgba(56, 189, 248, .03);
}

.service-category-card__content {
    position: relative;
}

.service-category-card__content a {
    position: relative;
    z-index: 4;
}

.service-category-card h2 {
    margin: .5rem 0 1rem;
    font-size: clamp(2rem, 3vw, 3.5rem);
}

.service-category-card h2 a,
.service-card h2 a,
.service-list a {
    color: var(--White);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.service-category-card p:not(.services-eyebrow) {
    color: var(--Text-muted);
    line-height: 1.6;
}

.service-category-card .services-eyebrow {
    font-size: clamp(0.85rem, 0.9vw + 0.8rem, 1rem);
}

.service-list {
    display: grid;
    gap: .65rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.service-list a:hover,
.service-list a:focus-visible,
.service-card h2 a:hover,
.service-card h2 a:focus-visible {
    color: var(--Tertiary);
}

/* Service Card Component */
.service-card {
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), border-color .3s ease, box-shadow .3s ease;
}

.service-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--Tertiary), transparent);
    content: '';
    opacity: 0;
    transition: opacity .3s ease;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, .4);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .7), 0 0 24px rgba(56, 189, 248, .12);
}

.service-card:hover::before,
.service-card:focus-within::before {
    opacity: 1;
}

.service-card__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top center;
}


.single-service__image img {
    display: block;
    width: 100%;
    height: auto;
    /* aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top center; */
}

.service-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.service-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
}

.service-card__eyebrow {
    margin: 0 0 .75rem;
    color: var(--Accent) !important;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2 !important;
    text-transform: uppercase;
}

.relative{
    position: relative;
    overflow: hidden;
    background-color: var(--Gray-Dark);
}

.service-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: var(--Gap-2);
}

.service-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: var(--Text-muted);
    font-size: .85rem;
    transition: transform .3s ease, background-color .3s ease, border-color .3s ease, color .3s ease;
}

.service-card:hover .service-card__arrow,
.service-card:focus-within .service-card__arrow {
    transform: translate(2px, -2px);
    border-color: var(--Accent);
    background: var(--Accent);
    color: var(--Primary);
}

.service-card h2 {
    margin: 0 0 .75rem;
    font-size: 1.35rem;
}

.service-card p,
.single-service__content,
.single-service__details p,
.services-faq p {
    color: var(--Light-Medium);
    line-height: 1.7;
}

/* ==========================================
   4. SINGLE SERVICE LAYOUT
   ========================================== */
.single-service__intro {
    display: block;
}

.single-service__image {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--Outer-radius-lg, 24px);
    background: rgba(255, 255, 255, .05);
    margin-bottom: var(--Gap-4);
}

.single-service__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(180px, .7fr);
    gap: var(--Gap-4);
}

.single-service__content {
    min-width: 0;
}

.single-service__prose {
    color: var(--Light-Medium);
    line-height: 1.7;
}

.single-service__prose p {
    margin-bottom: var(--Gap-3);
}

.single-service__content h2,
.single-service__content h3 {
    color: var(--White);
}

.single-service__details {
    padding: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, .12);
}

.deliverables-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.deliverables-list li + li {
    margin-top: 1.5rem;
}

.deliverables-list h3 {
    margin: 0;
    color: var(--White);
    padding-bottom: var(--Gap-2);
}

/* ==========================================================================
   Secțiune Principi & Calitate (4 Carduri)
   ========================================================================== */

.services-4-cards-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--Gap-3, 1.5rem);
    align-items: stretch; /* Stretch pentru înălțime egală pe toate cardurile */
}

@media (min-width: 640px) {
    .services-4-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-4-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.services-4-cards-grid .service-category-info-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aliniază conținutul sus */
    align-items: flex-start;     /* Aliniază conținutul la stânga */
    height: 100%;
}

.services-4-cards-grid .service-category-info-card strong {
    display: block;
    margin-bottom: 0.75rem;
}

.services-4-cards-grid .service-category-info-card p {
    margin: 0;
}

/* ==========================================
   5. METODOLOGIE, INFO & PROIECTE
   ========================================== */
.services-methodology .btn{
    margin-top: var(--Gap-4);
}


.services-methodology__header,
.service-category-section__header {
    margin-bottom: var(--Gap-4);
}

.services-methodology__header h2,
.service-category-section__header h2 {
    margin: .5rem 0 1rem;
    color: var(--White);
    font-size: clamp(2rem, 3vw, 3.5rem);
}

.services-methodology__header > p:not(.services-eyebrow),
.service-category-section__header p:not(.services-eyebrow) {
    color: var(--Text-muted);
    line-height: 1.7;
}

.services-methodology__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--Gap-4);
}

.services-methodology__step {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--Outer-radius-sm);
    background: #171B25
}

.services-methodology__number {
    display: block;
    margin-bottom: var(--Gap-2);
    color: var(--Accent);
    font-size: 1.25rem;
    font-weight: 800;
}

.services-methodology__step h3 {
    margin: 0 0 .5rem;
    color: var(--White);
}

.services-methodology__step p {
    margin: 0;
    padding-top: var(--Gap-2);
    color: var(--Text-muted);
    font-size: .95rem;
    line-height: 1.7;
}

.service-category-info-grid,
.service-category-collab-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--Gap-4);
}

.service-category-info-card,
.service-category-project-card,
.service-category-collab-card {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--Outer-radius-sm);
    background: #171B25;
}

.service-category-info-card strong {
    display: block;
    margin-bottom: .5rem;
    color: var(--Light);
    font-size: 1.1rem;
}

.service-category-info-card p,
.service-category-project-card p,
.service-category-collab-card p {
    margin: 0;
    color: var(--Text-muted);
    font-size: .95rem;
    line-height: 1.7;
}

.service-category-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--Gap-4);
}

.service-projects-more {
    display: flex;
    justify-content: center;
    margin-top: var(--Gap-4);
}

.service-category-project-card .services-eyebrow {
    display: block;
    margin-bottom: .75rem;
}

.service-category-project-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.service-category-project-card__image {
    overflow: hidden;
    margin: -1.5rem -1.5rem;
    border-radius: var(--Outer-radius-sm) var(--Outer-radius-sm) 0 0;
}

.service-category-project-card__image img {
    display: block;
    width: 100%;
    height: auto;
    /* aspect-ratio: 1 / 1; */
    object-fit: contain;
    padding: var(--Gap-3);
}

.service-category-project-card__body {
    display: flex;
    flex-direction: column;
}

.service-category-project-card:hover,
.service-category-project-card:focus-within {
    border-color: rgba(56, 189, 248, .4);
}

.service-category-project-card h2,
.service-category-project-card h3,
.service-category-collab-card h3 {
    margin: 0 0 .75rem;
    color: var(--White);
    font-size: 1.35rem;
}

.service-category-project-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--Gap-2) var(--Gap-4);
    margin-top: var(--Gap-4);
    padding-top: var(--Gap-3);
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: var(--Accent);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.service-category-project-card__services {
    margin: var(--Gap-3) 0 0;
    color: var(--Text-muted);
    font-size: .9rem;
    line-height: 1.6;
}

.service-category-project-card__services strong {
    color: var(--Tertiary);
}

.d-flex-between > h3{
    margin-top: var(--Gap-4) !important;
}

.d-flex-between{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.service-category-collab-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-category-collab-card {
    display: flex;
    flex-direction: column;
}

.service-category-collab-card span {
    margin-top: var(--Gap-4);
    color: var(--Tertiary);
    font-size: .85rem;
    font-weight: 700;
}

/* ==========================================
   6. CASE STUDY
   ========================================== */
.case-study__categories,
.case-study__meta {
    display: flex;
    flex-direction: column;
    gap: var(--Gap-2) var(--Gap-4);
}

.case-study__categories {
    margin-top: var(--Gap-4);
    width: 100%;
    max-width: var(--String-width);
}

.case-study__meta {
    margin-top: var(--Gap-4);
    color: var(--Text-muted);
    display: flex;
    flex-direction: column;
}

.case-study__meta span {
    display: inline-flex;
    gap: .5rem;
}

.case-study__meta strong {
    color: var(--White);
}

.case-study__facts {
    display: grid;
    gap: var(--Gap-4);
    margin-bottom: var(--Gap-4);
}

.case-study__facts section {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--Outer-radius-sm);
    background: rgba(255, 255, 255, .05);
}

.case-study__facts h2 {
    margin: 0 0 var(--Gap-2);
    font-size: 1.25rem;
}

.case-study__facts p {
    margin: 0;
    color: var(--Text-muted);
    line-height: 1.7;
}

.case-study__term-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.case-study__term-list li + li {
    margin-top: var(--Gap-2);
}

.case-study__term-list a {
    color: var(--Tertiary);
    text-decoration: none;
}

.case-study__term-list a:hover,
.case-study__term-list a:focus-visible {
    color: var(--White);
}

/* ==========================================
   7. MEDIA & LIGHTBOX
   ========================================== */
.category-video,
.category-gallery,
.service-video,
.service-gallery {
    margin-top: 0;
}

.responsive-video {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: var(--Outer-radius-sm);
    background: var(--Text-muted);
}

.responsive-video iframe,
.responsive-video embed,
.responsive-video object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.masonry-gallery,
.gallery-masonry {
    column-count: 3;
    column-gap: var(--Gap-4);
}

.masonry-gallery__link,
.gallery-masonry__link {
    display: block;
    margin: 0 0 var(--Gap-4);
    break-inside: avoid;
}

.masonry-gallery img,
.gallery-masonry img {
    display: block;
    width: 100%;
    height: auto;
    break-inside: avoid;
    border-radius: var(--Outer-radius-sm);
}

.masonry-gallery__link:focus-visible,
.gallery-masonry__link:focus-visible {
    outline: 2px solid var(--Tertiary);
    outline-offset: 4px;
}

.services-lightbox {
    width: min(92vw, 1200px);
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
}

.services-lightbox::backdrop {
    background: rgba(11, 15, 25, .9);
}

.services-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 86vh;
    margin: auto;
}

.services-lightbox__close,
.services-lightbox__previous,
.services-lightbox__next {
    position: absolute;
    z-index: 1;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--White);
    cursor: pointer;
    line-height: 1;
}

.services-lightbox__close {
    top: var(--Gap-3);
    right: var(--Gap-3);
    font-size: 1.25rem;
}

.services-lightbox__previous,
.services-lightbox__next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
}

.services-lightbox__previous {
    left: var(--Gap-3);
}

.services-lightbox__next {
    right: var(--Gap-3);
}

.services-lightbox__previous:disabled,
.services-lightbox__next:disabled {
    cursor: not-allowed;
    opacity: .35;
}

.services-lightbox__close:hover,
.services-lightbox__close:focus-visible,
.services-lightbox__previous:not(:disabled):hover,
.services-lightbox__previous:not(:disabled):focus-visible,
.services-lightbox__next:not(:disabled):hover,
.services-lightbox__next:not(:disabled):focus-visible {
    color: var(--Tertiary);
}

/* ==========================================
   8. FAQ & CTA
   ========================================== */
.services-faq {
    margin-top: 0;
}

.services-faq h2,
.single-service__details h2,
.services-cta h2 {
    color: var(--White);
}

.services-faq details {
    padding: 1rem 0;
}

.services-faq summary {
    display: flex;
    align-items: center;
    gap: var(--Gap-2);
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.services-faq summary:hover {
    color: var(--Tertiary);
}

.services-faq summary::-webkit-details-marker {
    display: none;
}

.services-faq summary::marker {
    content: '';
}

.services-faq__icon {
    flex: 0 0 auto;
    color: var(--Tertiary);
    font-size: .9em;
    align-self: flex-start !important;
    padding-top: 6px !important;
}

.services-faq__answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s ease-in-out, opacity .3s ease-in-out;
}

.services-faq__answer p {
    margin: 0;
    padding-top: var(--Gap-3);
}

.services-faq details[open] .services-faq__answer {
    opacity: 1;
}

.services-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--Gap-4);
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.pt-section {
    padding-top: var(--Padding-section-y);
}

.pb-section {
    padding-bottom: var(--Padding-section-y);
}

/* ==========================================
   9. WRAPPERS DE SECȚIUNI
   ========================================== */
.services-hero-wrapper,
.services-methodology-wrapper {
    position: relative;
    background-color: var(--Gray-Dark);
    padding-block: var(--Padding-section-y);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.services-faq-wrapper {
    display: flex;
    align-items: center;
}

.services-faq-wrapper .services-eyebrow{
    color: var(--Accent) !important;
}

.services-video-wrapper p,
.services-gallery-wrapper p{
    color: var(--Text-muted)
}

/* ==========================================
   10. MEDIA QUERIES (COMASATE)
   ========================================== */
@media (min-width: 1024px) {
    .services-hero-wrapper {
        min-height: 90dvh;
    }
}

@media (max-width: 1024px) {
    .services-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1023px) {
    .service-hero__actions {
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .services-categories,
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .single-service__layout {
        grid-template-columns: 1fr;
        gap: var(--Gap-4);
    }

    .masonry-gallery,
    .gallery-masonry {
        column-count: 2;
    }

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

    .service-category-info-grid,
    .service-category-projects-grid,
    .service-category-collab-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .single-service__details {
        padding-bottom: 0;
        padding-top: var(--Gap-4);
        border-top: 0;
        border-left: 0;
    }
}

@media (max-width: 620px) {
    .services-page {
        padding: 0;
    }

    .service-hero__actions {
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
    }

    .services-categories,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-category-card {
        min-height: auto;
    }

    .services-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .single-service__details {
        border-top: 1px solid rgba(255, 255, 255, .12);
        border-left: 0;
    }

    .masonry-gallery,
    .gallery-masonry {
        column-count: 1;
    }

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

    .service-category-info-grid,
    .service-category-projects-grid,
    .service-category-collab-grid {
        grid-template-columns: 1fr;
    }
}

/* Servicii Page Cards Style */
p.button-only-text{
    margin-block-start:var(--Gap-4);margin-block-end: var(--Gap-2);
    margin-inline-start:var(--Gap-2);margin-inline-end: var(--Gap-2);
    justify-content: flex-end;
    align-items: end;
    align-self: start;
    font-weight: 600;
    color: var(--Accent) !important;
}


/* Single Servicii */
.service-section-wrapper {
    width: 100%;
}

/* Sticky Sidebar Desktop */
@media (min-width: 1024px) {
    .single-service__layout {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 3rem;
        align-items: start;
    }

    .single-service__details {
        position: sticky;
        top: 4rem;
        height: fit-content;
    }
}

.case-study__meta,
.wp-block-paragraph,
.wp-block-heading{
    width: 100%;
    max-width: var(--String-width) !important;
    text-wrap: balance !important;
}

p.service-subtitle{
    width: 100%;
    max-width: var(--String-width) !important;
    text-wrap: balance !important;
}