.single-servicio {
    min-height: 100vh;
    background-color: #ffffff;
}

.single-servicio__container,
.single-servicio__hero-container,
.single-servicio__cta-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* Breadcrumbs */
.single-servicio__breadcrumbs {
    padding-top: 126px;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.single-servicio__breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}

.single-servicio__breadcrumb-nav a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.25s ease;
}

.single-servicio__breadcrumb-nav a:hover {
    color: #61A229;
    text-decoration: none;
}

.single-servicio__breadcrumb-nav span {
    color: #111827;
    font-weight: 700;
}

/* Hero */
.single-servicio__hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #111827 100%);
}

.single-servicio__hero-bg {
    position: absolute;
    inset: 0;
}

.single-servicio__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.single-servicio__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17, 24, 39, 0.6), rgba(17, 24, 39, 0.4), rgba(17, 24, 39, 0.8));
}

.single-servicio__hero-container {
    position: relative;
    z-index: 2;
    padding-top: 112px;
    padding-bottom: 112px;
}

.single-servicio__hero-content {
    max-width: 768px;
}

.single-servicio__hero-eyebrow {
    display: inline-block;
    margin-bottom: 24px;
    padding: 6px 16px;
    border: 1px solid rgba(97, 162, 41, 0.4);
    border-radius: 999px;
    background-color: rgba(97, 162, 41, 0.2);
    color: #61A229;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.single-servicio__hero-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.single-servicio__hero-icon-wrap {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--servicio-icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.single-servicio__hero-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.single-servicio__hero-title {
    margin: 0;
    color: #ffffff;
    font-size: 40px;
    line-height: 1.08;
    font-weight: 800;
}

.single-servicio__hero-description {
    max-width: 672px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    line-height: 1.65;
}

/* General */
.single-servicio__eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 16px;
    border-radius: 999px;
    background-color: rgba(97, 162, 41, 0.1);
    color: #61A229;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.single-servicio__title,
.single-servicio__section-title {
    margin: 0 0 24px;
    color: #111827;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
}

.single-servicio__section-title {
    margin-bottom: 16px;
}

.single-servicio__section-title--small {
    font-size: 30px;
}

.single-servicio__section-subtitle {
    max-width: 672px;
    margin: 0 auto;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.6;
}

.single-servicio__section-subtitle--small {
    max-width: 576px;
    font-size: 16px;
}

.single-servicio__text {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.75;
}

.single-servicio__text p {
    margin: 0 0 20px;
}

.single-servicio__text p:last-child {
    margin-bottom: 0;
}

.single-servicio__text--spaced {
    margin-bottom: 32px;
}

.single-servicio__section-heading {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

/* Intro */
.single-servicio__intro {
    padding: 80px 0;
    background-color: #ffffff;
}

.single-servicio__intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.single-servicio__feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.single-servicio__feature-card {
    padding: 20px;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    background-color: #f9fafb;
}

.single-servicio__feature-icon-wrap {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: var(--servicio-icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-servicio__feature-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.single-servicio__feature-title {
    margin: 0 0 4px;
    color: #111827;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.single-servicio__feature-text {
    margin: 0;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.45;
}

/* Deliverables */
.single-servicio__deliverables {
    padding: 80px 0;
    background-color: #f9fafb;
}

.single-servicio__deliverables-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.single-servicio__deliverable-card {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background-color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.single-servicio__deliverable-card:hover {
    border-color: rgba(97, 162, 41, 0.4);
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.1);
    transform: translateY(-3px);
}

.single-servicio__deliverable-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.single-servicio__deliverable-number {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 999px;
    background-color: rgba(97, 162, 41, 0.1);
    color: #61A229;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
}

.single-servicio__deliverable-title {
    margin: 0 0 8px;
    color: #111827;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    transition: color 0.25s ease;
}

.single-servicio__deliverable-card:hover .single-servicio__deliverable-title {
    color: #61A229;
}

.single-servicio__deliverable-text {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

/* When */
.single-servicio__when {
    padding: 80px 0;
    background-color: #ffffff;
}

.single-servicio__when-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
}

.single-servicio__when-media {
    position: relative;
    order: 2;
}

.single-servicio__when-content {
    order: 1;
}

.single-servicio__when-image {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(17, 24, 39, 0.25);
}

.single-servicio__when-badge {
    position: absolute;
    right: -24px;
    bottom: -24px;
    padding: 20px;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.16);
}

.single-servicio__when-badge-title {
    margin: 0 0 4px;
    color: #61A229;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;
}

.single-servicio__when-badge-text {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.4;
}

.single-servicio__points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-servicio__point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #374151;
    font-size: 14px;
    line-height: 1.65;
}

.single-servicio__point-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: #61A229;
}

