/* ===== ISO CONSULTING - ESTILOS ESPECÍFICOS ===== */

/* ===== SERVICE HERO SECTION ===== */
.service-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.service-hero::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 1000 1000"><defs><radialGradient id="grad1" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0);stop-opacity:1" /></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23grad1)" /><circle cx="800" cy="300" r="150" fill="url(%23grad1)" /><circle cx="400" cy="700" r="120" fill="url(%23grad1)" /></svg>');
    animation: float 6s ease-in-out infinite;
}

.service-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white), var(--primary-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 4s infinite;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-yellow);
    font-family: var(--font-heading);
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== ISO VISUAL ELEMENTS ===== */
.iso-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.iso-visual > i {
    font-size: 8rem;
    color: var(--primary-yellow);
    opacity: 0.8;
    animation: pulse 3s infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-elements .element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.floating-elements .element:hover {
    transform: scale(1.2);
    background: rgba(194, 194, 60, 0.2);
}

.floating-elements .element::before {
    content: '';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--white);
}

/* ISO Specific Icons */
.floating-elements .element[data-icon="fas fa-clipboard-check"]::before { content: '\f46c'; }
.floating-elements .element[data-icon="fas fa-cogs"]::before { content: '\f085'; }
.floating-elements .element[data-icon="fas fa-users"]::before { content: '\f0c0'; }
.floating-elements .element[data-icon="fas fa-chart-line"]::before { content: '\f201'; }
.floating-elements .element[data-icon="fas fa-shield-alt"]::before { content: '\f3ed'; }
.floating-elements .element[data-icon="fas fa-sync-alt"]::before { content: '\f2f1'; }

.floating-elements .element:nth-child(1) {
    top: 10%;
    left: 15%;
    animation: float 4s ease-in-out infinite;
}

.floating-elements .element:nth-child(2) {
    top: 15%;
    right: 10%;
    animation: float 4s ease-in-out infinite 1s;
}

.floating-elements .element:nth-child(3) {
    bottom: 35%;
    left: 5%;
    animation: float 4s ease-in-out infinite 2s;
}

.floating-elements .element:nth-child(4) {
    bottom: 10%;
    right: 20%;
    animation: float 4s ease-in-out infinite 3s;
}

.floating-elements .element:nth-child(5) {
    top: 45%;
    left: 45%;
    animation: float 4s ease-in-out infinite 0.5s;
}

.floating-elements .element:nth-child(6) {
    top: 65%;
    right: 45%;
    animation: float 4s ease-in-out infinite 1.5s;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.services h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: var(--primary-blue);
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-yellow));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::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;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(360deg);
    animation: pulse 2s infinite;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.service-card p {
    font-family: var(--font-body);
    color: var(--neutral-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--neutral-gray);
    font-size: 0.9rem;
}

.service-features li i {
    color: var(--primary-blue);
    font-size: 0.8rem;
}

/* ===== ISO BENEFITS SECTION ===== */
.iso-benefits {
    padding: 80px 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.benefit-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,255,0.3);
}

.benefit-item h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.benefit-item p {
    color: var(--neutral-gray);
    line-height: 1.6;
}

/* ===== IMPLEMENTATION PROCESS SECTION ===== */
.implementation-process {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.process-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.process-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    align-items: start;
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.process-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.process-item:hover .process-number {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,255,0.3);
}

