.section-services .service {
    display: flex;
    flex-direction: column;
    align-items: normal;
    text-align: center;
    justify-content: space-between;
    transition: transform 0.3s ease;
    border: 1px solid var( --color-border);
    border-radius: 10px;
    padding: 32px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-background);

    text-decoration: none;
    color: inherit;
}

.section-services .service:not(.service--dev-sites) {
    position: relative;
    padding-bottom: 72px;
}

.section-services .service .service-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.section-services .service .service-title-row .h3 {
    margin-bottom: 0;
}

.section-services .service .service-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex: 0 0 auto;
}

.section-services .service .service-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.section-services .service .service-body__desc p {
    margin-top: 0;
}

.section-services .service .service-body__prices .service-subservices {
    margin: 0;
}

.section-services .grid-3 > .col.full-width {
    grid-column: 1 / -1;
}

@media (min-width: 1501px) {
    .section-services .grid-3 > .col.standard-service {
        grid-column: auto;
    }
}

.section-services .service.service--dev-sites {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 16px;
    text-align: left;
}

.section-services .service.service--dev-sites .service-dev__head {
    display: block;
}

.section-services .service.service--dev-sites .service-dev__body {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.section-services .service.service--dev-sites .service-dev__head .h3 {
    margin-bottom: 0;
}

.section-services .service.service--dev-sites .service-dev__head .service-dev__title {
    margin-top: 6px;
}

.section-services .service.service--dev-sites .service-dev__intro {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-services .service.service--dev-sites .service-dev__title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-foreground);
}

.section-services .service.service--dev-sites .service-dev__title a {
    color: var(--color-foreground);
}

.section-services .service.service--dev-sites .service-dev__col {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 16px 18px;
    background: var(--color-background);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-services .service.service--dev-sites .service-subservices {
    margin: 0;
}

.section-services .service.service--dev-sites .service-dev__col .btn {
    margin-top: 0;
    align-self: flex-end;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.service.services--clean {
    align-items: center;
    justify-content: unset;
    border: none;
    padding: 0;
}

.section-services .service:hover {
    border-color: rgba(195, 27, 38, 0.15);
    box-shadow:
            rgba(195, 27, 38, 0) 0px 0px 0px 0px,
            rgba(195, 27, 38, 0) 0px 0px 0px 0px,
            rgba(195, 27, 38, 0) 0px 0px 0px 0px,
            rgba(195, 27, 38, 0) 0px 0px 0px 0px,
            rgba(195, 27, 38, 0.1) 0px 1px 3px 0px,
            rgba(195, 27, 38, 0.1) 0px 1px 2px -1px;
    transform: translateY(-4px);
}

.section-services .service.services--clean:hover {
    border: none;
    box-shadow: none;
    transform: translateY(-4px);
}

.section-services .primary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    background-color: #C4513D1A;
    border-radius: 12px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.section-services .service:hover .primary-icon {
    background-color: var(--color-primary);
    color: var(--color-background);
}

.section-services .primary-icon svg {
    width: 32px;
    height: 32px;
}

.section-services .service .h3 {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 500;
    color: var(--color-foreground);
    text-align: left;
}

.section-services .service .h3 a {
    color: var(--color-foreground);
}

.section-services .service p {
    text-align: left;
}

.service-subservices {
    list-style: none;
    margin: 16px 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-subservices li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
}

.service-subservices__title {
    color: var(--color-foreground);
    flex: 1 1 auto;
}

.service-subservices__price {
    color: var(--color-primary);
    font-weight: 500;
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
}

.service.services--clean .h3,
.service.services--clean p {
    text-align: center;
}

.services-list.grid-2 {
    gap: 24px;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
}

.services-list li {
    position: relative;
    padding-left: 32px;
    text-align: left;
    justify-self: start;
}

.services-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23c31b26" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/></svg>') no-repeat center;
    background-size: 20px 20px;
}

.service .btn-ghost-accent.btn {
    height: 40px;
    margin-top: 16px;
    max-width: 200px;
}

.section-services .service:not(.service--dev-sites) .btn-arrow {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: 0;
    max-width: none;
    font-size: 20px;
    line-height: 1;
}

.single-service .breadcrumb-wrapper {
    width: 100%;
    justify-content: center;
    display: flex;
}

.single-service .section-hero .section-header h1 {
    margin-bottom: 0;
}

.single-service .service-description {
    text-align: left;
}

.single-service .service-description p {
    color: var(--color-foreground);
}

@media (max-width: 1500px) {
    .section-services .service.service--dev-sites .service-dev__body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-services .service.service--dev-sites .service-dev__intro {
        grid-column: 1 / -1;
    }

    .section-services .service .service-body {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .section-services .grid-3 {
        grid-template-columns: 1fr;
        gap: 48px;
        max-width: 480px;
        margin: 0 auto;
    }

    .section-services .service.service--dev-sites,
    .section-services .service.service--dev-sites .service-dev__body {
        grid-template-columns: 1fr;
    }

    .section-services .service.service--dev-sites .service-dev__col {
        padding: 16px;
    }

    .section-services .service .service-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .services-list.grid-2 {
        grid-template-columns: 1fr;
    }
}
