/* ================================================================
   MODERN SERVICES PAGE - CLEAN DESIGN
   ================================================================ */

/* Services Page Hero - uses global gradient from style.css */

/* Service cards grid layout (legacy support) */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-6);
    margin-top: var(--spacing-8);
}

/* Individual service card (legacy support) */
.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-6);
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    border-color: var(--brand-teal);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
    text-decoration: none;
    color: inherit;
}

.service-card:focus {
    outline: 3px solid var(--brand-orange);
    outline-offset: 2px;
}

/* Service card icon */
.service-card__icon {
    font-size: 2.5rem;
    color: var(--brand-teal);
    margin-bottom: var(--spacing-3);
    display: block;
    text-align: center;
}

.service-card__icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

/* SVG icon styling for service cards */
.service-card__icon .service-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: inline-block;
}

.service-card__title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-3);
}

.service-card__description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Hero Content Center */
.hero-content-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title-large {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle-large {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Modern Services Section */
.services-modern {
    padding: 6rem 0;
    background: #ffffff;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card-modern {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #10b981;
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #0f766e 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-icon-wrapper {
    transform: scale(1.05) rotate(3deg);
}

.service-icon-modern {
    width: 48px;
    height: 48px;
    filter: brightness(0) invert(1);
}

.service-title-modern {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.service-description-modern {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features-modern {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-features-modern li {
    padding: 0.75rem 0;
    color: #374151;
    font-size: 0.95rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
}

.service-features-modern li:before {
    content: "✓";
    color: #10b981;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

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

.btn-outline-modern {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.75rem;
    min-height: 44px;
    background: transparent;
    color: #10b981;
    border: 2px solid #10b981;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-outline-modern:hover {
    background: #10b981;
    color: white;
    transform: translateX(4px);
}

/* CTA Section */
.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    text-align: center;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.cta-contact {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-phone, .cta-email {
    font-size: 1rem;
    color: #374151;
    font-weight: 500;
}

.cta-phone a, .cta-email a {
    color: #10b981;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cta-phone a:hover, .cta-email a:hover {
    color: #0f766e;
    text-decoration: underline;
}

/* Responsive Design for Modern Services */
@media (max-width: 1024px) {
    .services-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title-large {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-large {
        font-size: 1.125rem;
    }
    
    .services-modern {
        padding: 3rem 0;
    }
    
    .services-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card-modern {
        padding: 2rem;
    }
    
    .service-title-modern {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.05rem;
    }
    
    .cta-contact {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Services Image Section */
.services-image-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.services-image-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-main-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: block;
}

@media (max-width: 768px) {
    .services-image-section {
        padding: 2rem 0;
    }
    
    .services-main-image {
        border-radius: 12px;
    }
}

/* Automation Promise Section */
.automation-promise {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
}

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

.promise-content {
    text-align: center;
    margin-bottom: 4rem;
}

.promise-heading {
    font-size: 2.75rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.promise-description {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.promise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.promise-column {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.promise-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-teal);
    margin-bottom: 1.25rem;
}

.promise-text {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.promise-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item-promise {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
}

.stat-number-promise {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-promise {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

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

.promise-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.promise-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.check-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.promise-list li span {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .automation-promise {
        padding: 3rem 0;
    }
    
    .promise-content {
        margin-bottom: 3rem;
    }
    
    .promise-heading {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .promise-description {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .promise-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .promise-column {
        padding: 2rem;
    }
    
    .promise-subtitle {
        font-size: 1.35rem;
    }
    
    .promise-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .promise-stats {
        gap: 1rem;
    }
    
    .stat-item-promise {
        padding: 1.25rem;
    }
    
    .stat-number-promise {
        font-size: 2rem;
    }
    
    .stat-label-promise {
        font-size: 0.85rem;
    }
    
    .promise-list li {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    
    .promise-list li span {
        font-size: 1rem;
    }
}
