/* Estilos específicos para páginas de servicios */

/* Service Hero Section */
.service-hero-section {
    background: var(--gradient-primary);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    z-index: 2;
}

.service-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
}

.service-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.service-hero-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-item i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.service-hero-image {
    position: relative;
    z-index: 3;
    text-align: center;
}

.service-hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

/* Service Details */
.services-detail-section {
    padding: 5rem 0;
    position: relative;
    z-index: 3;
    background: var(--white);
}

.service-detail-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 3;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-detail-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
}

.service-detail-card:hover::before {
    transform: scaleX(1);
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--white);
    transition: var(--transition);
    flex-shrink: 0;
}

.service-detail-card:hover .service-icon-large {
    transform: scale(1.1) rotate(5deg);
}

.service-detail-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    z-index: 4;
}

.service-detail-card p {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 4;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 2rem;
    position: relative;
    z-index: 4;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--dark-color);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.service-benefits {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: auto;
    flex-shrink: 0;
}

.service-benefits h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-benefits li {
    padding: 0.25rem 0;
    color: var(--dark-color);
    position: relative;
    padding-left: 1.2rem;
}

.service-benefits li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-image {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 3;
}

/* Work Process */
.process-section {
    background: var(--light-color);
    padding: 5rem 0;
    position: relative;
    z-index: 3;
}

.process-step {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
}

.process-step h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.process-step p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.process-features li {
    padding: 0.25rem 0;
    color: var(--dark-color);
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.9rem;
}

.process-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Comparison Card for SEO vs SEM */
.comparison-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    margin: 3rem 0;
    position: relative;
    z-index: 3;
}

.comparison-card:hover {
    box-shadow: var(--shadow-medium);
}

.comparison-card h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.comparison-card .table {
    margin-bottom: 2rem;
}

.comparison-card .table th {
    background: var(--dark-color);
    color: var(--white);
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.comparison-card .table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: rgba(0,0,0,0.1);
}

.comparison-card .table tbody tr:hover {
    background: var(--light-color);
}

/* Project Type Cards for Software Development */
.projects-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    margin: 3rem 0;
    position: relative;
    z-index: 3;
}

.project-type-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    min-height: 300px;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-type-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.project-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
    flex-shrink: 0;
}

.project-type-card:hover .project-icon {
    transform: scale(1.1);
}

.project-type-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    flex-shrink: 0;
}

.project-type-card p {
    color: var(--secondary-color);
    line-height: 1.6;
    flex-grow: 1;
}

/* Tools Cards for Automation */
.tools-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    margin: 3rem 0;
    position: relative;
    z-index: 3;
}

.tool-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    min-height: 300px;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
    flex-shrink: 0;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1);
}

.tool-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    flex-shrink: 0;
}

.tool-card p {
    color: var(--secondary-color);
    line-height: 1.6;
    flex-grow: 1;
}

/* Benefits Section for Automation */
.benefits-section {
    background: var(--light-color);
    padding: 5rem 0;
    position: relative;
    z-index: 3;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    min-height: 250px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
    flex-shrink: 0;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    flex-shrink: 0;
}