.process-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.process-content p {
    color: var(--neutral-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.process-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.process-features li {
    color: var(--neutral-gray);
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

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

/* ===== ISO STANDARDS SECTION ===== */
.iso-standards {
    padding: 80px 0;
    background: var(--white);
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.standard-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    position: relative;
}

.standard-item.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,255,0.3);
}

.standard-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.standard-item.active:hover {
    transform: translateY(-10px) scale(1.05);
}

.standard-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.standard-item.active .standard-icon {
    background: linear-gradient(135deg, var(--primary-yellow), #e6e600);
    color: var(--black);
}

.standard-item:hover .standard-icon {
    transform: scale(1.1);
}

.standard-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.standard-item.active h3 {
    color: var(--white);
}

.standard-item p {
    color: var(--neutral-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.standard-item.active p {
    color: rgba(255, 255, 255, 0.9);
}

.specialty {
    background: linear-gradient(135deg, var(--primary-yellow), #e6e600);
    color: var(--black);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* ===== SUCCESS STORIES SECTION ===== */
.success-stories {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.story-item {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.story-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.story-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.story-item:hover .story-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(76,175,80,0.3);
}

.story-item h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.story-item p {
    color: var(--neutral-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.story-metrics {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #4CAF50;
    font-family: var(--font-heading);
}

.metric-label {
    font-size: 0.9rem;
    color: var(--neutral-gray);
}

/* ===== ASSESSMENT CTA SECTION ===== */
.assessment-cta {
    padding: 80px 0;
    background: var(--white);
}

.assessment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.assessment-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.assessment-text p {
    color: var(--neutral-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.assessment-features {
    list-style: none;
    margin-bottom: 30px;
}

.assessment-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--neutral-gray);
    font-size: 1rem;
}

.assessment-features li i {
    color: var(--primary-blue);
    font-size: 1rem;
}

.assessment-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.assessment-icon {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    transition: all 0.3s ease;
    animation: pulse 3s infinite;
}

.assessment-icon:hover {
    transform: scale(1.05);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    animation: float 10s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-info-inline {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    opacity: 0.8;
}

.contact-info-inline span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

/* ===== ANIMACIONES DE ENTRADA ===== */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number[data-count] {
    animation: countUp 0.8s ease-out;
}

.metric-number[data-count] {
    animation: countUp 0.8s ease-out;
}

/* ===== ESTADOS DE CARGA ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ESPECÍFICO PARA ISO CONSULTING ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .standards-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .service-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .assessment-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .process-timeline {
        max-width: 100%;
    }

    .process-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .process-features {
        grid-template-columns: 1fr;
    }

    .stories-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .standards-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-inline {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .assessment-text h2 {
        font-size: 2rem;
    }

    .story-metrics {
        flex-direction: column;
        gap: 15px;
    }

    .process-item {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 40px 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .iso-benefits,
    .implementation-process,
    .iso-standards,
    .success-stories,
    .assessment-cta,
    .cta-section {
        padding: 60px 0;
    }
    
    .benefit-item,
    .story-item,
    .process-item {
        padding: 25px;
    }
    
    .iso-visual {
        height: 300px;
    }
    
    .iso-visual > i {
        font-size: 5rem;
    }
    
    .floating-elements .element {
        width: 45px;
        height: 45px;
    }
    
    .floating-elements .element::before {
        font-size: 1.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .hero-stats .stat-number {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .assessment-text h2 {
        font-size: 1.8rem;
    }

    .assessment-icon {
        width: 150px;
        height: 150px;
        font-size: 3.5rem;
    }

    .benefit-icon,
    .story-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .process-number {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }

    .standard-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .standards-grid {
        grid-template-columns: 1fr;
    }

    .process-content h3 {
        font-size: 1.4rem;
    }

    .service-card {
        padding: 25px;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .benefit-item {
        padding: 25px;
    }

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

    .standard-item {
        padding: 20px;
    }

    .standard-item h3 {
        font-size: 1.1rem;
    }

    .story-item {
        padding: 25px;
    }

    .story-item h3 {
        font-size: 1.2rem;
    }
}

/* ===== ANIMACIONES Y EFECTOS ADICIONALES ===== */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::after {
    opacity: 1;
}

/* ===== EFECTOS DE HOVER AVANZADOS ===== */
.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.benefit-item:hover::before {
    opacity: 0.03;
}

.story-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.story-item:hover::before {
    opacity: 0.03;
}

/* ===== EFECTOS DE TRANSICIÓN SUAVES ===== */
.standard-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.standard-item:hover::before {
    opacity: 0.05;
}

.standard-item.active::before {
    opacity: 0;
}

/* ===== MEJORAS EN LA ACCESIBILIDAD ===== */
.service-card:focus,
.benefit-item:focus,
.story-item:focus,
.standard-item:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

.cta-button:focus {
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

/* ===== EFECTOS DE LOADING ===== */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ===== EFECTOS DE PARALLAX SUTIL ===== */
.service-hero .hero-image {
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

.service-hero:hover .hero-image {
    transform: translateY(-5px);
}

/* ===== MEJORAS EN LOS ICONOS FLOTANTES ===== */
.floating-elements .element {
    cursor: pointer;
    user-select: none;
}

.floating-elements .element:active {
    transform: scale(0.95);
}

/* ===== EFECTOS DE TEXTO ANIMADO ===== */
.hero-text h1 {
    position: relative;
    overflow: hidden;
}

.hero-text h1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: textShimmer 3s infinite;
}

@keyframes textShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ===== MEJORAS EN LOS BOTONES ===== */
.service-btn {
    position: relative;
    overflow: hidden;
}

.service-btn::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;
}

.service-btn:hover::before {
    left: 100%;
}

/* ===== EFECTOS DE SOMBRAS DINÁMICAS ===== */
.process-item {
    position: relative;
}

.process-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 15px;
    z-index: -1;
}

.process-item:hover::after {
    opacity: 0.02;
    transform: translateY(5px);
}

/* ===== ANIMACIONES DE ENTRADA ESCALONADAS ===== */
.service-cards .service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-cards .service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-cards .service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-cards .service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-cards .service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.service-cards .service-card:nth-child(6) {
    animation-delay: 0.6s;
}

.benefits-grid .benefit-item:nth-child(1) {
    animation-delay: 0.1s;
}

.benefits-grid .benefit-item:nth-child(2) {
    animation-delay: 0.2s;
}

.benefits-grid .benefit-item:nth-child(3) {
    animation-delay: 0.3s;
}

.benefits-grid .benefit-item:nth-child(4) {
    animation-delay: 0.4s;
}

.benefits-grid .benefit-item:nth-child(5) {
    animation-delay: 0.5s;
}

.benefits-grid .benefit-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* ===== EFECTOS DE DESPLAZAMIENTO SUAVE ===== */
html {
    scroll-behavior: smooth;
}

/* ===== MEJORAS EN LA NAVEGACIÓN ===== */
.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

/* ===== EFECTOS DE GRADIENTE ANIMADO ===== */
.assessment-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ===== EFECTOS DE ROTACIÓN SUTIL ===== */
.benefit-icon,
.story-icon,
.standard-icon {
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon,
.story-item:hover .story-icon,
.standard-item:hover .standard-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ===== MEJORAS EN LOS ELEMENTOS FLOTANTES ===== */
.floating-elements .element {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.floating-elements .element:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ===== EFECTOS DE PULSACIÓN MEJORADOS ===== */
@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.9;
    }
}

.iso-visual > i {
    animation: gentlePulse 4s ease-in-out infinite;
}

/* ===== TRANSICIONES MEJORADAS PARA MÓVILES ===== */
@media (max-width: 768px) {
    .service-card,
    .benefit-item,
    .story-item,
    .standard-item,
    .process-item {
        transition: all 0.2s ease;
    }
    
    .service-card:hover,
    .benefit-item:hover,
    .story-item:hover,
    .standard-item:hover,
    .process-item:hover {
        transform: translateY(-5px);
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-buttons {
        gap: 15px;
    }
    
    .assessment-content {
        gap: 40px;
    }
    
    .story-metrics {
        gap: 20px;
    }
}

/* ===== OPTIMIZACIONES FINALES ===== */
@media (max-width: 480px) {
    .floating-elements .element {
        width: 40px;
        height: 40px;
    }
    
    .floating-elements .element::before {
        font-size: 1rem;
    }
    
    .hero-stats .stat-number {
        font-size: 1.3rem;
    }
    
    .metric-number {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .assessment-text h2 {
        font-size: 1.6rem;
    }
    
    .process-content h3 {
        font-size: 1.2rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .benefit-item h3 {
        font-size: 1.1rem;
    }
    
    .story-item h3 {
        font-size: 1.1rem;
    }
    
    .standard-item h3 {
        font-size: 1rem;
    }
}