:root {
    --primary-color: #000000;
    --secondary-color: #0a0a0a;
    --accent-color: #000000;
    --accent-gradient: linear-gradient(135deg, #000000, #1a1a1a);
    --text-color: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #333333;
    --background-color: #000000;
    --background-gradient: linear-gradient(135deg, rgba(0, 2, 10, 0.9), rgba(10, 10, 10, 0.95));
    --card-bg: rgba(20, 20, 20, 0.9);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-accent: 0 10px 25px rgba(59, 130, 246, 0.25);
    --gradient-primary: linear-gradient(135deg, #3b82f6, #1d4ed8);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9) rotateX(10deg);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: blur(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9) rotateY(5deg);
    }

    to {
        transform: scale(1) rotateY(0deg);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(40px) rotateZ(5deg);
        opacity: 0;
    }

    to {
        transform: translateX(0) rotateZ(0deg);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    }
    50% {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    background-image: none;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.servicios-hero {
    position: relative;
    padding: 0;
    background: #000000;
    color: white;
    overflow: hidden;
    height: 110vh;
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 80px;
}

.servicios-hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    height: 110vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.servicios-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    width: 100%;
    text-align: center;
}

.servicios-hero-text {
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    margin-bottom: 300px;
}

.servicios-hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
    line-height: 1.2;
}

.servicios-hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color:#ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease-out;
    margin-right: 15px;
}

.btn-hero:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--accent-color);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease-out;
    border: 1px solid var(--text-secondary);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border: 1px solid var(--accent-color);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--text-color);
    font-size: 1.1rem;
}


.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 800px;
    z-index: 1;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    right: 0;
}

@media (max-width: 768px) {
    .hero-wave spline-viewer {
        display: none;
    }
    
    .servicios-hero-text {
        margin-bottom: 50px;
    }
    
    .servicios-hero {
        height: auto;
        min-height: 80vh;
        padding: 100px 0 50px;
        margin-bottom: 40px;
    }
    
    .servicios-hero .container {
        height: auto;
    }
    
    .servicios-hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .servicios-hero-text p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .btn-hero, .btn-secondary {
        width: 100%;
        text-align: center;
        margin-right: 0;
    }
    
    .hero-features {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
}

.hero-wave iframe {
    border: none;
    position: absolute;
    bottom: -200px;
    left: 0;
    width: 100vw;
    height: 1200px;
    transform: scale(1.1);
}

.hero-wave spline-viewer {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.1);
}

/* Ocultar el logo de Spline */
.hero-wave spline-viewer::part(logo) {
    display: none !important;
}

/* Ocultar el logo de Spline en el nuevo visor */
.hero-wave spline-viewer::shadow .logo,
.hero-wave spline-viewer .logo {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.trusted-by {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    background: #000000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(240, 235, 220, 0.4);
}

.trusted-by p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.company-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logo-item {
    color: var(--text-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

.logo-item i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .trusted-by {
        bottom: -40px;
        padding: 10px 0;
    }
    
    .company-logos {
        gap: 20px;
    }
    
    .logo-item {
        font-size: 0.8rem;
    }
    
    .logo-item i {
        font-size: 1rem;
    }
}

.slider-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    height: 100%;
    padding: 10px 0;
}

.slider-down {
    animation: slideDown 30s linear infinite;
}

.slider-down:hover {
    animation-play-state: paused;
}

.slider-up {
    animation: slideUp 30s linear infinite;
}

.slider-up:hover {
    animation-play-state: paused;
}



.slider-item {
    position: relative;
    min-height: 180px;
    height: 180px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    flex: 0 0 auto;
    margin-bottom: 10px;
    width: 100%;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    object-position: center;
}

.slider-item:hover {
    transform: translateY(-5px);
}

.slider-item:hover img {
    transform: scale(1.05);
}

.slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 2, 10, 0.9), transparent);
    color: var(--text-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.slider-item:hover .slider-overlay {
    opacity: 1;
}

.slider-overlay h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: left;
    width: 100%;
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0%);
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(-100%);
    }
}


