/* ==========================================
   Servicio Detalle - Specific Pages
   ========================================== */

/* Hero Section */
.detail-hero {
    background: linear-gradient(135deg, #007bff 0%, #1f2bc5 100%);
    padding: 120px 20px 80px;
    color: #fff;
}

.arquitectura-theme .detail-hero {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.coaching-theme .detail-hero {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
}

.hero-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    display: inline-block;
    margin-bottom: 20px;
    opacity: 0.9;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-text h1 i {
    font-size: 3.2rem;
}

.hero-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: #fff;
    color: #007bff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.arquitectura-theme .hero-cta {
    color: #28a745;
}

.coaching-theme .hero-cta {
    color: #6f42c1;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Methodology Section */
.methodology {
    padding: 80px 20px;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.methodology h2,
.expertise h2,
.success-cases h2,
.technologies h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.step {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    opacity: 0.1;
    line-height: 1;
    margin-bottom: 10px;
}

.consultoria-theme .step-number {
    color: #007bff;
}

.arquitectura-theme .step-number {
    color: #28a745;
}

.coaching-theme .step-number {
    color: #6f42c1;
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.step h3 i {
    font-size: 1.5rem;
}

.consultoria-theme .step h3 i {
    color: #007bff;
}

.arquitectura-theme .step h3 i {
    color: #28a745;
}

.coaching-theme .step h3 i {
    color: #6f42c1;
}

.step p {
    color: #6c757d;
    line-height: 1.7;
}

/* Expertise Section */
.expertise {
    padding: 80px 20px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.expertise-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.expertise-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.expertise-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.consultoria-theme .expertise-card i {
    color: #007bff;
}

.arquitectura-theme .expertise-card i {
    color: #28a745;
}

.coaching-theme .expertise-card i {
    color: #6f42c1;
}

.expertise-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
}

.expertise-card ul {
    list-style: none;
    padding: 0;
}

.expertise-card ul li {
    padding: 8px 0;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expertise-card ul li::before {
    content: "→";
    font-weight: 700;
}

.consultoria-theme .expertise-card ul li::before {
    color: #007bff;
}

.arquitectura-theme .expertise-card ul li::before {
    color: #28a745;
}

.coaching-theme .expertise-card ul li::before {
    color: #6f42c1;
}

/* Success Cases */
.success-cases {
    padding: 80px 20px;
    background: #f8f9fa;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.case-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.case-card p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 20px;
}

.case-metrics {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.case-metrics span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.consultoria-theme .case-metrics span {
    background: #e7f3ff;
    color: #007bff;
}

.arquitectura-theme .case-metrics span {
    background: #d4edda;
    color: #28a745;
}

.coaching-theme .case-metrics span {
    background: #e7e3f7;
    color: #6f42c1;
}

/* Technologies */
.technologies {
    padding: 80px 20px;
}

.tech-categories {
    display: grid;
    gap: 30px;
}

.tech-category h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tags span {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.consultoria-theme .tech-tags span {
    background: #e7f3ff;
    color: #007bff;
}

.arquitectura-theme .tech-tags span {
    background: #d4edda;
    color: #28a745;
}

.coaching-theme .tech-tags span {
    background: #e7e3f7;
    color: #6f42c1;
}

.tech-tags span:hover {
    transform: translateY(-2px);
}

/* Contact CTA */
.contact-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #007bff 0%, #1f2bc5 100%);
    color: #fff;
}

.arquitectura-theme .contact-cta {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.coaching-theme .contact-cta {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

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

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

.btn-main,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-main {
    background: #fff;
    color: #007bff;
}

.arquitectura-theme .btn-main {
    color: #28a745;
}

.coaching-theme .btn-main {
    color: #6f42c1;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #007bff;
}

.arquitectura-theme .btn-outline:hover {
    color: #28a745;
}

.coaching-theme .btn-outline:hover {
    color: #6f42c1;
}

.cta-note {
    font-size: 0.95rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
        flex-direction: column;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .methodology h2,
    .expertise h2,
    .success-cases h2,
    .technologies h2 {
        font-size: 2rem;
    }

    .steps-grid,
    .expertise-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-actions {
        flex-direction: column;
    }

    .btn-main,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
}