.benefit-card p {
    color: var(--secondary-color);
    line-height: 1.6;
    flex-grow: 1;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 3;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-section .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Additional styles for better visual appeal */
.service-detail-card .lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-image img {
    transition: var(--transition);
}

.service-image img:hover {
    transform: scale(1.05);
}

/* Enhanced table styles */
.comparison-card .table-responsive {
    border-radius: 10px;
    overflow: hidden;
}

.comparison-card .table th:first-child {
    border-top-left-radius: 10px;
}

.comparison-card .table th:last-child {
    border-top-right-radius: 10px;
}

/* Card hover effects enhancement */
.service-detail-card,
.project-type-card,
.tool-card,
.benefit-card {
    position: relative;
    overflow: hidden;
}

.service-detail-card::after,
.project-type-card::after,
.tool-card::after,
.benefit-card::after {
    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;
}

.service-detail-card:hover::after,
.project-type-card:hover::after,
.tool-card:hover::after,
.benefit-card:hover::after {
    left: 100%;
}

/* Fixes for content visibility */
.service-details .row,
.technologies .row,
.process-section .row {
    position: relative;
    z-index: 3;
    align-items: stretch;
}

.service-details .row > [class*="col-"],
.technologies .row > [class*="col-"],
.process-section .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.service-details .row > [class*="col-"] > *,
.technologies .row > [class*="col-"] > *,
.process-section .row > [class*="col-"] > * {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Ensure equal height for service cards in same row */
.service-detail-card,
.tech-logos-container,
.project-type-card,
.tool-card,
.benefit-card {
    margin-bottom: 0;
}

/* Fix for service image alignment */
.service-image {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure tech logos container fills available space */
.tech-logos-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    text-align: center;
    height: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
}

/* Responsive adjustments for equal heights */
@media (max-width: 991px) {
    .row > [class*="col-"] {
        margin-bottom: 2rem;
    }
    
    .row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
    
    .service-detail-card,
    .tech-logos-container {
        min-height: auto;
        height: auto;
    }
}

@media (max-width: 768px) {
    .service-detail-card,
    .tech-logos-container {
        min-height: auto;
        height: auto;
    }
    
    .project-type-card,
    .tool-card {
        min-height: 250px;
    }
    
    .benefit-card {
        min-height: 200px;
    }
    
    .tech-logo-item {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .service-detail-card,
    .tech-logos-container {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .project-type-card,
    .tool-card {
        min-height: 200px;
        padding: 1.5rem;
    }
    
    .benefit-card {
        min-height: 180px;
        padding: 1.5rem;
    }
    
    .tech-logo-item {
        height: 60px;
    }
}

/* Legacy styles for existing pages */
.service-hero {
    background: var(--gradient-primary);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.service-details {
    padding: 5rem 0;
}

.service-detail-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--white);
    transition: var(--transition);
}

.service-detail-card:hover .service-detail-icon {
    transform: scale(1.1) rotate(5deg);
}

.work-process {
    background: var(--light-color);
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
}

.process-number::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateY(-50%);
}

.process-step:last-child .process-number::after {
    display: none;
}

/* Technologies */
.technologies {
    padding: 5rem 0;
}



/* Tech Card - Estilos idénticos a tech-item pero para uso fuera del carrusel */
.tech-card {
    background: var(--white);
    padding: 2rem 1rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.tech-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.tech-card:hover i {
    transform: scale(1.1);
}

.tech-card span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
    text-align: center;
}

/* Strategy Section */
.strategy-section {
    padding: 5rem 0;
}

.strategy-step {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.strategy-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.strategy-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.strategy-step:hover .strategy-icon {
    transform: scale(1.1);
}

.strategy-step h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.strategy-step p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Platform Cards */
.platform-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.platform-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* Particles and animations */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Additional responsive fixes */
@media (max-width: 768px) {
    .work-process .row {
        flex-direction: column;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .process-number::after {
        display: none;
    }
}

/* Tech Logos Container */
.tech-logos-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    text-align: center;
    height: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tech-logos-container h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.tech-logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: center;
    flex-grow: 1;
}

.tech-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: var(--light-color);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    height: 120px;
    width: 100%;
}

.tech-logo-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    background: var(--white);
}

.tech-logo-item i {
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-logo-item:hover i {
    transform: scale(1.2);
}

/* Responsive para tech logos */
@media (max-width: 768px) {
    .tech-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tech-logo-item {
        padding: 1rem;
        height: 100px;
    }
    
    .tech-logo-item i {
        font-size: 2.5rem !important;
    }
    
    .service-detail-card,
    .tech-logos-container {
        min-height: auto;
    }
    
    .project-type-card,
    .tool-card {
        min-height: 250px;
    }
    
    .benefit-card {
        min-height: 200px;
    }
}

@media (max-width: 576px) {
    .tech-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .tech-logo-item {
        padding: 0.75rem;
        height: 80px;
    }
    
    .tech-logo-item i {
        font-size: 2rem !important;
    }
    
    .service-detail-card,
    .tech-logos-container {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .project-type-card,
    .tool-card {
        min-height: 200px;
        padding: 1.5rem;
    }
    
    .benefit-card {
        min-height: 180px;
        padding: 1.5rem;
    }
}

/* Ensure text is readable */
.service-detail-card h3,
.service-detail-card p,
.project-type-card h4,
.project-type-card p,
.tool-card h4,
.tool-card p,
.benefit-card h4,
.benefit-card p {
    position: relative;
    z-index: 4;
}

/* Fix for rotating rectangle interference */
.rotating-rectangle {
    pointer-events: none;
    z-index: 1;
}

/* Ensure all interactive elements are above the rectangle */
.btn,
.navbar,
.dropdown-menu,
.footer {
    position: relative;
    z-index: 1000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-hero-title {
        font-size: 2.5rem;
    }
    
    .service-hero-subtitle {
        font-size: 1rem;
    }
    
    .service-detail-card {
        padding: 2rem;
    }
    
    .service-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .comparison-card {
        padding: 2rem;
    }
    
    .projects-card,
    .tools-card {
        padding: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .service-hero-title {
        font-size: 2rem;
    }
    
    .service-hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .process-step {
        padding: 1.5rem;
    }
    
    .comparison-card {
        padding: 1.5rem;
    }
    
    .comparison-card .table {
        font-size: 0.9rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
}

/* Service Details Section */
.service-details {
    background: var(--white);
    position: relative;
    z-index: 3;
    padding: 5rem 0;
}

.service-detail-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 3;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-detail-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
}

.service-detail-card:hover::before {
    transform: scaleX(1);
}

.service-detail-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    z-index: 4;
}

.service-detail-card p {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 4;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 0;
    position: relative;
    z-index: 4;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--dark-color);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Service Detail Icon */
.service-detail-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    z-index: 4;
}

.service-detail-card:hover .service-detail-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Technologies Section */
.technologies {
    position: relative;
    z-index: 3;
    padding: 5rem 0;
}

.technologies.bg-light {
    background: var(--light-color) !important;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 4;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0;
    position: relative;
    z-index: 4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    
    .tech-card {
        padding: 1.5rem 1rem;
    }
    
    .tech-card i {
        font-size: 2.5rem;
    }
    
    .tech-card span {
        font-size: 0.8rem;
    }
    
    .service-detail-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .service-detail-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-step {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    
    .tech-card {
        padding: 1rem;
    }
    
    .tech-card i {
        font-size: 2rem;
    }
    
    .tech-card span {
        font-size: 0.75rem;
    }
    
    .service-detail-card {
        padding: 1.5rem;
    }
    
    .service-detail-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .process-step {
        padding: 1rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

/* Ensure all content is visible */
.service-details,
.technologies,
.process-section,
.cta-section {
    position: relative;
    z-index: 10;
    background: var(--white);
}

.service-details.bg-light,
.technologies.bg-light,
.process-section.bg-light {
    background: var(--light-color) !important;
}

.cta-section {
    background: var(--gradient-primary) !important;
}

/* Force visibility for all content */
.service-detail-card,
.process-step,
.section-title,
.section-subtitle {
    position: relative;
    z-index: 15;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure proper spacing */
.service-details,
.technologies,
.process-section {
    padding: 5rem 0;
    margin: 0;
}

/* Fix for any potential display issues */
.service-details .row,
.technologies .row,
.process-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
}

.service-details .col-12, .service-details .col-lg-6, .service-details .col-lg-2, .service-details .col-md-4, .service-details .col-6, .service-details .col-lg-3, .service-details .col-md-6,
.technologies .col-12, .technologies .col-lg-6, .technologies .col-lg-2, .technologies .col-md-4, .technologies .col-6, .technologies .col-lg-3, .technologies .col-md-6,
.process-section .col-12, .process-section .col-lg-6, .process-section .col-lg-2, .process-section .col-md-4, .process-section .col-6, .process-section .col-lg-3, .process-section .col-md-6 {
    display: block !important;
    position: relative;
    z-index: 15;
}

.service-details .row,
.technologies .row,
.process-section .row {
    margin: 0 -15px;
}

.service-details .col-12, .service-details .col-lg-6, .service-details .col-lg-2, .service-details .col-md-4, .service-details .col-6, .service-details .col-lg-3, .service-details .col-md-6,
.technologies .col-12, .technologies .col-lg-6, .technologies .col-lg-2, .technologies .col-md-4, .technologies .col-6, .technologies .col-lg-3, .technologies .col-md-6,
.process-section .col-12, .process-section .col-lg-6, .process-section .col-lg-2, .process-section .col-md-4, .process-section .col-6, .process-section .col-lg-3, .process-section .col-md-6 {
    padding: 0 15px;
}

/* Ensure text is readable */
.service-detail-card h3,
.service-detail-card p,
.service-features li,
.process-step h4,
.process-step p,
.section-title,
.section-subtitle {
    color: var(--dark-color) !important;
    position: relative;
    z-index: 20;
}

.service-detail-card p,
.section-subtitle {
    color: var(--secondary-color) !important;
}

/* Ensure icons are visible */
.service-detail-icon,
.step-number {
    position: relative;
    z-index: 20;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fix for any potential background issues */
.service-detail-card,
.process-step {
    background: var(--white) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

/* Ensure proper margins and padding */

.row {
    margin: 0 -15px;
}

.col-12, .col-lg-6, .col-lg-2, .col-md-4, .col-6, .col-lg-3, .col-md-6 {
    display: block !important;
    position: relative;
    z-index: 15;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .service-details,
    .technologies,
    .process-section {
        padding: 3rem 0;
    }
    
    .service-detail-card,
    .tech-item,
    .process-step {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .service-details,
    .technologies,
    .process-section {
        padding: 2rem 0;
    }
    
    .service-detail-card,
    .tech-item,
    .process-step {
        margin-bottom: 1rem;
    }
}



.cta-section .btn {
    display: inline-block;
    margin: 0.5rem;
    min-width: 200px;
}

@media (max-width: 768px) {
    .cta-section .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        min-width: auto;
    }
}

/* Carrusel de Tecnologías para páginas de servicios */
/* Eliminar regla base para evitar conflictos con media queries globales */

.technologies-carousel-section .tech-item {
    min-width: 120px !important;
    height: 80px !important;
    margin: 0 15px !important;
    padding: 15px !important;
}

.technologies-carousel-section .tech-logo {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 8px !important;
    object-fit: contain !important;
}

.technologies-carousel-section .tech-name,
.technologies-carousel-section .carousel-track .tech-item .tech-name,
.technologies-carousel-section .tech-item .tech-name {
    font-size: 9px !important;
    font-weight: 500 !important;
    color: #333 !important;
    text-align: center !important;
    line-height: 1.1 !important;
    margin-top: 4px !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
}

@media (max-width: 768px) {
    .technologies-carousel-section .technologies-carousel {
        height: 140px;
        padding: 25px 0;
    }
    
    .technologies-carousel-section .tech-item {
        min-width: 100px !important;
        height: 80px !important;
        margin: 0 10px !important;
        padding: 10px !important;
    }
    
    .technologies-carousel-section .tech-logo {
        width: 35px !important;
        height: 35px !important;
        margin-bottom: 6px !important;
    }
    
    .technologies-carousel-section .tech-name {
        font-size: 8px !important;
        margin-top: 3px !important;
    }
    
    /* Eliminar duración personalizada para igualar con el index */
    /* .technologies-carousel-section .carousel-track {
        animation-duration: 40s;
    } */
}

@media (max-width: 576px) {
    .technologies-carousel-section .technologies-carousel {
        height: 120px;
        padding: 20px 0;
    }
    
    .technologies-carousel-section .tech-item {
        min-width: 80px !important;
        height: 70px !important;
        margin: 0 8px !important;
        padding: 8px !important;
    }
    
    .technologies-carousel-section .tech-logo {
        width: 30px !important;
        height: 30px !important;
        margin-bottom: 5px !important;
    }
    
    .technologies-carousel-section .tech-name {
        font-size: 7px !important;
        margin-top: 2px !important;
    }
    
    /* Eliminar duración personalizada para igualar con el index */
    /* .technologies-carousel-section .carousel-track {
        animation-duration: 35s;
    } */
}

/* Estilos para tarjetas mejoradas de consultoría */
.enhanced-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    border-radius: 10px;
    padding: 0.75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* height: 100%; */
}

/* Estilos específicos para tarjetas de diseño gráfico */
.diseno-grafico .enhanced-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 50%, #f8f9fa 100%);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    /* height: 100%; */
}

.diseno-grafico .enhanced-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.diseno-grafico .enhanced-card:hover::before {
    opacity: 1;
}

.diseno-grafico .enhanced-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: rgba(102, 126, 234, 0.2);
}

/* Reducir margen inferior de las tarjetas */
.diseno-grafico .col-lg-4,
.diseno-grafico .col-md-6 {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .diseno-grafico .col-lg-4,
    .diseno-grafico .col-md-6 {
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 576px) {
    .diseno-grafico .col-lg-4,
    .diseno-grafico .col-md-6 {
        margin-bottom: 0.25rem;
    }
}

.enhanced-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #28a745);
}

.enhanced-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.enhanced-icon {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,123,255,0.15);
    transition: all 0.3s ease;
}

/* Iconos específicos para diseño gráfico */
.diseno-grafico .enhanced-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.diseno-grafico .enhanced-card:hover .enhanced-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.35);
}

.enhanced-card:hover .enhanced-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,123,255,0.3);
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    position: relative;
}

