/* AURELION Casos de Éxito - Custom CSS */
/* Estilos específicos para casos.html que complementan styles.css */

/* Casos Hero Section */
.casos-hero {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 50%, #2a2a2a 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.casos-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 100 100"><defs><pattern id="tech-grid" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23FF6B35" opacity="0.3"/><path d="M0 10h20M10 0v20" stroke="%23E91E63" stroke-width="0.5" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23tech-grid)"/></svg>');
    opacity: 0.1;
}

.casos-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.casos-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.casos-hero-content h1 .highlight {
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.casos-subheadline {
    font-size: 1.3rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.casos-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Featured Cases Section */
.featured-cases-section {
    padding: 8rem 0;
    background: var(--light-bg);
}

.featured-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.featured-case-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.featured-case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.case-header {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-magenta));
    padding: 2.5rem;
    position: relative;
}

.industry-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

.case-title {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

.case-content {
    padding: 2.5rem;
}

.case-problem, .case-solution, .case-results, .case-testimonial {
    margin-bottom: 2.5rem;
}

.case-problem h4, .case-solution h4, .case-results h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.case-problem p {
    color: var(--text-light);
    line-height: 1.6;
}

.case-solution ul {
    list-style: none;
    padding: 0;
}

.case-solution li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.case-solution li::before {
    content: '✓';
    color: var(--primary-orange);
    font-weight: bold;
    margin-right: 0.5rem;
}

.results-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.metric {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(233, 30, 99, 0.1));
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-magenta);
    display: block;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.case-testimonial {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}

.case-testimonial::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-orange);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
    opacity: 0.3;
}

.case-testimonial p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--text-light);
    font-size: 0.9rem;
}

.case-timeline {
    display: flex;
    justify-content: space-between;
    padding: 0 2.5rem 2.5rem;
    position: relative;
}

.case-timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 2.5rem;
    right: 2.5rem;
    height: 2px;
    background: linear-gradient(to right, var(--primary-orange), var(--primary-magenta));
}

.timeline-item {
    position: relative;
    text-align: center;
    flex: 1;
}

.timeline-dot {
    width: 15px;
    height: 15px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: block;
    margin: 0 auto 10px;
    position: relative;
    z-index: 2;
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-magenta);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
}

.timeline-content p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Industry Transformations Section */
.industry-section {
    padding: 8rem 0;
    background: var(--dark-bg);
    color: var(--white);
}

.industry-section .section-title {
    color: var(--white);
}

.industry-section .section-subtitle {
    color: #b0b0b0;
}

.industry-tabs {
    margin-top: 4rem;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-magenta));
    color: var(--white);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

.industry-overview {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
}

.industry-icon {
    font-size: 3rem;
    margin-right: 2rem;
}

.industry-details h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.industry-details p {
    color: #b0b0b0;
    line-height: 1.6;
}

.industry-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.industry-metric {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.industry-metric .metric-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-orange);
    display: block;
    margin-bottom: 0.5rem;
}

.industry-metric .metric-desc {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.industry-solutions {
    margin-bottom: 3rem;
}

.industry-solutions h4 {
    color: var(--primary-orange);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.industry-solutions li {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    color: #b0b0b0;
    display: flex;
    align-items: center;
}

.industry-solutions li::before {
    content: '✓';
    color: var(--primary-orange);
    font-weight: bold;
    margin-right: 0.5rem;
}

.industry-clients h4 {
    color: var(--primary-orange);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.client-logo {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s ease;
}

.client-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* ROI Calculator Section */
.roi-calculator-section {
    padding: 8rem 0;
    background: var(--light-bg);
}

.calculator-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.calculator-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.calculator-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.calculator-input:focus {
    border-color: var(--primary-orange);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.calculator-button {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-magenta));
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.calculator-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

.calculator-results {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.calculator-results h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.results-container {
    margin-bottom: 2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.result-item.highlight {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(233, 30, 99, 0.1));
    border-radius: 10px;
    margin-top: 1rem;
    border: none;
}

.result-label {
    font-weight: 600;
    color: var(--text-dark);
}

.result-value {
    font-weight: 700;
    color: var(--primary-magenta);
    font-size: 1.2rem;
}

.results-disclaimer {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.consult-button {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.consult-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Methodology Section */
.methodology-section {
    padding: 8rem 0;
    background: var(--white);
}

.methodology-process {
    margin-top: 4rem;
    position: relative;
}

.methodology-process::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-orange), var(--primary-magenta));
}

.process-step {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.step-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-magenta));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    margin-right: 2rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 15px;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.step-details li {
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.step-details li::before {
    content: '✓';
    color: var(--primary-orange);
    font-weight: bold;
    margin-right: 0.5rem;
}

.methodology-guarantee {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(233, 30, 99, 0.1));
    padding: 3rem;
    border-radius: 20px;
    margin-top: 4rem;
}

.guarantee-icon {
    font-size: 3rem;
    margin-right: 2rem;
}

.guarantee-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.guarantee-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.casos-cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2a2a2a 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.cta-stat {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.cta-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-orange);
    display: block;
    margin-bottom: 0.5rem;
}

.cta-stat .stat-label {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.cta-primary {
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-magenta));
    color: var(--white);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.3);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.4);
}

.cta-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-orange);
}

.cta-secondary:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.cta-guarantee {
    color: #4CAF50;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .casos-hero-content h1 {
        font-size: 2.5rem;
    }

    .casos-subheadline {
        font-size: 1.1rem;
    }

    .casos-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .calculator-container {
        grid-template-columns: 1fr;
    }

    .industry-overview {
        flex-direction: column;
        text-align: center;
    }

    .industry-icon {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .process-step {
        flex-direction: column;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 1.5rem;
        margin-left: auto;
        margin-right: auto;
    }

    .methodology-process::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .methodology-guarantee {
        flex-direction: column;
        text-align: center;
    }

    .guarantee-icon {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .case-timeline {
        flex-direction: column;
        gap: 2rem;
    }

    .case-timeline::before {
        top: 0;
        bottom: 0;
        left: 15px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .timeline-item {
        text-align: left;
        padding-left: 30px;
    }

    .timeline-dot {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .casos-hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .case-header {
        padding: 1.5rem;
    }

    .case-title {
        font-size: 1.5rem;
    }

    .case-content {
        padding: 1.5rem;
    }

    .results-metrics {
        grid-template-columns: 1fr;
    }

    .tabs-nav {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

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

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .whatsapp-float,
    .header,
    .cta-buttons,
    .calculator-form,
    .tabs-nav {
        display: none !important;
    }

    .casos-hero {
        min-height: auto;
        padding: 2rem 0;
    }

    * {
        background: white !important;
        color: black !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .featured-case-card,
    .calculator-form,
    .calculator-results,
    .step-content {
        border: 2px solid var(--text-dark);
    }

    .calculator-button,
    .consult-button,
    .cta-primary,
    .cta-secondary {
        border: 2px solid var(--white);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}