/* Filtros de Servicios */
.categorias-especializadas {
    padding: 40px 0;
    background-color: #000000;
    background-image: none;
    color: var(--text-color);
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.categorias-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.categoria-card {
    background: rgba(70, 90, 120, 0.15);
    border: 1px solid rgba(70, 90, 120, 0.3);
    border-radius: 25px;
    padding: 10px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.categoria-card:hover {
    background: rgba(70, 90, 120, 0.25);
    border-color: rgba(70, 90, 120, 0.5);
    transform: translateY(-2px);
    backdrop-filter: blur(15px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.categoria-card.active {
    background: rgba(70, 90, 120, 0.35);
    border-color: rgba(70, 90, 120, 0.7);
    color: #ffffff;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.categoria-icon {
    font-size: 1.2rem;
    color: rgba(180, 200, 220, 0.9);
    margin-right: 8px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.categoria-card:hover .categoria-icon {
    transform: scale(1.1);
}

.categoria-card h3 {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    color: rgba(180, 200, 220, 0.9);
    transition: color 0.3s ease;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.categoria-card p {
    display: none;
}

.btn-categoria {
    display: none;
}

/* Sección de Pasos para Comprar Servicios */
.pasos-compra {
    background: #000000;
    padding: 60px 0 40px;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.pasos-compra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

.pasos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.pasos-info {
    animation: fadeInLeft 1s ease-out;
    padding-right: 40px;
}

.pasos-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.1;
    text-shadow: none;
    letter-spacing: -0.02em;
}

.pasos-lista {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 50px 0;
}

.paso-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 0;
    transition: all 0.3s ease;
}

.paso-item:hover {
    transform: translateX(3px);
}

.paso-numero {
    background: #10b981;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    aspect-ratio: 1 / 1 !important;
    box-sizing: content-box !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10px;
    flex-shrink: 0;
    position: relative;
    margin-top: 2px;
}

.paso-numero::before {
    content: '✓';
    font-size: 10px;
    font-weight: bold;
}

.paso-texto {
    flex: 1;
}

.paso-texto h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.paso-texto span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    display: block;
}

.paso-texto strong {
    color: var(--text-color);
    font-weight: 600;
}

.pasos-buttons {
    display: flex;
    gap: 15px;
    margin-top: 50px;
    justify-content: flex-start;
}

.btn-comparer {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    box-shadow: none;
}

.btn-comparer:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #abaeb5;
}

.btn-assurances {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.btn-assurances:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.pasos-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.credit-card-animation {
    width: 100%;
    height: 600px;
    border-radius: 0;
    overflow: visible;
    position: relative;
    background: transparent;
    box-shadow: none;
    margin-top: 80px;
}

.credit-card-animation iframe {
    width: 120%;
    height: 120%;
    border: none;
    border-radius: 0;
    transform: scale(1.1) translateX(-8%);
    transform-origin: center;
}

@media (max-width: 768px) {
    .credit-card-animation,
    .pasos-visual {
        display: none;
    }
    
    .credit-card-animation iframe {
        display: none;
    }
}



@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive para la sección de pasos */
@media (max-width: 992px) {
    .pasos-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        padding: 0 20px;
    }
    
    .pasos-info {
        padding-right: 0;
        order: 2;
    }
    
    .pasos-visual {
        order: 1;
    }
    
    .pasos-buttons {
        justify-content: center;
    }
    
    .pasos-title {
        font-size: 2.8rem;
        text-align: center;
    }
    
    .credit-card-animation {
        height: 500px;
    }
    
    .credit-card-animation iframe {
        transform: scale(1.0) translateX(-5%);
    }
}

@media (max-width: 768px) {
    .pasos-compra {
        padding: 20px 0 10px;
    }
    
    .categorias-especializadas {
        padding: 10px 0;
    }
    
    .pasos-content {
        padding: 0 15px;
    }
    
    .pasos-title {
        font-size: 2.4rem;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .pasos-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .btn-comparer,
    .btn-assurances {
        width: 100%;
        max-width: 200px;
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .credit-card-animation {
        height: 400px;
    }
    
    /* Categorías responsivas en móvil */
    .categorias-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
        justify-content: center;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .categoria-card {
        height: 70px;
        padding: 5px;
        width: calc(20% - 8px);
        flex: 0 0 calc(20% - 8px);
    }
    
    .categoria-icon {
        font-size: 2rem;
        margin-bottom: 5px;
        margin-right: 0;
    }
    
    .categoria-card h3 {
        display: none;
    }
    
    .categoria-card p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .btn-categoria {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .credit-card-animation iframe {
        transform: scale(0.9) translateX(-5%);
    }
    
    .paso-item {
        gap: 12px;
        padding: 0;
        margin-bottom: 15px;
    }
    
    .paso-numero {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }
    
    .paso-texto h4 {
        font-size: 15px;
    }
    
    .paso-texto span {
        font-size: 13px;
    }
    
    .pasos-lista {
        margin: 40px 0;
    }
}

.servicios-destacados {
    padding: 80px 0;
    background-color: #000000;
    background-image: none;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    font-weight: 700;
    color: var(--text-color);
    animation: fadeIn 1s ease-out;
    line-height: 1.2;
}

.section-title .accent {
    color: var(--accent-color);
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.servicio-card {
    background: #00020A;
    border-radius: 12px;
    padding: 0;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
    border: 1px solid rgba(245, 245, 240, 0.1);
    position: relative;
    overflow: hidden;
    height: 320px;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.servicio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(245, 245, 240, 0.2);
}



.servicio-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.servicio-card.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.servicio-img {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
    flex-shrink: 0;
    margin: 0;
    background: #f5f5f5;
}

.servicio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    filter: brightness(0.9);
    border-radius: 10px;
}

.servicio-card:hover .servicio-img img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.servicio-categoria {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #3b82f6;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 20px;
    text-transform: uppercase;
    z-index: 10;
    transition: all 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.servicio-card:hover .servicio-categoria {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
}

.servicio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 2, 10, 0.95), rgba(0, 2, 10, 0.5), rgba(0, 2, 10, 0));
    color: #fff;
    z-index: 2;
    transition: all 0.3s ease;
}

.servicio-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #ffffff;
    display: block;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
    line-height: 1.3;
}

.servicio-empresa {
    font-size: 1rem;
    color: #f5f5f0;
    margin: 0;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.servicio-hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 2, 10, 0.98), rgba(0, 2, 10, 0.9));
    color: #f5f5f0;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 20;
    transform: translateY(10px);
    border-radius: 12px;
}

.servicio-card:hover .servicio-hover-info {
    opacity: 1;
    transform: translateY(0);
}

.servicio-descripcion {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
    max-height: 120px;
    overflow: hidden;
    color: #f5f5f0;
}

.servicio-empresa-hover {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.servicio-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}

.servicio-precio {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.servicio-precio .precio {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f5f5f0;
}

.servicio-precio .moneda {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(245, 245, 240, 0.7);
    margin-left: 5px;
}

.servicio-satisfaccion {
    font-size: 0.9rem;
    color: #f5f5f0;
    display: none;
}

.servicio-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.rating-stars {
    display: flex;
    gap: 2px;
    font-size: 1.1rem;
}

.rating-stars i {
    color: #ffd700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.rating-stars .far {
    color: #666;
}

.rating-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

.rating-number {
    color: #ffd700;
    font-weight: 600;
}

.rating-count {
    color: #ccc;
    font-size: 0.8rem;
}

.servicio-card:hover .rating-stars i {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.no-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

.no-rating-text {
    color: #999;
    font-size: 0.85rem;
    font-style: italic;
    text-align: center;
}

.servicio-link {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.servicio-link i {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.servicio-precio {
    margin: 8px 0;
    display: flex;
    align-items: baseline;
    gap: 3px;
    background: none;
    padding: 0;
    border-radius: 0;
    width: auto;
    min-width: auto;
    box-shadow: none;
    transition: none;
    position: static;
    overflow: visible;
    z-index: auto;
    border: none;
    backdrop-filter: none;
    align-self: auto;
}







.precio {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f5f5f0;
    transition: all 0.4s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
}



.moneda {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
    margin-left: 4px;
    color: rgba(245, 245, 240, 0.7);
    transition: all 0.3s ease;
}



.servicio-stats {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    width: 100%;
    transition: all 0.3s ease;
}



.servicio-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 2, 10, 0.5);
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.servicio-card:hover .servicio-stats span {
    background: rgba(160, 160, 255, 0.1);
    transform: translateY(-2px);
}

.servicio-stats i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.servicio-card:hover .servicio-stats i {
    transform: scale(1.2);
}

/* Estilos adicionales para asegurar la correcta visualización */
.servicio-card > * {
    width: 100%;
}

/* Media queries para responsividad */
@media (max-width: 1200px) {
    .servicios-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1200px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .servicio-card {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .servicio-card {
        height: 240px;
    }
    
    .servicio-title {
        font-size: 1.2rem;
    }
    
    .servicio-empresa {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .servicios-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
        gap: 15px;
        padding: 0 10px;
    }
    
    .servicio-card {
        height: 260px;
    }
    
    .servicio-info {
        padding: 12px;
    }
    
    .servicio-title {
        font-size: 1rem;
        margin-bottom: 4px;
        line-height: 1.1;
    }
    
    .servicio-empresa {
        font-size: 0.8rem;
    }
    
    .servicio-precio .precio {
        font-size: 1.1rem;
    }
    
    .servicio-hover-info {
        padding: 15px;
    }
    
    .servicio-descripcion {
        font-size: 0.9rem;
        line-height: 1.3;
        max-height: 80px;
        margin-bottom: 15px;
    }
    
    .servicio-empresa-hover {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .section-header {
        margin-bottom: 25px;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-description {
        font-size: 0.85rem;
        max-width: 100%;
    }
    
    .servicios-destacados {
        padding: 30px 0;
    }
}

.servicio-card .servicio-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    justify-content: space-between;
}

.servicio-footer {
    margin-top: auto;
    padding: 15px 20px;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    background: linear-gradient(to bottom, rgba(10, 15, 30, 0.5), rgba(20, 30, 60, 0.8));
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 0 0 16px 16px;
    position: relative;
    z-index: 2;
}

.servicio-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    width: 100%;
    align-self: flex-start;
    position: relative;
}

.servicio-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
    box-shadow: none;
}

.servicio-author span {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.8);
    flex: 1;
}

/* Mantenemos esta clase por compatibilidad */
.servicio-company {
    display: flex;
    align-items: center;
    gap: 8px;
}

.servicio-company img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.servicio-company span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.btn-comprar {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    z-index: 3;
    margin-top: auto;
}

.btn-comprar:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.servicio-link:hover {
    background: #d4a017;
    color: #1e3a8a;
    transform: translateY(-2px);
    border-color: #d4a017;
    box-shadow: 0 4px 12px rgba(212, 160, 23, 0.3);
}

.servicio-propio {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    z-index: 3;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.servicio-propio:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.servicio-propio i {
    font-size: 1.1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.servicio-propio::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.servicio-propio:hover::before {
    left: 100%;
}


.cta-servicios {
    padding: 60px 0;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-block;
    background: rgba(70, 90, 120, 0.8);
    color: white;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(70, 90, 120, 0.5);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    background: rgba(70, 90, 120, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    background: rgba(50, 70, 100, 0.6);
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(50, 70, 100, 0.4);
    transition: gap 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.btn-cta-secondary:hover {
    gap: 12px;
    background: rgba(50, 70, 100, 0.8);
    border-color: rgba(50, 70, 100, 0.6);
}


@media (max-width: 1200px) {
    .servicios-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .icon-container {
        width: 100px;
        height: 100px;
    }

    .hero-icon {
        width: 60px;
        height: 60px;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-servicios {
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .icon-container {
        width: 80px;
        height: 80px;
    }

    .hero-icon {
        width: 45px;
        height: 45px;
    }

    .categorias-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-top: 15px;
    }

    .categoria-card {
        flex: 0 0 calc(20% - 8px);
        min-width: auto;
        padding: 8px;
        height: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
    }

    .categoria-icon {
        font-size: 2rem;
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .categoria-card h3 {
        font-size: 0.7rem;
        text-align: center;
        white-space: normal;
        line-height: 1.2;
        display: none;
    }

    .servicios-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .servicio-card {
        height: 480px;
    }

    .footer-columns {
        flex-direction: column;
        gap: 40px;
    }

    .footer-content h2 {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }
    
    .section-header {
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
        max-width: 100%;
    }
    
    .servicios-destacados {
        padding: 40px 0;
    }
    
    .categoria-card {
        padding: 8px 10px;
        flex: 0 0 calc(20% - 6px);
        height: 80px;
    }
    
    .categoria-icon {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .categoria-card h3 {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    .categorias-especializadas {
        padding: 30px 0;
    }

    .categorias-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-top: 15px;
    }

    .servicio-card {
        height: 280px;
    }
    
    .servicio-info {
        padding: 15px;
    }
    
    .servicio-title {
        font-size: 1.1rem;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    
    .servicio-empresa {
        font-size: 0.85rem;
    }
    
    .servicio-precio .precio {
        font-size: 1.2rem;
    }

    .servicio-stats {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        margin: 10px 0;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-icons {
        gap: 20px;
    }

    .footer-content h2 {
        font-size: 1.8rem;
    }
}