/* Títulos específicos para diseño gráfico */
.diseno-grafico .card-title {
    color: #1a202c;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    position: relative;
    letter-spacing: -0.02em;
}

.diseno-grafico .card-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    opacity: 0.7;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #28a745);
    border-radius: 1px;
}

.card-description {
    color: #6c757d;
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

/* Descripciones específicas para diseño gráfico */
.diseno-grafico .card-description {
    color: #4a5568;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

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

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0;
    color: #495057;
    font-size: 0.7rem;
    border-bottom: 1px solid rgba(0,123,255,0.1);
    transition: all 0.2s ease;
}

/* Características específicas para diseño gráfico */
.diseno-grafico .service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    color: #2d3748;
    font-size: 0.75rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.diseno-grafico .service-features li:last-child {
    border-bottom: none;
}

.diseno-grafico .service-features li:hover {
    color: #667eea;
    transform: translateX(5px);
    background: rgba(102, 126, 234, 0.03);
    border-radius: 8px;
    padding-left: 0.5rem;
    margin-left: -0.5rem;
}

.diseno-grafico .service-features li i {
    color: #667eea;
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.diseno-grafico .service-features li:hover i {
    transform: scale(1.2);
    color: #764ba2;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li:hover {
    color: #007bff;
    transform: translateX(3px);
}

.service-features li i {
    color: #007bff;
    font-size: 0.65rem;
    width: 12px;
    text-align: center;
    flex-shrink: 0;
}

/* Responsive para las tarjetas mejoradas */
@media (max-width: 768px) {
    .enhanced-card {
        padding: 0.5rem;
    }
    
    .enhanced-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .card-title {
        font-size: 0.9rem;
    }
    
    .service-features li {
        font-size: 0.65rem;
        padding: 0.15rem 0;
    }
    
    /* Responsive específico para diseño gráfico */
    .diseno-grafico .enhanced-card {
        padding: 0.75rem;
    }
    
    .diseno-grafico .enhanced-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .diseno-grafico .card-title {
        font-size: 1rem;
    }
    
    .diseno-grafico .service-features li {
        font-size: 0.7rem;
        padding: 0.3rem 0;
    }
}

@media (max-width: 576px) {
    .enhanced-card {
        padding: 0.4rem;
    }
    
    .enhanced-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .card-title {
        font-size: 0.85rem;
    }
    
    .card-description {
        font-size: 0.7rem;
    }
    
    .service-features li {
        font-size: 0.6rem;
        padding: 0.1rem 0;
    }
    
    /* Responsive móvil específico para diseño gráfico */
    .diseno-grafico .enhanced-card {
        padding: 0.5rem;
    }
    
    .diseno-grafico .enhanced-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin-bottom: 0.15rem;
    }
    
    .diseno-grafico .card-title {
        font-size: 0.9rem;
    }
    
    .diseno-grafico .card-description {
        font-size: 0.75rem;
    }
    
    .diseno-grafico .service-features li {
        font-size: 0.65rem;
        padding: 0.2rem 0;
    }
}

/* Estilos para la sección explicativa de SEO */
.what-is-seo {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.seo-explanation h3 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.seo-benefits {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.seo-benefits h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.benefits-list li {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.benefits-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.benefits-list li:last-child {
    border-bottom: 1px solid #e9ecef;
}

.benefits-list i {
    background: linear-gradient(135deg, var(--success-color) 0%, #28a745 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
}

.benefits-list li strong {
    color: var(--dark-color);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.benefits-list li span {
    color: var(--secondary-color);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Mockup de resultados de búsqueda */
.search-results-mockup {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}

.search-bar {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-bar i {
    color: #6c757d;
}

.search-bar span {
    color: #6c757d;
    font-style: italic;
}

.search-results {
    padding: 20px;
}

.result-item {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.result-item.featured {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

.result-item:not(.featured) {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.result-url {
    font-size: 0.9rem;
    color: #28a745;
    margin-bottom: 5px;
}

.result-item.featured .result-url {
    color: #90EE90;
}

.result-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: #1a0dab;
}

.result-item.featured .result-title {
    color: white;
}

.result-description {
    font-size: 0.9rem;
    color: #4d5156;
    line-height: 1.4;
}

.result-item.featured .result-description {
    color: #e8f4fd;
}

/* Estilos mejorados para Google Partner */
.partner-badge-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: inline-block;
    max-width: 600px;
}

.partner-badge {
    max-height: 120px;
    margin-bottom: 1.5rem;
    border-radius: 10px;
}

.partner-title {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.partner-description {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.partner-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.benefit-item i {
    font-size: 1.2rem;
}

/* Mejoras para CTA con mejor contraste */
.cta-section.bg-primary {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%) !important;
    position: relative;
}

.cta-section.bg-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.cta-section.bg-primary .container {
    position: relative;
    z-index: 2;
}

.cta-section.bg-primary .section-title {
    color: #ffffff !important;
    text-shadow: 0 3px 12px rgba(0,0,0,0.6);
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.cta-section.bg-primary .lead {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.5;
}

.cta-section.bg-primary .btn {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Mejoras para elementos con fondos azules */
.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0,123,255,0.1);
    box-shadow: 0 4px 15px rgba(0,123,255,0.1);
}

.service-card:hover {
    border-color: rgba(0,123,255,0.3);
    box-shadow: 0 8px 25px rgba(0,123,255,0.15);
}

.service-icon {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,86,179,0.3);
}

/* Mejoras para platform-card */
.platform-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0,123,255,0.1);
    box-shadow: 0 4px 15px rgba(0,123,255,0.1);
    transition: all 0.3s ease;
}

.platform-card:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: rgba(0,123,255,0.3);
    box-shadow: 0 8px 25px rgba(0,123,255,0.15);
    transform: translateY(-2px);
}

.platform-card h5 {
    color: #2c3e50;
    font-weight: 600;
}



/* Mejoras para botones primarios */
.btn-primary {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(0,86,179,0.3);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004494 0%, #002d6b 100%);
    box-shadow: 0 6px 20px rgba(0,86,179,0.4);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,86,179,0.3);
}

/* Responsive para las nuevas secciones */
@media (max-width: 768px) {
    .search-results-mockup {
        max-width: 100%;
    }
    
    .partner-benefits {
        flex-direction: column;
        gap: 1rem;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .benefits-list li {
        padding: 1.25rem;
    }
    
    .seo-benefits {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .seo-explanation h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .partner-badge-container {
        padding: 1.5rem;
    }
    
    .partner-badge {
        max-height: 100px;
    }
    
    .search-results {
        padding: 15px;
    }
    
    .result-item {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .benefits-list li {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .benefits-list i {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .benefits-list li strong {
        font-size: 1rem;
    }
    
    .benefits-list li span {
        font-size: 0.9rem;
    }
    
    .seo-benefits {
        padding: 1rem;
    }
    
    .seo-benefits h4 {
        font-size: 1.1rem;
    }
}

/* Estilos para benefit-item-card */
.benefit-item-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.benefit-item-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.benefit-item-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.benefit-item-card:hover i {
    transform: scale(1.1);
}

.benefit-item-card strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.benefit-item-card span {
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .benefit-item-card {
        padding: 1rem;
        min-height: 120px;
    }
    
    .benefit-item-card i {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .benefit-item-card strong {
        font-size: 1rem;
    }
    
    .benefit-item-card span {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .benefit-item-card {
        padding: 0.75rem;
        min-height: 100px;
    }
    
    .benefit-item-card i {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .benefit-item-card strong {
        font-size: 0.95rem;
    }
    
    .benefit-item-card span {
        font-size: 0.8rem;
    }
}

/* Estilos para google-partner-section */
.google-partner-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.google-partner-section .google-partner-badge {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.google-partner-section .partner-badge-container {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-heavy);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.google-partner-section .partner-badge {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.google-partner-section .partner-info {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.google-partner-section .partner-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.google-partner-section .partner-description {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.google-partner-section .partner-benefits {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.google-partner-section .benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
}

.google-partner-section .benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.google-partner-section .benefit-item i {
    font-size: 1.5rem;
}

.google-partner-section .benefit-item span {
    font-weight: 600;
    color: var(--dark-color);
}

@media (max-width: 768px) {
    .google-partner-section {
        padding: 3rem 0;
    }
    
    .google-partner-section .google-partner-badge {
        padding: 0 1rem;
    }
    
    .google-partner-section .partner-badge-container {
        padding: 2rem;
        gap: 2rem;
        text-align: center;
    }
    
    .google-partner-section .partner-info {
        text-align: center;
        min-width: auto;
    }
    
    .google-partner-section .partner-title {
        font-size: 1.8rem;
    }
    
    .google-partner-section .partner-description {
        font-size: 1rem;
    }
    
    .google-partner-section .partner-benefits {
        justify-content: center;
        gap: 1rem;
    }
    
    .google-partner-section .benefit-item {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 576px) {
    .google-partner-section .partner-badge-container {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .google-partner-section .partner-title {
        font-size: 1.5rem;
    }
    
    .google-partner-section .partner-description {
        font-size: 0.95rem;
    }
    
    .google-partner-section .partner-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .google-partner-section .benefit-item {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* Estilos para google-partner-badge en container-fluid */
.container-fluid .google-partner-badge {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid .partner-badge-container {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-heavy);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .container-fluid .google-partner-badge {
        padding: 0 1rem;
    }
    
    .container-fluid .partner-badge-container {
        padding: 2rem;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .container-fluid .google-partner-badge {
        padding: 0 0.5rem;
    }
    
    .container-fluid .partner-badge-container {
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

/* Estilos para el ejemplo visual de resultados de Google */
.google-results-example {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0,0,0,0.1);
}

.google-results-example h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.google-results-example .search-results-mockup {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.google-results-example .search-bar {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.google-results-example .search-bar i {
    color: #666;
    font-size: 1.2rem;
}

.google-results-example .search-bar span {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
}

.google-results-example .search-results {
    padding: 0;
}

.google-results-example .result-item {
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}

.google-results-example .result-item:last-child {
    border-bottom: none;
}

.google-results-example .result-item.featured {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
    border-left: 4px solid var(--primary-color);
}

.google-results-example .result-item:hover {
    background: #f8f9fa;
}

.google-results-example .result-url {
    color: #006621;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-family: 'Courier New', monospace;
}

.google-results-example .result-item.featured .result-url {
    color: #1a0dab;
    font-weight: 600;
}

.google-results-example .result-title {
    color: #1a0dab;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.google-results-example .result-item.featured .result-title {
    color: #1a0dab;
    font-size: 1.2rem;
}

.google-results-example .result-title:hover {
    text-decoration: underline;
    cursor: pointer;
}

.google-results-example .result-description {
    color: #545454;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.google-results-example .result-item.featured .result-description {
    color: #333;
    font-weight: 500;
}

.google-results-example .result-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.google-results-example .result-rating {
    color: #f39c12;
    font-size: 0.9rem;
    font-weight: 600;
}

.google-results-example .result-location {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.google-results-example .result-location::before {
    content: '📍';
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .google-results-example {
        padding: 1.5rem;
    }
    
    .google-results-example .search-bar {
        padding: 0.75rem 1rem;
    }
    
    .google-results-example .result-item {
        padding: 1rem;
    }
    
    .google-results-example .result-title {
        font-size: 1rem;
    }
    
    .google-results-example .result-item.featured .result-title {
        font-size: 1.1rem;
    }
    
    .google-results-example .result-meta {
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .google-results-example {
        padding: 1rem;
    }
    
    .google-results-example .search-bar {
        padding: 0.5rem 0.75rem;
    }
    
    .google-results-example .search-bar span {
        font-size: 0.9rem;
    }
    
    .google-results-example .result-item {
        padding: 0.75rem;
    }
    
    .google-results-example .result-title {
        font-size: 0.95rem;
    }
    
    .google-results-example .result-item.featured .result-title {
        font-size: 1rem;
    }
    
    .google-results-example .result-description {
        font-size: 0.9rem;
    }
    
    .google-results-example .result-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Mejoras específicas para automatización.html */


.technologies.bg-light .section-title {
    color: #2c3e50 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

.technologies.bg-light .section-subtitle {
    color: #495057 !important;
    font-weight: 500 !important;
    text-shadow: none !important;
}

.benefits-section.bg-light .benefit-card {
    background: #ffffff !important;
    border: 2px solid rgba(0,123,255,0.1) !important;
    box-shadow: 0 4px 15px rgba(0,123,255,0.1) !important;
    transition: all 0.3s ease;
}

.benefits-section.bg-light .benefit-card:hover {
    background: #f8f9fa !important;
    border-color: rgba(0,123,255,0.3) !important;
    box-shadow: 0 8px 25px rgba(0,123,255,0.15) !important;
    transform: translateY(-5px);
}

.benefits-section.bg-light .benefit-card h4 {
    color: #2c3e50 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.benefits-section.bg-light .benefit-card p {
    color: #495057 !important;
    font-weight: 500 !important;
    text-shadow: none !important;
}

.benefits-section.bg-light .section-title {
    color: #2c3e50 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

.benefits-section.bg-light .section-subtitle {
    color: #495057 !important;
    font-weight: 500 !important;
    text-shadow: none !important;
}



/* Mejoras para benefit-card en general */
.benefit-card {
    background: #ffffff !important;
    border: 2px solid rgba(0,123,255,0.1) !important;
    box-shadow: 0 4px 15px rgba(0,123,255,0.1) !important;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: #f8f9fa !important;
    border-color: rgba(0,123,255,0.3) !important;
    box-shadow: 0 8px 25px rgba(0,123,255,0.15) !important;
    transform: translateY(-5px);
}

.benefit-card h4 {
    color: #2c3e50 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.benefit-card p {
    color: #495057 !important;
    font-weight: 500 !important;
    text-shadow: none !important;
}

/* Mejoras para section-title y section-subtitle en general */
.section-title {
    color: #2c3e50 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

.section-subtitle {
    color: #495057 !important;
    font-weight: 500 !important;
    text-shadow: none !important;
}

/* Estilos para la sección de ejemplo de flujo n8n */
.workflow-example {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.workflow-example::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,123,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.workflow-example .container {
    position: relative;
    z-index: 2;
}

.workflow-description h3 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,123,255,0.1);
    border: 2px solid rgba(0,123,255,0.1);
    transition: all 0.3s ease;
}

.workflow-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.15);
    border-color: rgba(0,123,255,0.3);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,86,179,0.3);
}

.step-content h5 {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.workflow-benefits {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,123,255,0.1);
    border: 2px solid rgba(0,123,255,0.1);
}

.workflow-benefits h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.workflow-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.workflow-benefits li {
    color: #495057;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    font-weight: 500;
}

/* Estilos para el mockup del flujo n8n */
.n8n-workflow-mockup {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 2px solid rgba(0,123,255,0.1);
    transition: all 0.3s ease;
}

.n8n-workflow-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.workflow-header {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    padding: 1.5rem;
    color: #ffffff;
}

.workflow-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.workflow-title i {
    font-size: 1.3rem;
}

.workflow-canvas {
    padding: 2rem;
    background: #f8f9fa;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.workflow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid rgba(0,123,255,0.2);
    min-width: 120px;
    transition: all 0.3s ease;
    position: relative;
}

.workflow-node:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: rgba(0,123,255,0.4);
}

.workflow-node i {
    font-size: 2rem;
    color: #0056b3;
}

.workflow-node span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    line-height: 1.2;
}

.whatsapp-node i {
    color: #25d366;
}

.ai-node i {
    color: #10a37f;
}

.sheets-node i {
    color: #34a853;
}

.response-node i {
    color: #25d366;
}

.workflow-connection {
    width: 3px;
    height: 30px;
    background: linear-gradient(to bottom, #0056b3, #003d82);
    border-radius: 2px;
    position: relative;
}

.workflow-connection::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #003d82;
}

.workflow-status {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dc3545;
    animation: pulse 2s infinite;
}

.status-indicator.active {
    background: #28a745;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.workflow-status span {
    color: #495057;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive para la sección de workflow */
@media (max-width: 768px) {
    .workflow-example .row {
        flex-direction: column;
    }
    
    .workflow-description {
        margin-bottom: 2rem;
    }
    
    .workflow-step {
        padding: 1rem;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .workflow-canvas {
        padding: 1.5rem;
        min-height: 250px;
    }
    
    .workflow-node {
        min-width: 100px;
        padding: 0.75rem;
    }
    
    .workflow-node i {
        font-size: 1.5rem;
    }
    
    .workflow-node span {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .workflow-description h3 {
        font-size: 1.5rem;
    }
    
    .workflow-step {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .step-icon {
        align-self: center;
    }
    
    .workflow-canvas {
        padding: 1rem;
        gap: 1rem;
    }
    
    .workflow-node {
        min-width: 80px;
        padding: 0.5rem;
    }
    
    .workflow-node i {
        font-size: 1.3rem;
    }
    
    .workflow-node span {
        font-size: 0.65rem;
    }
}

.diseno-grafico .enhanced-icon {
    margin-bottom: 0.5rem !important;
}

@media (max-width: 768px) {
    .diseno-grafico .enhanced-icon {
        margin-bottom: 0.4rem !important;
    }
}

@media (max-width: 576px) {
    .diseno-grafico .enhanced-icon {
        margin-bottom: 0.3rem !important;
    }
}

.diseno-grafico .enhanced-icon {
    padding-bottom: 0.5rem !important;
}

@media (max-width: 768px) {
    .diseno-grafico .enhanced-icon {
        padding-bottom: 0.4rem !important;
    }
}

@media (max-width: 576px) {
    .diseno-grafico .enhanced-icon {
        padding-bottom: 0.3rem !important;
    }
}

/* Tarjetas de diseño gráfico estilo 'Nosotros' */
.diseno-grafico .enhanced-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(44,62,80,0.08);
    padding: 1rem 1rem 1.2rem 1rem;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.diseno-grafico .enhanced-icon {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
    margin-bottom: 0;
    margin-top: 0.2rem;
}

.diseno-grafico .card-title,
.diseno-grafico .card-description {
    text-align: center;
}

@media (max-width: 768px) {
    .diseno-grafico .enhanced-card {
        padding: 0.7rem 0.7rem 1rem 0.7rem;
        gap: 0.5rem;
    }
    .diseno-grafico .enhanced-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .diseno-grafico .enhanced-card {
        padding: 0.5rem 0.5rem 0.7rem 0.5rem;
        gap: 0.4rem;
    }
    .diseno-grafico .enhanced-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

/* Iconos modernos para el proceso de diseño */
.process-icon-modern {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
    margin: 0 auto 0.7rem auto;
    position: relative;
}

.process-icon-modern i {
    color: #fff;
    font-size: 1.5em;
    z-index: 2;
}

.process-step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fff;
    color: #007bff;
    border: 2px solid #007bff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 1px 4px rgba(44,62,80,0.10);
    z-index: 3;
}

@media (max-width: 768px) {
    .process-icon-modern {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
    .process-step-number {
        width: 16px;
        height: 16px;
        font-size: 0.85rem;
        top: -6px;
        right: -6px;
    }
}

@media (max-width: 576px) {
    .process-icon-modern {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    .process-step-number {
        width: 14px;
        height: 14px;
        font-size: 0.7rem;
        top: -4px;
        right: -4px;
    }
}

/* Lista elegante para programas de formación */
.elegant-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.elegant-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.4rem 0;
    color: #34495e;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}
.elegant-list li::before {
    content: '\f00c'; /* FontAwesome check */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    border-radius: 50%;
    min-width: 1.7em;
    min-height: 1.7em;
    width: 1.7em;
    height: 1.7em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 0.5rem;
    box-shadow: 0 1px 4px rgba(44,62,80,0.10);
    flex-shrink: 0;
    vertical-align: middle;
}
@media (max-width: 768px) {
    .elegant-list li {
        font-size: 0.95rem;
    }
}
@media (max-width: 576px) {
    .elegant-list li {
        font-size: 0.9rem;
    }
}

/* Chips elegantes para programas de formación */
.chip-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    justify-content: space-evenly;
    margin: 0.7rem 0 0 0;
    padding: 0;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}
.chip-feature {
    background: linear-gradient(90deg, #e3f0ff 0%, #f0f6ff 100%);
    color: #0056b3;
    border-radius: 20px;
    padding: 0.35em 1.1em;
    font-size: 0.98rem;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(44,62,80,0.07);
    border: 1px solid #b3d4fc;
    display: inline-block;
    white-space: nowrap;
    transition: background 0.2s;
    margin-bottom: 0.2em;
}
.chip-feature:hover {
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    border-color: #007bff;
}
@media (max-width: 768px) {
    .chip-feature {
        font-size: 0.93rem;
        padding: 0.3em 0.8em;
    }
    .chip-features {
        gap: 0.5rem 0.7rem;
    }
}
@media (max-width: 576px) {
    .chip-feature {
        font-size: 0.88rem;
        padding: 0.25em 0.7em;
    }
    .chip-features {
        gap: 0.4rem 0.5rem;
    }
}

.service-detail-card .chip-features {
    margin-top: auto;
    padding-bottom: 0.2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.chip-features {
    margin-top: auto !important;
}

@media (max-width: 576px) {
    .cta-section .btn {
        margin-bottom: 1rem;
        width: 100%;
    }
    .cta-section .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
  * {
    max-width: 100vw !important;
    box-sizing: border-box;
  }
  .service-detail-card, .enhanced-card, .tech-card, .workflow-node, .benefit-card, .project-type-card, .comparison-card, .platform-card, .chip-feature {
    min-width: 0 !important;
    max-width: 100vw !important;
    overflow-x: auto !important;
  }
  .google-partner-section .partner-info, .google-partner-section .benefit-item {
    min-width: 0 !important;
    max-width: 100vw !important;
  }
  /* Excluir el carrusel de tecnologías de las limitaciones de ancho */
  .technologies-carousel-section,
  .technologies-carousel,
  .carousel-track,
  .tech-item {
    max-width: none !important;
    overflow-x: visible !important;
  }
  body, html {
    overflow-x: hidden !important;
  }
}

@media (max-width: 768px) {
  .rotating-rectangle {
    width: 70vw !important;
    height: 70vw !important;
    max-width: 270px !important;
    max-height: 270px !important;
  }
  .rotating-rectangle::before {
    top: -2px !important;
    left: -2px !important;
    right: -2px !important;
    bottom: -2px !important;
  }
  .rotating-rectangle::after {
    top: 15px !important;
    left: 15px !important;
    right: 15px !important;
    bottom: 15px !important;
  }
}

@media (max-width: 480px) {
  .rotating-rectangle {
    width: 80vw !important;
    height: 80vw !important;
    max-width: 160px !important;
    max-height: 160px !important;
  }
  .rotating-rectangle::after {
    top: 7px !important;
    left: 7px !important;
    right: 7px !important;
    bottom: 7px !important;
  }
}

.technologies-carousel-section,
.technologies-carousel {
  overflow-x: clip !important;
}

@media (max-width: 768px) {
  .cta-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (max-width: 576px) {
  .cta-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
