/* ============================================
   SINGLE SERVICE PAGE - PREMIUM STYLE
   Modern, Professional, SEO-Optimized
   ============================================ */

/* ============================================
   SERVICE HERO SECTION
   ============================================ */
.service-hero-detail {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: calc(var(--header-height) + 2rem) 0 4rem;
    position: relative;
    overflow: hidden;
}

.service-hero-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-icon-large {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-icon-large img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.service-title-main {
    font-size: 2.5rem;
    /* Reduced from 3rem */
    font-weight: 900;
    color: white;
    margin: 0 0 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.service-description-hero {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 2.5rem;
    line-height: 1.7;
}

.service-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-cta-primary,
.service-cta-whatsapp {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.service-cta-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-cta-whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.service-cta-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

/* ============================================
   KEY FEATURES HIGHLIGHT
   ============================================ */
.service-features-highlight {
    padding: 4rem 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card-highlight {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-highlight:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem;
}

.feature-description {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   MAIN CONTENT AREA (2-Column Layout)
   ============================================ */
.service-content-area {
    padding: 4rem 0;
}

.service-layout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
}

/* Main Content */
.service-main-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.service-main-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1.5rem;
}

.service-main-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 2rem 0 1rem;
}

.service-main-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 1.5rem;
}

.service-main-content ul,
.service-main-content ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.service-main-content li {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 0.75rem;
}

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

/* Pricing Card */
.service-pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #667eea;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

.pricing-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 0.5rem;
    line-height: 1;
}

.pricing-period {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #475569;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
}

.pricing-cta {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 1.0625rem;
    font-weight: 700;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #64748b;
}

.trust-badge-item svg {
    width: 20px;
    height: 20px;
    color: #667eea;
    flex-shrink: 0;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.service-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.process-step:hover {
    border-color: #667eea;
    background: white;
}

.step-number {
    width: 50px;
    /* Reduced from 60px */
    height: 50px;
    /* Reduced from 60px */
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 1.25rem;
    /* Reduced from 1.5rem */
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

.step-description {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   RELATED SERVICES
   ============================================ */
.related-services-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.4s;
    text-decoration: none;
    display: block;
}

.related-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.related-service-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    background: #f1f5f9;
}

.related-service-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.related-service-card:hover .related-service-image img {
    transform: scale(1.1);
}

.related-service-content {
    padding: 1.5rem;
}

.related-service-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem;
}

.related-service-excerpt {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   SERVICE HIGHLIGHTS (DYNAMIC)
   ============================================ */
.feature-card-highlight {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    text-align: center;
}

.feature-card-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #667eea;
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: #667eea;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

/* ============================================
   SERVICE DETAILS CARDS
   ============================================ */
.service-details-cards {
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.service-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 0 0 4rem;
}

.service-info-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.service-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #667eea;
}

.service-info-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-info-icon svg {
    width: 24px;
    height: 24px;
}

.service-info-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.service-info-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

/* ============================================
   PRICING TABLE
   ============================================ */
.pricing-comparison-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pricing-plan-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-plan-card.featured {
    border-color: #667eea;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-price {
    font-size: 2.5rem;
    /* Reduced from 3rem */
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.plan-period {
    font-size: 1rem;
    color: #94a3b8;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex-grow: 1;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #475569;
}

.plan-features li svg {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
}

.plan-cta {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.plan-cta.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
}

.plan-cta.secondary {
    background: #f1f5f9;
    color: #0f172a;
}

.plan-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.service-faqs {
    max-width: 800px;
    margin: 3rem auto;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #0f172a;
    font-size: 1.125rem;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: #667eea;
    color: white;
}

.faq-answer {
    max-height: 0;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-image {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
    background: #f1f5f9;
}

.portfolio-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

.portfolio-desc {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.service-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
    border-top: 1px solid #cbd5e1;
}

.service-cta-section h2 {
    font-size: 2rem;
    /* Reduced from 2.5rem */
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.service-cta-section p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   MODERN TIMELINE PROCESS (HORIZONTAL)
   ============================================ */
.service-timeline {
    position: relative;
    padding: 4rem 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.timeline-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    /* Aligns with center of circle (50px + padding) */
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
    width: 100%;
}

.timeline-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.timeline-number {
    width: 50px;
    /* Reduced from 60px */
    height: 50px;
    /* Reduced from 60px */
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    /* Reduced from 1.5rem */
    font-weight: 800;
    color: #667eea;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
    position: relative;
    border: 1px solid #f1f5f9;
}

.timeline-check {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 2px solid white;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    width: 100%;
    transition: all 0.3s;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #667eea;
}

.timeline-item:hover .timeline-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
}

@media (max-width: 768px) {
    .service-hero-detail {
        padding-top: calc(var(--header-height-mobile) + 2rem);
    }

    .service-timeline {
        flex-direction: column;
        gap: 0;
        padding-left: 2rem;
    }

    .timeline-line {
        width: 2px;
        height: 100%;
        left: 24px;
        /* Center of 50px circle is 25px, minus 1px for line width */
        top: 0;
        right: auto;
    }

    .timeline-item {
        flex-direction: row;
        text-align: left;
        margin-bottom: 2rem;
        align-items: flex-start;
    }

    .timeline-number {
        margin-right: 1.5rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
}