/* Related */
.single-servicio__related {
    padding: 80px 0;
    background-color: #f9fafb;
}

.single-servicio__related-slider {
    position: relative;
}

.single-servicio__related-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 4px 12px;
}

.single-servicio__related-track::-webkit-scrollbar {
    display: none;
}

.single-servicio__related-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background-color: #ffffff;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.single-servicio__related-card:hover {
    border-color: rgba(97, 162, 41, 0.4);
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.1);
    transform: translateY(-3px);
    text-decoration: none;
}

.single-servicio__related-title {
    margin: 0 0 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    transition: color 0.25s ease;
}

.single-servicio__related-card:hover .single-servicio__related-title {
    color: #61A229;
}

.single-servicio__related-text {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.single-servicio__related-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    transition: color 0.25s ease;
}

.single-servicio__related-card:hover .single-servicio__related-more {
    color: #61A229;
}

.single-servicio__related-more svg {
    transition: transform 0.25s ease;
}

.single-servicio__related-card:hover .single-servicio__related-more svg {
    transform: translateX(4px);
}

/* Slider buttons */
.single-servicio__slider-button {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background-color: #ffffff;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.18);
    transform: translateY(-50%);
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.single-servicio__slider-button:hover {
    background-color: #61A229;
    color: #ffffff;
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.24);
}

.single-servicio__slider-button--prev {
    left: -23px;
}

.single-servicio__slider-button--next {
    right: -23px;
}

.single-servicio__slider-button.is-hidden {
    display: none;
}

/* CTA */
.single-servicio__cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

.single-servicio__cta-container {
    max-width: 896px;
    text-align: center;
}

.single-servicio__cta-title {
    margin: 0 0 24px;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
}

.single-servicio__cta-text {
    max-width: 672px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    line-height: 1.6;
}

.single-servicio__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.single-servicio__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.single-servicio__button:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.single-servicio__button--primary {
    border: 0;
    background-color: #61A229;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.single-servicio__button--primary:hover {
    background-color: #4f8821;
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.single-servicio__button--secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.single-servicio__button--secondary:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Responsive */
@media (min-width: 640px) {
    .single-servicio__container,
    .single-servicio__hero-container,
    .single-servicio__cta-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .single-servicio__feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .single-servicio__hero-title {
        font-size: 60px;
    }

    .single-servicio__title,
    .single-servicio__section-title,
    .single-servicio__cta-title {
        font-size: 36px;
    }

    .single-servicio__deliverables-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .single-servicio__container,
    .single-servicio__hero-container,
    .single-servicio__cta-container {
        padding-left: 32px;
        padding-right: 32px;
    }

    .single-servicio__intro-grid,
    .single-servicio__when-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 64px;
    }

    .single-servicio__when-media {
        order: 1;
    }

    .single-servicio__when-content {
        order: 2;
    }
}

@media (max-width: 1023px) {
    .single-servicio__related-card {
        flex-basis: calc((100% - 24px) / 2);
    }

    .single-servicio__slider-button--prev {
        left: -12px;
    }

    .single-servicio__slider-button--next {
        right: -12px;
    }
}

@media (max-width: 767px) {
    .single-servicio__breadcrumbs {
        padding-top: 116px;
    }

    .single-servicio__hero-container {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .single-servicio__hero-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .single-servicio__hero-title {
        font-size: 38px;
    }

    .single-servicio__hero-description {
        font-size: 18px;
    }

    .single-servicio__intro,
    .single-servicio__deliverables,
    .single-servicio__when,
    .single-servicio__related,
    .single-servicio__cta {
        padding: 64px 0;
    }

    .single-servicio__section-heading {
        margin-bottom: 40px;
    }

    .single-servicio__when-image {
        height: 340px;
    }

    .single-servicio__when-badge {
        position: relative;
        right: auto;
        bottom: auto;
        width: calc(100% - 32px);
        margin: -40px auto 0;
    }

    .single-servicio__related-track {
        gap: 20px;
    }

    .single-servicio__related-card {
        flex-basis: 86%;
    }

    .single-servicio__slider-button {
        width: 42px;
        height: 42px;
    }

    .single-servicio__slider-button--prev {
        left: 4px;
    }

    .single-servicio__slider-button--next {
        right: 4px;
    }

    .single-servicio__cta-buttons {
        flex-direction: column;
    }

    .single-servicio__button {
        width: 100%;
    }
}