/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(126, 217, 87, 0.1) 0%, transparent 70%);
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.9);
}

/* Services Detail Section */
.services-detail {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-detail-card {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    margin-bottom: 50px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.service-detail-card.reverse .service-detail-content {
    flex-direction: row-reverse;
}

.service-detail-content {
    padding: 50px;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-detail-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.service-detail-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.service-detail-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2.5rem;
}

.service-detail-card .btn {
    margin-top: 20px;
}

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

.feature-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(126, 217, 87, 0.15);
}

.feature-box h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.feature-box p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

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

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

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.benefit-card .benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.benefit-card p {
    margin: 0;
    color: #666;
}

/* Portfolio Page */
.portfolio-filter-section {
    background: #f8f9fa;
    padding: 40px 0;
    text-align: center;
}

.portfolio-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.portfolio-showcase {
    padding: 0 0 80px 0;
    background: #fff;
}

.portfolio-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
    padding: 80px 0;
}

.portfolio-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
    display: flex;
    flex-direction: column;
}

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

.portfolio-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: linear-gradient(135deg, #7ed957 0%, #4a9c2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
}

/* Portfolio Image Large - Top Section */
.portfolio-image-large {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Different gradient colors for each category */
.portfolio-card[data-category="web"] .portfolio-image-large {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.portfolio-card[data-category="mobile"] .portfolio-image-large {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.portfolio-card[data-category="design"] .portfolio-image-large {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.portfolio-card[data-category="marketing"] .portfolio-image-large {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Pattern overlay */
.portfolio-image-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 25px, rgba(255,255,255,0.05) 25px, rgba(255,255,255,0.05) 50px),
        repeating-linear-gradient(-45deg, transparent, transparent 25px, rgba(255,255,255,0.08) 25px, rgba(255,255,255,0.08) 50px);
    pointer-events: none;
}

/* Icon styling */
.portfolio-icon-bg {
    position: relative;
    width: 80px;
    height: 80px;
    z-index: 1;
    transition: all 0.5s ease;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.portfolio-icon-bg svg {
    width: 45px;
    height: 45px;
    color: white;
    stroke-width: 2;
}

.portfolio-card:hover .portfolio-icon-bg {
    transform: scale(1.15) rotate(10deg);
    background: rgba(255,255,255,0.3);
}

/* Specific icon colors per category if needed, but white looks clean on colorful backgrounds */
.portfolio-card[data-category="web"] .portfolio-icon-bg svg { color: white; }
.portfolio-card[data-category="mobile"] .portfolio-icon-bg svg { color: white; }
.portfolio-card[data-category="design"] .portfolio-icon-bg svg { color: white; }
.portfolio-card[data-category="marketing"] .portfolio-icon-bg svg { color: white; }

.portfolio-overlay {
    position: relative;
    background: white;
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover .portfolio-overlay {
    padding: 25px;
}

.portfolio-overlay h3 {
    color: #1a1a1a;
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.portfolio-overlay p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.portfolio-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.portfolio-stats span {
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 600;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: rgba(126, 217, 87, 0.1);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(126, 217, 87, 0.3);
}

/* About Page */
.company-story {
    padding: 80px 0;
    background: #f8f9fa;
}

.story-content {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.story-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.story-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #666;
}

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

.story-stat {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.story-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.story-stat .stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    display: block;
}

.story-stat .stat-label {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* Mission Vision Section */
.mission-vision {
    padding: 80px 0;
    background: white;
}

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

.mv-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.mv-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.mv-card p {
    color: #666;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    padding: 60px 0;
}

.team-member {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.member-avatar {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #7ed957 0%, #4a9c2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    font-weight: 700;
}

.team-member h3 {
    font-size: 1.5rem;
    margin: 20px 0 8px;
    padding: 0 20px;
    color: #1a1a1a;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95rem;
    padding: 0 20px;
}

.member-bio {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 20px;
    margin-bottom: 20px;
}

.member-social {
    padding: 0 20px 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.member-social a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.member-social a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover::before {
    transform: scaleY(1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    opacity: 0.3;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.benefit-card p {
    color: #666;
    line-height: 1.7;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.team-bio {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.team-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.team-social svg {
    width: 18px;
    height: 18px;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-form-wrapper > p {
    color: #666;
    margin-bottom: 30px;
}

.contact-form-page {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.contact-info-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info-wrapper > p {
    color: #666;
    margin-bottom: 30px;
}

.contact-info-list {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #e0e0e0;
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.contact-details p {
    color: #666;
    margin: 3px 0;
    font-size: 0.95rem;
}

.social-connect {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

.social-connect h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #fff;
    border-radius: 8px;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.social-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(5px);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.map-section {
    height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7ed957 0%, #4a9c2d 100%);
    position: relative;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-info {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
}

.map-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.map-info p {
    color: #666;
    margin-bottom: 20px;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: -450px;
    max-width: 420px;
    background: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.notification.show {
    right: 30px;
}

.notification-success {
    border-left: 4px solid var(--primary-color);
}

.notification-error {
    border-left: 4px solid #dc3545;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    position: relative;
}

.notification-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    flex-shrink: 0;
}

.notification-success .notification-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.notification-error .notification-icon {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.notification p {
    margin: 0;
    color: #333;
    line-height: 1.6;
    flex: 1;
    font-size: 0.95rem;
}

.notification-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: #f0f0f0;
    color: #333;
}

/* Responsive for Additional Pages */
@media (max-width: 1024px) {
    .page-header h1 {
        font-size: 3rem;
    }

    .contact-wrapper {
        gap: 2rem;
    }

    .service-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }

    .page-header p {
        font-size: 1.05rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-wrapper {
        order: 2;
    }

    .contact-info-wrapper {
        order: 1;
    }

    .portfolio-grid-large {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .service-detail-card {
        padding: 30px;
    }

    .service-detail-content {
        padding: 30px;
    }

    .service-detail-card h2 {
        font-size: 2rem;
    }

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

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

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

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

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

    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-meta {
        flex-wrap: wrap;
    }

    .portfolio-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .story-stats {
        grid-template-columns: 1fr;
    }

    .social-links-large {
        flex-direction: column;
        gap: 1rem;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 80px 0 50px;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    .story-stats {
        grid-template-columns: 1fr;
    }

    .portfolio-grid-large {
        gap: 20px;
        padding: 40px 0;
    }

    .contact-form-page {
        padding: 25px;
    }

    .contact-info-item {
        padding: 1.25rem;
    }

    .service-detail-card h2 {
        font-size: 1.625rem;
    }

    .service-detail-icon {
        width: 60px;
        height: 60px;
    }

    .service-detail-icon svg {
        width: 30px;
        height: 30px;
    }

    .feature-box {
        padding: 20px;
    }

    .benefit-card {
        padding: 25px;
    }

    .blog-card {
        padding: 1.25rem;
    }

    .portfolio-filters {
        justify-content: flex-start;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

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

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
}

.cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(126, 217, 87, 0.2);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

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

.blog-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: white;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.page-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

/* Blog Post Page */
.blog-post-page {
    padding: 120px 0 80px;
    background: white;
}

.blog-post-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.back-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
}

.blog-post-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1rem 0 2rem;
    line-height: 1.3;
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.author-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.post-details {
    display: flex;
    gap: 2rem;
    color: #666;
    font-size: 0.95rem;
}

.blog-post-featured-image {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-post-content .lead {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.blog-post-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 3rem 0 1.5rem;
}

.blog-post-content h2:first-of-type {
    margin-top: 2rem;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.blog-post-content a:hover {
    text-decoration: underline;
}

.blog-post-tags {
    max-width: 800px;
    margin: 4rem auto 2rem;
    padding-top: 3rem;
    border-top: 2px solid #e0e0e0;
}

.blog-post-tags h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    margin: 0.3rem;
    background: #f8f9fa;
    color: var(--text-dark);
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
}

.blog-post-share {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.blog-post-share h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.share-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-3px);
}

.blog-post-nav {
    max-width: 800px;
    margin: 3rem auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-prev,
.nav-next {
    flex: 1;
    padding: 1.5rem 2rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-prev:hover,
.nav-next:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.related-posts {
    padding: 80px 0;
    background: white;
}

.related-posts .blog-card {
    background: #f8f9fa;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-post-header h1 {
        font-size: 2rem;
    }

    .blog-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .post-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    .blog-post-nav {
        flex-direction: column;
    }

    .pagination {
        gap: 0.5rem;
    }

    .page-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .blog-post-content {
        padding: 2rem 1.5rem;
    }

    .blog-post-content h2 {
        font-size: 1.625rem;
    }

    .blog-post-content .lead {
        font-size: 1.1rem;
        padding-left: 1rem;
    }

    .share-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-post-header h1 {
        font-size: 1.625rem;
        line-height: 1.3;
    }

    .blog-post-content {
        padding: 1.5rem 1rem;
    }

    .blog-post-content h2 {
        font-size: 1.375rem;
        margin: 2rem 0 1rem;
    }

    .blog-post-content .lead {
        font-size: 1rem;
    }

    .share-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .nav-prev,
    .nav-next {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }

    .tag {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}

/* Services Page Refresh */
.services-page {
    background: #f7faf6;
}

.services-hero {
    position: relative;
    overflow: hidden;
    padding: 10rem 0 6rem;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d4a2d 100%);
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(126, 217, 87, 0.03) 35px, rgba(126, 217, 87, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(74, 156, 45, 0.03) 35px, rgba(74, 156, 45, 0.03) 70px);
    animation: servicesPatternSlide 20s linear infinite;
    pointer-events: none;
}

@keyframes servicesPatternSlide {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(70px, 70px);
    }
}

.services-hero .container {
    position: relative;
    z-index: 1;
}

.services-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 1rem;
    border: 1px solid rgba(126, 217, 87, 0.35);
    border-radius: 999px;
    background: rgba(126, 217, 87, 0.12);
    color: #d9f5cf;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.services-hero h1 {
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.services-hero-copy {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.3rem;
    line-height: 1.6;
}

.services-positioning {
    padding: 76px 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(126, 217, 87, 0.12) 0%, transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7faf6 100%);
}

.services-positioning-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 3.2rem;
    align-items: center;
}

.services-section-kicker {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.services-positioning-copy h2,
.services-ai-copy h2 {
    font-size: 2.45rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #162018;
    letter-spacing: -0.03em;
}

.services-positioning-copy p,
.services-ai-copy p {
    color: #566357;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
}

.services-delivery-card {
    position: relative;
    overflow: hidden;
    padding: 1.15rem;
    border: 1px solid #dce9d6;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(126, 217, 87, 0.18) 0%, transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f3faef 100%);
    box-shadow: 0 22px 55px rgba(20, 32, 23, 0.1);
}

.services-delivery-card::before {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(126, 217, 87, 0.16);
    border-radius: 20px;
    pointer-events: none;
}

.services-delivery-top,
.services-delivery-steps {
    position: relative;
    z-index: 1;
}

.services-delivery-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem 1.1rem;
    border-bottom: 1px solid #dce9d6;
}

.services-delivery-top span {
    color: var(--secondary-color);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.services-delivery-top strong {
    color: #162018;
    font-size: 1.05rem;
}

.services-delivery-steps {
    display: grid;
    gap: 0.95rem;
    padding: 1.05rem 0.2rem 0.2rem;
}

.services-delivery-steps div {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 0.2rem 0.95rem;
    padding: 1rem;
    border: 1px solid rgba(220, 233, 214, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
}

.services-delivery-steps span {
    grid-row: span 2;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(74, 156, 45, 0.2);
}

.services-delivery-steps strong {
    color: #17241a;
    font-size: 1rem;
}

.services-delivery-steps p {
    grid-column: 2;
    margin: 0;
    color: #5d6a5f;
    font-size: 0.94rem;
    line-height: 1.6;
}

.services-ai-list {
    display: grid;
    gap: 1rem;
}

.services-ai-list div {
    padding: 1.3rem;
    border: 1px solid #dce9d6;
    border-radius: 14px;
    background: #f7faf6;
}

.services-ai-list strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #17241a;
    font-size: 1rem;
}

.services-ai-list span {
    color: #5d6a5f;
    line-height: 1.6;
}

.services-showcase {
    padding: 84px 0;
    background:
        linear-gradient(180deg, #f7faf6 0%, #ffffff 55%, #f7faf6 100%);
}

.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    padding: 2rem;
    border: 1px solid #dce9d6;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(20, 32, 23, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-panel:hover {
    transform: translateY(-6px);
    border-color: rgba(126, 217, 87, 0.75);
    box-shadow: 0 18px 42px rgba(20, 32, 23, 0.12);
}

.service-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.service-panel-number {
    color: rgba(74, 156, 45, 0.3);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}

.service-panel-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 12px 28px rgba(74, 156, 45, 0.22);
}

.service-panel-icon svg {
    width: 31px;
    height: 31px;
}

.service-panel h3 {
    margin-bottom: 0.9rem;
    color: #142017;
    font-size: 1.45rem;
}

.service-panel p {
    color: #566357;
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.service-panel ul {
    list-style: none;
    display: grid;
    gap: 0.7rem;
    margin: 0 0 1.4rem;
    padding: 0;
}

.service-panel li {
    position: relative;
    padding-left: 1.4rem;
    color: #344238;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-panel li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.service-panel-link {
    margin-top: auto;
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
}

.service-panel-link:hover {
    color: var(--primary-color);
}

.services-empty {
    padding: 2rem;
    border: 1px dashed #cfe3c8;
    border-radius: 18px;
    background: #fff;
    color: #566357;
    text-align: center;
}

.services-why {
    background: #f0f6ed;
}

.services-ai-section {
    padding: 84px 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(126, 217, 87, 0.14) 0%, transparent 30%),
        #ffffff;
}

.services-ai-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 3rem;
    align-items: center;
    padding: 2.25rem;
    border: 1px solid #dce9d6;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 50px rgba(20, 32, 23, 0.08);
}

.services-ai-copy p {
    margin-bottom: 0;
}

.services-ai-list div {
    background: #f7faf6;
    box-shadow: inset 4px 0 0 rgba(126, 217, 87, 0.55);
}

.benefits-grid-six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefits-grid-six .benefit-card {
    min-height: 245px;
    border: 1px solid #dce9d6;
}

.services-why .benefit-card p {
    color: #566357;
}

@media (max-width: 1024px) {
    .services-hero h1 {
        font-size: 3rem;
    }

    .services-grid-detailed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefits-grid-six {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 100px 0 60px;
    }

    .services-hero h1 {
        font-size: 2.25rem;
    }

    .services-hero-copy {
        font-size: 1.05rem;
    }

    .services-positioning,
    .services-showcase,
    .services-ai-section {
        padding: 62px 0;
    }

    .services-positioning-grid,
    .services-ai-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-ai-grid {
        padding: 1.5rem;
    }

    .services-positioning-copy h2,
    .services-ai-copy h2 {
        font-size: 1.9rem;
    }

    .services-grid-detailed,
    .benefits-grid-six {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 80px 0 50px;
    }

    .services-hero h1 {
        font-size: 1.75rem;
    }

    .services-hero-copy {
        font-size: 0.95rem;
    }

    .service-panel {
        padding: 1.5rem;
    }

    .services-delivery-top,
    .services-delivery-steps div {
        grid-template-columns: 1fr;
    }

    .services-delivery-top {
        display: grid;
    }

    .services-delivery-steps span,
    .services-delivery-steps p {
        grid-column: 1;
    }

    .services-delivery-steps span {
        grid-row: auto;
    }
}

/* About Page Refresh */
.about-page {
    background: #f7faf6;
}

.about-hero {
    position: relative;
    overflow: hidden;
    padding: 10rem 0 6rem;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d4a2d 100%);
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(126, 217, 87, 0.03) 35px, rgba(126, 217, 87, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(74, 156, 45, 0.03) 35px, rgba(74, 156, 45, 0.03) 70px);
    animation: aboutPatternSlide 20s linear infinite;
    pointer-events: none;
}

@keyframes aboutPatternSlide {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(70px, 70px);
    }
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    line-height: 1.65;
}

.about-intro,
.about-capabilities,
.about-team {
    padding: 84px 0;
}

.about-intro {
    background:
        radial-gradient(circle at 12% 12%, rgba(126, 217, 87, 0.12) 0%, transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7faf6 100%);
}

.about-intro-grid,
.about-values-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 3.2rem;
    align-items: center;
}

.about-kicker {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-intro-copy h2,
.about-values-copy h2 {
    margin-bottom: 1rem;
    color: #162018;
    font-size: 2.45rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.about-intro-copy p,
.about-values-copy p {
    color: #566357;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.35rem;
}

.about-intro-copy .btn {
    margin-top: 0.45rem;
}

.about-signal-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border: 1px solid #dce9d6;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(126, 217, 87, 0.2) 0%, transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f3faef 100%);
    box-shadow: 0 22px 55px rgba(20, 32, 23, 0.1);
}

.about-signal-orbit {
    position: absolute;
    right: -74px;
    top: -74px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(74, 156, 45, 0.28);
    border-radius: 50%;
}

.about-signal-orbit::before,
.about-signal-orbit::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.about-signal-orbit::before {
    inset: 38px;
    border: 1px solid rgba(126, 217, 87, 0.24);
}

.about-signal-orbit::after {
    width: 14px;
    height: 14px;
    left: 34px;
    top: 58px;
    background: var(--primary-color);
    box-shadow: 0 0 0 10px rgba(126, 217, 87, 0.15);
}

.about-signal-content,
.about-signal-list {
    position: relative;
    z-index: 1;
}

.about-signal-content span {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-signal-content h3 {
    max-width: 420px;
    margin-bottom: 0.8rem;
    color: #162018;
    font-size: 1.85rem;
    line-height: 1.25;
}

.about-signal-content p {
    max-width: 500px;
    color: #5d6a5f;
    line-height: 1.75;
}

.about-signal-list {
    display: grid;
    gap: 0.95rem;
    margin-top: 1.6rem;
}

.about-signal-list div {
    padding: 1.05rem 1.15rem;
    border: 1px solid rgba(220, 233, 214, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
}

.about-signal-list strong,
.about-values-list strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #17241a;
}

.about-signal-list span,
.about-values-list span {
    color: #5d6a5f;
    line-height: 1.6;
}

.about-proof {
    padding: 42px 0;
    background: #162018;
}

.about-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(126, 217, 87, 0.16);
    border-radius: 22px;
    background: rgba(126, 217, 87, 0.14);
}

.about-proof-grid div {
    padding: 1.55rem;
    background:
        radial-gradient(circle at top right, rgba(126, 217, 87, 0.11) 0%, transparent 40%),
        #1d2a20;
}

.about-proof-grid span {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-size: 0.86rem;
    font-weight: 800;
}

.about-proof-grid strong {
    display: block;
    margin-bottom: 0.55rem;
    color: #fff;
    font-size: 1.02rem;
}

.about-proof-grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.94rem;
    line-height: 1.65;
}

.about-capabilities {
    background:
        linear-gradient(180deg, #f7faf6 0%, #ffffff 55%, #f7faf6 100%);
}

.about-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.about-capability-card {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    padding: 2rem;
    border: 1px solid #dce9d6;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(20, 32, 23, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-capability-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.about-capability-card:hover {
    transform: translateY(-6px);
    border-color: rgba(126, 217, 87, 0.75);
    box-shadow: 0 18px 42px rgba(20, 32, 23, 0.12);
}

.about-card-number {
    display: inline-block;
    margin-bottom: 3.2rem;
    color: rgba(74, 156, 45, 0.3);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
}

.about-capability-card h3 {
    margin-bottom: 0.95rem;
    color: #142017;
    font-size: 1.45rem;
}

.about-capability-card p {
    margin: 0;
    color: #566357;
    line-height: 1.75;
}

.about-values {
    padding: 84px 0;
    background: #ffffff;
}

.about-values-grid {
    align-items: start;
}

.about-values-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.about-values-list div {
    min-height: 190px;
    padding: 1.35rem;
    border: 1px solid #dce9d6;
    border-radius: 18px;
    background: #f7faf6;
    box-shadow: inset 4px 0 0 rgba(126, 217, 87, 0.55);
}

.about-team {
    background: #f0f6ed;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.about-team-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border: 1px solid #dce9d6;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(20, 32, 23, 0.07);
    text-align: center;
}

.about-team-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 72px;
    background:
        radial-gradient(circle at 50% -20%, rgba(126, 217, 87, 0.38) 0%, transparent 58%),
        linear-gradient(135deg, rgba(126, 217, 87, 0.22), rgba(74, 156, 45, 0.08));
}

.about-team-avatar {
    position: relative;
    z-index: 1;
    width: 92px;
    height: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
    border: 5px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 12px 26px rgba(74, 156, 45, 0.22);
    color: #fff;
    font-size: 1.55rem;
    font-weight: 800;
}

.about-team-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.about-team-card h3 {
    margin-bottom: 0.35rem;
    color: #142017;
    font-size: 1.35rem;
}

.about-team-role {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.about-team-bio {
    color: #566357;
    line-height: 1.7;
}

.about-team-links {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.35rem;
}

.about-team-links a {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.about-team-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .about-hero h1 {
        font-size: 3rem;
    }

    .about-proof-grid,
    .about-capability-grid,
    .about-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-values-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 100px 0 60px;
    }

    .about-hero h1 {
        font-size: 2.25rem;
    }

    .about-hero p {
        font-size: 1.05rem;
    }

    .about-intro,
    .about-capabilities,
    .about-values,
    .about-team {
        padding: 62px 0;
    }

    .about-intro-grid,
    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-intro-copy h2,
    .about-values-copy h2 {
        font-size: 1.9rem;
    }

    .about-proof-grid,
    .about-capability-grid,
    .about-team-grid {
        grid-template-columns: 1fr;
    }

    .about-capability-card {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 80px 0 50px;
    }

    .about-hero h1 {
        font-size: 1.75rem;
    }

    .about-hero p {
        font-size: 0.95rem;
    }

    .about-signal-card,
    .about-capability-card,
    .about-team-card {
        padding: 1.5rem;
    }
}

/* Portfolio Page Refresh */
.portfolio-page {
    background: #f7faf6;
}

.portfolio-hero {
    position: relative;
    overflow: hidden;
    padding: 10rem 0 6rem;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d4a2d 100%);
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(126, 217, 87, 0.03) 35px, rgba(126, 217, 87, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(74, 156, 45, 0.03) 35px, rgba(74, 156, 45, 0.03) 70px);
    animation: portfolioPatternSlide 20s linear infinite;
    pointer-events: none;
}

@keyframes portfolioPatternSlide {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(70px, 70px);
    }
}

.portfolio-hero .container {
    position: relative;
    z-index: 1;
}

.portfolio-hero h1 {
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    line-height: 1.65;
}

.portfolio-intro {
    padding: 84px 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(126, 217, 87, 0.12) 0%, transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7faf6 100%);
}

.portfolio-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 3.2rem;
    align-items: center;
}

.portfolio-kicker {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-intro-copy h2 {
    margin-bottom: 1rem;
    color: #162018;
    font-size: 2.45rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.portfolio-intro-copy p {
    color: #566357;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
}

.portfolio-lens-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border: 1px solid #dce9d6;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(126, 217, 87, 0.2) 0%, transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f3faef 100%);
    box-shadow: 0 22px 55px rgba(20, 32, 23, 0.1);
}

.portfolio-lens-card::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(74, 156, 45, 0.28);
    border-radius: 50%;
}

.portfolio-lens-card > span {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-lens-card h3 {
    max-width: 430px;
    margin-bottom: 1.35rem;
    color: #162018;
    font-size: 1.85rem;
    line-height: 1.25;
}

.portfolio-lens-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.95rem;
}

.portfolio-lens-list div {
    padding: 1.05rem 1.15rem;
    border: 1px solid rgba(220, 233, 214, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
}

.portfolio-lens-list strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #17241a;
}

.portfolio-lens-list p {
    margin: 0;
    color: #5d6a5f;
    line-height: 1.6;
}

.portfolio-page .portfolio-filter-section {
    padding: 36px 0;
    background: #162018;
}

.portfolio-page .portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.portfolio-page .filter-btn {
    padding: 0.85rem 1.35rem;
    border: 1px solid rgba(126, 217, 87, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.portfolio-page .filter-btn:hover,
.portfolio-page .filter-btn.active {
    transform: translateY(-2px);
    border-color: rgba(126, 217, 87, 0.75);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 12px 28px rgba(74, 156, 45, 0.25);
}

.portfolio-page .portfolio-showcase {
    padding: 84px 0;
    background:
        linear-gradient(180deg, #f7faf6 0%, #ffffff 55%, #f7faf6 100%);
}

.portfolio-case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.65rem;
}

.portfolio-case-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #dce9d6;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(20, 32, 23, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.portfolio-case-card:hover {
    transform: translateY(-6px);
    border-color: rgba(126, 217, 87, 0.75);
    box-shadow: 0 20px 48px rgba(20, 32, 23, 0.13);
}

.portfolio-case-visual {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(126, 217, 87, 0.2) 0%, transparent 32%),
        linear-gradient(135deg, #182019 0%, #2f5530 100%);
}

.portfolio-case-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 26px, rgba(255, 255, 255, 0.04) 26px, rgba(255, 255, 255, 0.04) 52px),
        repeating-linear-gradient(-45deg, transparent, transparent 26px, rgba(126, 217, 87, 0.05) 26px, rgba(126, 217, 87, 0.05) 52px);
}

.portfolio-case-type {
    position: absolute;
    left: 1.25rem;
    top: 1.25rem;
    z-index: 1;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.portfolio-case-icon {
    position: relative;
    z-index: 1;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.portfolio-case-icon svg {
    width: 48px;
    height: 48px;
}

.portfolio-case-metrics {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1;
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.portfolio-case-metrics span {
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.76rem;
    font-weight: 700;
}

.portfolio-case-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.8rem;
}

.portfolio-case-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.portfolio-case-body h3 {
    margin-bottom: 0.8rem;
    color: #142017;
    font-size: 1.55rem;
    line-height: 1.25;
}

.portfolio-case-body p {
    color: #566357;
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.portfolio-case-body ul {
    list-style: none;
    display: grid;
    gap: 0.65rem;
    margin: 0 0 1.35rem;
    padding: 0;
}

.portfolio-case-body li {
    position: relative;
    padding-left: 1.35rem;
    color: #344238;
    font-size: 0.95rem;
    line-height: 1.5;
}

.portfolio-case-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.58rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.portfolio-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.4rem;
}

.portfolio-tech-tags span {
    padding: 0.42rem 0.75rem;
    border: 1px solid rgba(126, 217, 87, 0.28);
    border-radius: 999px;
    background: rgba(126, 217, 87, 0.09);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 700;
}

.portfolio-case-link {
    margin-top: auto;
    color: var(--secondary-color);
    font-weight: 800;
    text-decoration: none;
}

.portfolio-case-link:hover {
    color: var(--primary-color);
}

.portfolio-delivery {
    padding: 84px 0;
    background: #fff;
}

.portfolio-delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.portfolio-delivery-grid div {
    min-height: 230px;
    padding: 1.7rem;
    border: 1px solid #dce9d6;
    border-radius: 20px;
    background: #f7faf6;
    box-shadow: inset 4px 0 0 rgba(126, 217, 87, 0.55);
}

.portfolio-delivery-grid span {
    display: block;
    margin-bottom: 1.4rem;
    color: rgba(74, 156, 45, 0.35);
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1;
}

.portfolio-delivery-grid strong {
    display: block;
    margin-bottom: 0.65rem;
    color: #17241a;
    font-size: 1.1rem;
}

.portfolio-delivery-grid p {
    margin: 0;
    color: #566357;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .portfolio-hero h1 {
        font-size: 3rem;
    }

    .portfolio-case-grid,
    .portfolio-delivery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .portfolio-hero {
        padding: 100px 0 60px;
    }

    .portfolio-hero h1 {
        font-size: 2.25rem;
    }

    .portfolio-hero p {
        font-size: 1.05rem;
    }

    .portfolio-intro,
    .portfolio-page .portfolio-showcase,
    .portfolio-delivery {
        padding: 62px 0;
    }

    .portfolio-intro-grid,
    .portfolio-case-grid,
    .portfolio-delivery-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-intro-grid {
        gap: 2rem;
    }

    .portfolio-intro-copy h2 {
        font-size: 1.9rem;
    }

    .portfolio-page .portfolio-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.35rem;
    }

    .portfolio-page .filter-btn {
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .portfolio-hero {
        padding: 80px 0 50px;
    }

    .portfolio-hero h1 {
        font-size: 1.75rem;
    }

    .portfolio-hero p {
        font-size: 0.95rem;
    }

    .portfolio-lens-card,
    .portfolio-case-body {
        padding: 1.5rem;
    }

    .portfolio-case-visual {
        min-height: 220px;
    }

    .portfolio-case-meta {
        flex-direction: column;
        gap: 0.35rem;
    }
}

/* Portfolio Detail Refresh */
.portfolio-detail-page {
    background: #f7faf6;
}

.portfolio-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 10rem 0 6rem;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d4a2d 100%);
}

.portfolio-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(126, 217, 87, 0.03) 35px, rgba(126, 217, 87, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(74, 156, 45, 0.03) 35px, rgba(74, 156, 45, 0.03) 70px);
    animation: portfolioPatternSlide 20s linear infinite;
    pointer-events: none;
}

.portfolio-detail-hero .container {
    position: relative;
    z-index: 1;
}

.portfolio-detail-type {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(126, 217, 87, 0.35);
    border-radius: 999px;
    background: rgba(126, 217, 87, 0.12);
    color: #d9f5cf;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-detail-hero h1 {
    max-width: 860px;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio-detail-hero p {
    max-width: 780px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.7;
}

.portfolio-detail-overview,
.portfolio-detail-outcomes {
    padding: 84px 0;
}

.portfolio-detail-overview {
    background:
        radial-gradient(circle at 12% 12%, rgba(126, 217, 87, 0.12) 0%, transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7faf6 100%);
}

.portfolio-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 3rem;
    align-items: start;
}

.portfolio-detail-copy h2 {
    margin-bottom: 1.6rem;
    color: #162018;
    font-size: 2.45rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.portfolio-detail-block {
    padding: 1.35rem;
    border: 1px solid #dce9d6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20, 32, 23, 0.06);
}

.portfolio-detail-block + .portfolio-detail-block {
    margin-top: 1rem;
}

.portfolio-detail-block h3 {
    margin-bottom: 0.55rem;
    color: #17241a;
    font-size: 1.1rem;
}

.portfolio-detail-block p {
    margin: 0;
    color: #566357;
    line-height: 1.75;
}

.portfolio-detail-facts {
    padding: 1.8rem;
    border: 1px solid #dce9d6;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(126, 217, 87, 0.18) 0%, transparent 34%),
        #ffffff;
    box-shadow: 0 18px 44px rgba(20, 32, 23, 0.1);
}

.portfolio-detail-facts h3 {
    margin-bottom: 1.3rem;
    color: #142017;
    font-size: 1.45rem;
}

.portfolio-detail-facts > div {
    padding: 1rem 0;
    border-top: 1px solid #dce9d6;
}

.portfolio-detail-facts span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--secondary-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.portfolio-detail-facts strong {
    color: #17241a;
    font-size: 1rem;
}

.portfolio-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.portfolio-detail-tags em {
    padding: 0.42rem 0.75rem;
    border: 1px solid rgba(126, 217, 87, 0.28);
    border-radius: 999px;
    background: rgba(126, 217, 87, 0.09);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 700;
}

.portfolio-detail-outcomes {
    background: #fff;
}

.portfolio-detail-outcome-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.portfolio-detail-outcome-grid div {
    min-height: 210px;
    padding: 1.7rem;
    border: 1px solid #dce9d6;
    border-radius: 20px;
    background: #f7faf6;
    box-shadow: inset 4px 0 0 rgba(126, 217, 87, 0.55);
}

.portfolio-detail-outcome-grid span {
    display: block;
    margin-bottom: 1.35rem;
    color: rgba(74, 156, 45, 0.35);
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1;
}

.portfolio-detail-outcome-grid p {
    margin: 0;
    color: #344238;
    line-height: 1.7;
}

.portfolio-detail-action {
    margin-top: 2.4rem;
    text-align: center;
}

@media (max-width: 1024px) {
    .portfolio-detail-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .portfolio-detail-hero {
        padding: 100px 0 60px;
    }

    .portfolio-detail-hero h1 {
        font-size: 2.25rem;
    }

    .portfolio-detail-hero p {
        font-size: 1.05rem;
    }

    .portfolio-detail-overview,
    .portfolio-detail-outcomes {
        padding: 62px 0;
    }

    .portfolio-detail-grid,
    .portfolio-detail-outcome-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-detail-copy h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .portfolio-detail-hero {
        padding: 80px 0 50px;
    }

    .portfolio-detail-hero h1 {
        font-size: 1.75rem;
    }

    .portfolio-detail-hero p {
        font-size: 0.95rem;
    }

    .portfolio-detail-facts,
    .portfolio-detail-block {
        padding: 1.35rem;
    }
}

/* Blog Page Refresh */
.blog-page,
.blog-detail-page {
    background: #f7faf6;
}

.blog-hero,
.blog-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 10rem 0 6rem;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d4a2d 100%);
}

.blog-hero::before,
.blog-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(126, 217, 87, 0.03) 35px, rgba(126, 217, 87, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(74, 156, 45, 0.03) 35px, rgba(74, 156, 45, 0.03) 70px);
    animation: blogPatternSlide 20s linear infinite;
    pointer-events: none;
}

@keyframes blogPatternSlide {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(70px, 70px);
    }
}

.blog-hero .container,
.blog-detail-hero .container {
    position: relative;
    z-index: 1;
}

.blog-hero h1,
.blog-detail-hero h1 {
    max-width: 920px;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-hero p,
.blog-detail-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    line-height: 1.65;
}

.blog-intro {
    padding: 84px 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(126, 217, 87, 0.12) 0%, transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7faf6 100%);
}

.blog-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 3.2rem;
    align-items: center;
}

.blog-kicker {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-intro-copy h2 {
    margin-bottom: 1rem;
    color: #162018;
    font-size: 2.45rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.blog-intro-copy p {
    color: #566357;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
}

.blog-topic-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border: 1px solid #dce9d6;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(126, 217, 87, 0.2) 0%, transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f3faef 100%);
    box-shadow: 0 22px 55px rgba(20, 32, 23, 0.1);
}

.blog-topic-card > span {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-topic-list {
    display: grid;
    gap: 0.95rem;
}

.blog-topic-list div {
    padding: 1.05rem 1.15rem;
    border: 1px solid rgba(220, 233, 214, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
}

.blog-topic-list strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #17241a;
}

.blog-topic-list p {
    margin: 0;
    color: #5d6a5f;
    line-height: 1.6;
}

.blog-listing,
.blog-detail-wrap {
    padding: 84px 0;
    background:
        linear-gradient(180deg, #f7faf6 0%, #ffffff 55%, #f7faf6 100%);
}

.blog-featured-card {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    overflow: hidden;
    margin-bottom: 1.65rem;
    border: 1px solid #dce9d6;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(20, 32, 23, 0.1);
}

.blog-featured-visual {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(126, 217, 87, 0.22) 0%, transparent 34%),
        linear-gradient(135deg, #182019 0%, #2f5530 100%);
}

.blog-featured-visual img,
.blog-insight-top img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-featured-visual.has-image,
.blog-insight-top.has-image {
    background: #182019;
}

.blog-featured-visual.has-image::after,
.blog-insight-top.has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(20, 32, 23, 0.68), rgba(20, 32, 23, 0.24) 44%, rgba(20, 32, 23, 0.72)),
        radial-gradient(circle at top right, rgba(126, 217, 87, 0.28), transparent 42%);
    pointer-events: none;
}

.blog-featured-visual::before,
.blog-insight-top::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 26px, rgba(255, 255, 255, 0.04) 26px, rgba(255, 255, 255, 0.04) 52px),
        repeating-linear-gradient(-45deg, transparent, transparent 26px, rgba(126, 217, 87, 0.05) 26px, rgba(126, 217, 87, 0.05) 52px);
    pointer-events: none;
}

.blog-visual-badges {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    flex-wrap: wrap;
}

.blog-featured-visual span,
.blog-featured-visual strong,
.blog-insight-top span,
.blog-insight-top strong {
    position: relative;
    z-index: 2;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.blog-featured-content {
    padding: 2.3rem;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 0.84rem;
    font-weight: 800;
}

.blog-featured-content h2,
.blog-insight-card h3 {
    margin-bottom: 0.95rem;
    line-height: 1.25;
}

.blog-featured-content h2 {
    font-size: 2rem;
}

.blog-featured-content h2 a,
.blog-insight-card h3 a {
    color: #142017;
    text-decoration: none;
}

.blog-featured-content h2 a:hover,
.blog-insight-card h3 a:hover {
    color: var(--secondary-color);
}

.blog-featured-content p,
.blog-insight-card p {
    color: #566357;
    line-height: 1.75;
    margin-bottom: 1.4rem;
}

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.blog-insight-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #dce9d6;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(20, 32, 23, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-insight-card:hover {
    transform: translateY(-6px);
    border-color: rgba(126, 217, 87, 0.75);
    box-shadow: 0 18px 42px rgba(20, 32, 23, 0.12);
}

.blog-insight-top {
    position: relative;
    min-height: 158px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 1rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(126, 217, 87, 0.2) 0%, transparent 36%),
        linear-gradient(135deg, #182019 0%, #2f5530 100%);
}

.blog-insight-card .blog-card-meta,
.blog-insight-card h3,
.blog-insight-card p,
.blog-insight-card .blog-read-link {
    margin-left: 1.55rem;
    margin-right: 1.55rem;
}

.blog-insight-card .blog-card-meta {
    margin-top: 1.45rem;
}

.blog-insight-card .blog-read-link {
    margin-top: auto;
    margin-bottom: 1.55rem;
}

.blog-read-link {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 800;
    text-decoration: none;
}

.blog-read-link:hover {
    color: var(--primary-color);
}

.blog-pagination {
    margin-top: 3rem;
}

.blog-pagination-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.blog-page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.blog-page-button,
.blog-page-number {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce9d6;
    border-radius: 999px;
    background: #fff;
    color: #344238;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(20, 32, 23, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.blog-page-button {
    padding: 0.75rem 1.25rem;
}

.blog-page-number {
    width: 44px;
}

.blog-page-button:hover,
.blog-page-number:hover,
.blog-page-number.active {
    transform: translateY(-2px);
    border-color: rgba(126, 217, 87, 0.75);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 12px 26px rgba(74, 156, 45, 0.2);
}

.blog-page-button.disabled {
    cursor: not-allowed;
    opacity: 0.48;
    transform: none;
    box-shadow: none;
}

.blog-empty-state {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem;
    border: 1px solid #dce9d6;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(20, 32, 23, 0.08);
    text-align: center;
}

.blog-empty-state span {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-empty-state h2 {
    margin-bottom: 1rem;
    color: #162018;
    font-size: 2rem;
}

.blog-empty-state p {
    color: #566357;
    line-height: 1.75;
    margin-bottom: 1.8rem;
}

.blog-detail-category {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(126, 217, 87, 0.35);
    border-radius: 999px;
    background: rgba(126, 217, 87, 0.12);
    color: #d9f5cf;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-detail-meta {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}

.blog-detail-meta span {
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.86rem;
    font-weight: 700;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
    gap: 2rem;
    align-items: start;
}

.blog-article-card,
.blog-sidebar-card {
    border: 1px solid #dce9d6;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(20, 32, 23, 0.08);
}

.blog-article-card {
    overflow: hidden;
    padding: 2.5rem;
}

.blog-detail-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    margin-bottom: 2rem;
}

.blog-detail-image-fallback {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(126, 217, 87, 0.22) 0%, transparent 34%),
        linear-gradient(135deg, #182019 0%, #2f5530 100%);
}

.blog-detail-image-fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 28px, rgba(255, 255, 255, 0.045) 28px, rgba(255, 255, 255, 0.045) 56px),
        repeating-linear-gradient(-45deg, transparent, transparent 28px, rgba(126, 217, 87, 0.055) 28px, rgba(126, 217, 87, 0.055) 56px);
}

.blog-detail-image-fallback span,
.blog-detail-image-fallback strong {
    position: relative;
    z-index: 1;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}

.blog-article-lead {
    margin-bottom: 2rem;
    padding: 1.4rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 14px;
    background: #f7faf6;
    color: #344238;
    font-size: 1.15rem;
    line-height: 1.75;
}

.blog-article-content {
    color: #344238;
    font-size: 1.05rem;
    line-height: 1.85;
}

.blog-article-content h1,
.blog-article-content h2,
.blog-article-content h3 {
    color: #142017;
    line-height: 1.25;
}

.blog-article-content h1 {
    font-size: 2.2rem;
    margin: 2.4rem 0 1rem;
}

.blog-article-content h2 {
    font-size: 1.75rem;
    margin: 2.4rem 0 1rem;
}

.blog-article-content h3 {
    font-size: 1.3rem;
    margin: 1.8rem 0 0.75rem;
}

.blog-article-content p {
    margin-bottom: 1.2rem;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 1rem 0 1.4rem;
    padding-left: 1.4rem;
}

.blog-article-content li {
    margin-bottom: 0.65rem;
}

.blog-article-content a {
    color: var(--secondary-color);
    font-weight: 700;
}

.blog-article-content blockquote {
    margin: 1.6rem 0;
    padding: 1.3rem 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    background: #f7faf6;
    color: #566357;
}

.blog-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.blog-article-content th,
.blog-article-content td {
    border: 1px solid #dce9d6;
    padding: 0.8rem;
    text-align: left;
}

.blog-article-content th {
    background: #f0f6ed;
    color: #142017;
}

.blog-article-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.4rem;
    padding-top: 2rem;
    border-top: 1px solid #dce9d6;
}

.blog-detail-sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 100px;
}

.blog-sidebar-card {
    padding: 1.5rem;
}

.blog-sidebar-card h3 {
    margin-bottom: 0.75rem;
    color: #142017;
    font-size: 1.3rem;
}

.blog-sidebar-card p {
    color: #566357;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.blog-sidebar-list {
    list-style: none;
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
}

.blog-sidebar-list li {
    position: relative;
    padding-left: 1.25rem;
    color: #344238;
}

.blog-sidebar-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

@media (max-width: 1024px) {
    .blog-hero h1,
    .blog-detail-hero h1 {
        font-size: 3rem;
    }

    .blog-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-detail-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-hero,
    .blog-detail-hero {
        padding: 100px 0 60px;
    }

    .blog-hero h1,
    .blog-detail-hero h1 {
        font-size: 2.25rem;
    }

    .blog-hero p,
    .blog-detail-hero p {
        font-size: 1.05rem;
    }

    .blog-intro,
    .blog-listing,
    .blog-detail-wrap {
        padding: 62px 0;
    }

    .blog-intro-grid,
    .blog-featured-card,
    .blog-card-grid,
    .blog-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .blog-intro-copy h2 {
        font-size: 1.9rem;
    }

    .blog-featured-visual {
        min-height: 240px;
    }

    .blog-article-card {
        padding: 1.7rem;
    }
}

@media (max-width: 480px) {
    .blog-hero,
    .blog-detail-hero {
        padding: 80px 0 50px;
    }

    .blog-hero h1,
    .blog-detail-hero h1 {
        font-size: 1.75rem;
    }

    .blog-hero p,
    .blog-detail-hero p {
        font-size: 0.95rem;
    }

    .blog-topic-card,
    .blog-featured-content,
    .blog-article-card,
    .blog-sidebar-card {
        padding: 1.35rem;
    }

    .blog-card-meta,
    .blog-article-footer {
        flex-direction: column;
    }

    .blog-insight-top {
        min-height: 140px;
    }
}

/* Shared CTA Refresh */
.cta {
    isolation: isolate;
    padding: 96px 0;
    background:
        radial-gradient(circle at 14% 20%, rgba(126, 217, 87, 0.2) 0%, transparent 28%),
        radial-gradient(circle at 86% 76%, rgba(74, 156, 45, 0.18) 0%, transparent 32%),
        #132016;
}

.cta::before {
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 36px, rgba(255, 255, 255, 0.035) 36px, rgba(255, 255, 255, 0.035) 72px),
        linear-gradient(135deg, rgba(126, 217, 87, 0.1), transparent 42%);
    animation: none;
}

.cta::after {
    top: auto;
    right: -120px;
    bottom: -180px;
    left: auto;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(126, 217, 87, 0.22);
    background: rgba(126, 217, 87, 0.08);
    animation: float 9s ease-in-out infinite;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4.1rem);
    border: 1px solid rgba(126, 217, 87, 0.2);
    border-radius: 34px;
    background:
        radial-gradient(circle at top left, rgba(126, 217, 87, 0.2) 0%, transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
}

.cta-kicker {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.48rem 0.95rem;
    border: 1px solid rgba(126, 217, 87, 0.28);
    border-radius: 999px;
    color: #d9f5cf;
    background: rgba(126, 217, 87, 0.1);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cta h2 {
    max-width: 780px;
    margin: 0 auto 1rem;
    color: #fff;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: -0.045em;
}

.cta p {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.75;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-secondary {
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.cta-secondary:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14);
}

.cta-note {
    margin: 1.2rem auto 0 !important;
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 0.92rem !important;
}

@media (max-width: 640px) {
    .cta-actions,
    .cta-actions .btn {
        width: 100%;
    }

    .cta-content {
        border-radius: 24px;
    }
}

/* Premium Contact Page Refresh */
.contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 150px 0 98px;
    background:
        radial-gradient(circle at 14% 20%, rgba(126, 217, 87, 0.28) 0%, transparent 30%),
        radial-gradient(circle at 82% 64%, rgba(74, 156, 45, 0.24) 0%, transparent 34%),
        linear-gradient(135deg, #101d14 0%, #1c3a22 54%, #4a9c2d 120%);
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 34px, rgba(255, 255, 255, 0.045) 34px, rgba(255, 255, 255, 0.045) 68px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 55%);
}

.contact-hero::after {
    content: "";
    position: absolute;
    right: max(5vw, 44px);
    bottom: -120px;
    z-index: -1;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(126, 217, 87, 0.28);
    border-radius: 50%;
    background: rgba(126, 217, 87, 0.1);
    box-shadow: inset 0 0 60px rgba(126, 217, 87, 0.16);
}

.contact-hero .container {
    max-width: 900px;
}

.contact-eyebrow,
.contact-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    margin-bottom: 1rem;
    padding: 0.48rem 0.9rem;
    border: 1px solid rgba(126, 217, 87, 0.35);
    border-radius: 999px;
    color: #5fbe39;
    background: rgba(126, 217, 87, 0.1);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;
}

.contact-eyebrow {
    color: #e7f9df;
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-hero h1 {
    max-width: 820px;
    margin: 0 auto 1.15rem;
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 5.15rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.contact-hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.78;
}

.contact-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background:
        linear-gradient(rgba(37, 85, 43, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 85, 43, 0.045) 1px, transparent 1px),
        radial-gradient(circle at 12% 12%, rgba(126, 217, 87, 0.14), transparent 30%),
        radial-gradient(circle at 88% 72%, rgba(74, 156, 45, 0.13), transparent 36%),
        #f7fbf5;
    background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 74px;
    right: 8%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7ed957;
    box-shadow: -78px 84px 0 rgba(126, 217, 87, 0.45), 34px 174px 0 rgba(74, 156, 45, 0.28);
}

.contact-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(350px, 0.82fr);
    gap: clamp(1.4rem, 3vw, 2.6rem);
    align-items: stretch;
}

.contact-form-wrapper,
.contact-info-wrapper {
    border-radius: 34px;
}

.contact-form-wrapper {
    padding: clamp(1.5rem, 3vw, 2.3rem);
    border: 1px solid rgba(37, 85, 43, 0.12);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 28px 90px rgba(15, 36, 19, 0.12);
    backdrop-filter: blur(18px);
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    margin: 0 0 0.8rem;
    color: #101d14;
    font-size: clamp(2rem, 3.7vw, 3.2rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.contact-form-wrapper > p,
.contact-info-wrapper > p {
    max-width: 620px;
    margin: 0 0 1.6rem;
    color: #5d6b5f;
    font-size: 1.02rem;
    line-height: 1.72;
}

.contact-success {
    margin: 0 0 1.3rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(74, 156, 45, 0.22);
    border-radius: 18px;
    color: #1f6f23;
    background: linear-gradient(135deg, rgba(126, 217, 87, 0.16), rgba(255, 255, 255, 0.95));
    box-shadow: 0 14px 35px rgba(74, 156, 45, 0.1);
    font-weight: 800;
}

.contact-error {
    display: block;
    margin-top: 0.45rem;
    color: #b42318;
    font-size: 0.84rem;
    font-weight: 800;
}

.contact-form-page {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(37, 85, 43, 0.1);
    border-radius: 28px;
    background: #fff;
    box-shadow: none;
}

.contact-form-note {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1.4rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(126, 217, 87, 0.2);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(126, 217, 87, 0.14), rgba(255, 255, 255, 0.72)),
        #f7fbf5;
}

.contact-form-note strong {
    color: #17351d;
    font-size: 0.95rem;
}

.contact-form-note span {
    color: #607065;
    font-size: 0.92rem;
    line-height: 1.55;
}

.contact-form-page .form-row {
    gap: 1rem;
}

.contact-form-page .form-group {
    margin-bottom: 1.05rem;
}

.contact-form-page label {
    margin-bottom: 0.55rem;
    color: #203826;
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.contact-form-page input,
.contact-form-page select,
.contact-form-page textarea {
    width: 100%;
    border: 1px solid rgba(37, 85, 43, 0.16);
    border-radius: 16px;
    background: #f9fcf8;
    color: #112116;
    font-size: 0.98rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-form-page input:focus,
.contact-form-page select:focus,
.contact-form-page textarea:focus {
    border-color: rgba(74, 156, 45, 0.62);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(126, 217, 87, 0.14);
}

.contact-form-page textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-page .btn-primary {
    width: 100%;
    min-height: 56px;
    margin-top: 0.35rem;
    border-radius: 18px;
    font-size: 1rem;
    box-shadow: 0 18px 40px rgba(74, 156, 45, 0.24);
}

.contact-info-wrapper {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        radial-gradient(circle at 92% 14%, rgba(126, 217, 87, 0.22), transparent 30%),
        repeating-linear-gradient(45deg, transparent, transparent 34px, rgba(255, 255, 255, 0.035) 34px, rgba(255, 255, 255, 0.035) 68px),
        linear-gradient(145deg, #101d14 0%, #1b3a22 58%, #35792a 128%);
    box-shadow: 0 28px 90px rgba(15, 36, 19, 0.22);
}

.contact-info-wrapper::after {
    content: "";
    position: absolute;
    right: -76px;
    bottom: -76px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(126, 217, 87, 0.24);
    border-radius: 50%;
    background: rgba(126, 217, 87, 0.08);
}

.contact-info-wrapper .contact-section-kicker {
    color: #e6f9df;
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.18);
}

.contact-info-wrapper h2,
.contact-info-wrapper > p {
    color: #fff;
}

.contact-info-wrapper > p {
    color: rgba(255, 255, 255, 0.76);
}

.contact-info-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.85rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.contact-info-item {
    gap: 0.95rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.contact-info-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(126, 217, 87, 0.16);
}

.contact-icon svg {
    color: #dff8d6;
}

.contact-details h4 {
    color: #fff;
    font-size: 1rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.74);
    overflow-wrap: anywhere;
}

.social-connect {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
}

.social-connect h4 {
    color: #fff;
    font-size: 1rem;
}

.social-btn {
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.social-btn:hover {
    color: #102114;
    background: #dff8d6;
    transform: translateY(-3px);
}

.map-section {
    height: auto;
    padding: 0 0 96px;
    background: #f7fbf5;
}

.map-placeholder {
    width: min(1180px, calc(100% - 40px));
    min-height: 360px;
    margin: 0 auto;
    border: 1px solid rgba(37, 85, 43, 0.12);
    border-radius: 34px;
    background:
        radial-gradient(circle at 20% 28%, rgba(126, 217, 87, 0.26), transparent 28%),
        radial-gradient(circle at 88% 72%, rgba(74, 156, 45, 0.22), transparent 32%),
        repeating-linear-gradient(45deg, transparent, transparent 34px, rgba(255, 255, 255, 0.05) 34px, rgba(255, 255, 255, 0.05) 68px),
        linear-gradient(135deg, #101d14, #214d27 72%, #57b938 140%);
    box-shadow: 0 30px 80px rgba(15, 36, 19, 0.16);
}

.map-overlay {
    position: static;
    min-height: 360px;
    padding: clamp(1.4rem, 4vw, 3rem);
    background:
        linear-gradient(90deg, rgba(16, 29, 20, 0.68), rgba(16, 29, 20, 0.18)),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: auto, 42px 42px, 42px 42px;
}

.map-info {
    max-width: 600px;
    padding: clamp(1.5rem, 4vw, 2.8rem);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    backdrop-filter: blur(14px);
}

.map-info .contact-section-kicker {
    color: #e6f9df;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.map-info h3 {
    margin: 0 0 0.8rem;
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.map-info p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
}

.map-info .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.map-info .btn-outline:hover {
    border-color: #7ed957;
    color: #102114;
    background: #dff8d6;
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-wrapper {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 118px 0 72px;
    }

    .contact-section {
        padding: 70px 0;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        border-radius: 26px;
    }

    .contact-form-page {
        border-radius: 22px;
    }

    .contact-form-page .form-row {
        grid-template-columns: 1fr;
    }

    .map-section {
        padding-bottom: 70px;
    }

    .map-placeholder,
    .map-overlay {
        min-height: 320px;
    }
}

@media (max-width: 520px) {
    .contact-hero h1,
    .contact-hero p {
        text-align: center;
    }

    .contact-hero .container {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .contact-section-kicker {
        font-size: 0.68rem;
    }

    .contact-form-wrapper,
    .contact-info-wrapper,
    .contact-form-page {
        padding: 1.15rem;
    }

    .contact-info-item {
        flex-direction: column;
    }

    .social-btn {
        justify-content: center;
    }

    .map-placeholder {
        width: min(100% - 24px, 1180px);
        border-radius: 24px;
    }

    .map-info {
        text-align: center;
    }
}

/* Unified Public Page Hero System */
.page-header,
.services-hero,
.about-hero,
.portfolio-hero,
.portfolio-detail-hero,
.blog-hero,
.blog-detail-hero,
.contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 150px 0 98px;
    text-align: center;
    background:
        radial-gradient(circle at 14% 18%, rgba(126, 217, 87, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 86% 68%, rgba(74, 156, 45, 0.24) 0%, transparent 34%),
        linear-gradient(135deg, #101d14 0%, #1c3a22 54%, #4a9c2d 120%);
}

.page-header::before,
.services-hero::before,
.about-hero::before,
.portfolio-hero::before,
.portfolio-detail-hero::before,
.blog-hero::before,
.blog-detail-hero::before,
.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    width: auto;
    height: auto;
    border-radius: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 34px, rgba(255, 255, 255, 0.045) 34px, rgba(255, 255, 255, 0.045) 68px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 55%);
    animation: none;
}

.page-header::after,
.services-hero::after,
.about-hero::after,
.portfolio-hero::after,
.portfolio-detail-hero::after,
.blog-hero::after,
.blog-detail-hero::after,
.contact-hero::after {
    content: "";
    position: absolute;
    right: max(5vw, 44px);
    bottom: -120px;
    z-index: -1;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(126, 217, 87, 0.28);
    border-radius: 50%;
    background: rgba(126, 217, 87, 0.1);
    box-shadow: inset 0 0 60px rgba(126, 217, 87, 0.16);
    pointer-events: none;
}

.page-header .container,
.services-hero .container,
.about-hero .container,
.portfolio-hero .container,
.portfolio-detail-hero .container,
.blog-hero .container,
.blog-detail-hero .container,
.contact-hero .container {
    position: relative;
    z-index: 1;
    max-width: 920px;
}

.page-header h1,
.services-hero h1,
.about-hero h1,
.portfolio-hero h1,
.portfolio-detail-hero h1,
.blog-hero h1,
.blog-detail-hero h1,
.contact-hero h1 {
    max-width: 860px;
    margin: 0 auto 1.15rem;
    color: #fff;
    font-size: clamp(2.4rem, 4vw, 5.15rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.065em;
    text-shadow: none;
}

.page-header p,
.services-hero p,
.about-hero p,
.portfolio-hero p,
.portfolio-detail-hero p,
.blog-hero p,
.blog-detail-hero p,
.contact-hero p,
.services-hero-copy {
    max-width: 730px;
    margin-right: auto;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.78;
    opacity: 1;
}

.portfolio-detail-meta,
.blog-detail-meta,
.blog-hero .blog-hero-meta,
.portfolio-hero .portfolio-hero-meta {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .page-header,
    .services-hero,
    .about-hero,
    .portfolio-hero,
    .portfolio-detail-hero,
    .blog-hero,
    .blog-detail-hero,
    .contact-hero {
        padding: 118px 0 72px;
    }

    .page-header h1,
    .services-hero h1,
    .about-hero h1,
    .portfolio-hero h1,
    .portfolio-detail-hero h1,
    .blog-hero h1,
    .blog-detail-hero h1,
    .contact-hero h1 {
        font-size: clamp(2.15rem, 10vw, 3.15rem);
        line-height: 1.04;
    }
}

@media (max-width: 520px) {
    .page-header::after,
    .services-hero::after,
    .about-hero::after,
    .portfolio-hero::after,
    .portfolio-detail-hero::after,
    .blog-hero::after,
    .blog-detail-hero::after,
    .contact-hero::after {
        right: -140px;
        bottom: -150px;
    }
}

/* Portfolio Mobile Polish */
@media (max-width: 640px) {
    .portfolio-page .portfolio-filter-section {
        padding: 22px 0;
        background:
            radial-gradient(circle at 16% 10%, rgba(126, 217, 87, 0.16), transparent 34%),
            linear-gradient(135deg, #101d14 0%, #172a1b 100%);
    }

    .portfolio-page .portfolio-filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.72rem;
        justify-content: initial;
        overflow: visible;
        padding: 0;
    }

    .portfolio-page .filter-btn {
        width: 100%;
        min-height: 44px;
        padding: 0.72rem 0.72rem;
        border-radius: 999px;
        font-size: 0.78rem;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }

    .portfolio-page .filter-btn:hover,
    .portfolio-page .filter-btn.active {
        transform: none;
        box-shadow: 0 10px 22px rgba(74, 156, 45, 0.22);
    }

    .portfolio-page .portfolio-showcase {
        padding: 44px 0 62px;
    }

    .portfolio-case-grid {
        gap: 1.25rem;
    }

    .portfolio-case-card {
        border-radius: 22px;
        box-shadow: 0 18px 42px rgba(20, 32, 23, 0.1);
    }

    .portfolio-case-visual {
        min-height: 190px;
        align-items: center;
        padding: 4.3rem 1rem 3.8rem;
    }

    .portfolio-case-type {
        left: 0.95rem;
        top: 0.95rem;
        max-width: calc(100% - 1.9rem);
        padding: 0.42rem 0.7rem;
        font-size: 0.64rem;
    }

    .portfolio-case-icon {
        width: 74px;
        height: 74px;
        border-radius: 22px;
    }

    .portfolio-case-icon svg {
        width: 38px;
        height: 38px;
    }

    .portfolio-case-metrics {
        left: 0.9rem;
        right: 0.9rem;
        bottom: 0.85rem;
        justify-content: center;
        gap: 0.42rem;
    }

    .portfolio-case-metrics span {
        padding: 0.36rem 0.55rem;
        font-size: 0.62rem;
        line-height: 1.1;
    }

    .portfolio-case-body {
        padding: 1.25rem;
    }

    .portfolio-case-meta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.65rem;
        font-size: 0.72rem;
    }

    .portfolio-case-body h3 {
        font-size: 1.32rem;
        line-height: 1.22;
    }

    .portfolio-case-body p,
    .portfolio-case-body li {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .portfolio-page .portfolio-filters {
        grid-template-columns: 1fr;
    }

    .portfolio-case-metrics span {
        max-width: 100%;
    }
}

/* Career Page */
.career-page {
    background: #f7fbf5;
}

.career-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 150px 0 98px;
    text-align: center;
    background:
        radial-gradient(circle at 18% 18%, rgba(126, 217, 87, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 82% 72%, rgba(74, 156, 45, 0.24) 0%, transparent 35%),
        linear-gradient(135deg, #101d14 0%, #1d3a22 54%, #4a9c2d 120%);
}

.career-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 44px 44px, 44px 44px;
}

.career-hero::after {
    content: "";
    position: absolute;
    right: max(5vw, 44px);
    bottom: -120px;
    z-index: -1;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(126, 217, 87, 0.28);
    border-radius: 50%;
    background: rgba(126, 217, 87, 0.1);
    box-shadow: inset 0 0 60px rgba(126, 217, 87, 0.16);
}

.career-hero .container {
    max-width: 900px;
}

.career-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 1rem;
    padding: 0.48rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #e6f9df;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.career-hero h1 {
    max-width: 860px;
    margin: 0 auto 1.15rem;
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 5.1rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.career-hero p {
    max-width: 740px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.78;
}

.career-hero-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.career-highlights {
    padding: 80px 0 40px;
}

.career-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.career-highlight-grid article {
    padding: 1.25rem;
    border: 1px solid rgba(37, 85, 43, 0.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(16, 29, 20, 0.08);
}

.career-highlight-grid strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #132919;
    font-size: 1rem;
}

.career-highlight-grid p {
    color: #5d6b5f;
    line-height: 1.7;
}

.career-values,
.career-roles,
.career-process {
    padding: 80px 0;
}

.career-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.career-value-card {
    padding: 1.8rem;
    border-radius: 24px;
    border: 1px solid rgba(37, 85, 43, 0.12);
    background: #fff;
    box-shadow: 0 18px 44px rgba(16, 29, 20, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.career-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 50px rgba(16, 29, 20, 0.12);
}

.career-value-card span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    background: var(--gradient);
    margin-bottom: 1rem;
}

.career-value-card h3 {
    margin-bottom: 0.55rem;
    color: #132919;
    font-size: 1.3rem;
}

.career-value-card p {
    color: #607065;
    line-height: 1.7;
}

.career-roles {
    background:
        radial-gradient(circle at 14% 12%, rgba(126, 217, 87, 0.14), transparent 30%),
        radial-gradient(circle at 84% 72%, rgba(74, 156, 45, 0.12), transparent 34%),
        #f0f8ec;
}

.career-roles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.career-role-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.6rem;
    border: 1px solid rgba(37, 85, 43, 0.14);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(16, 29, 20, 0.08);
}

.career-role-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #35792a;
}

.career-role-meta span {
    padding: 0.4rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(74, 156, 45, 0.2);
    background: rgba(126, 217, 87, 0.12);
}

.career-role-card h3 {
    margin-bottom: 0.7rem;
    color: #122618;
    font-size: 1.35rem;
}

.career-role-card p {
    color: #5f6f62;
    line-height: 1.65;
}

.career-role-card ul {
    margin: 1rem 0 1.2rem;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.career-role-card li {
    position: relative;
    padding-left: 1.1rem;
    color: #35503a;
    font-size: 0.92rem;
}

.career-role-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4a9c2d;
}

.career-role-link {
    margin-top: auto;
    width: fit-content;
    text-decoration: none;
    color: #2e7923;
    font-weight: 800;
}

.career-role-link:hover {
    color: #17351d;
}

.career-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.career-process-grid article {
    padding: 1.3rem;
    border-radius: 18px;
    border: 1px solid rgba(37, 85, 43, 0.12);
    background: #fff;
}

.career-process-grid span {
    display: inline-flex;
    min-width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 0.8rem;
    color: #17351d;
    font-weight: 800;
    background: rgba(126, 217, 87, 0.18);
}

.career-process-grid h3 {
    margin-bottom: 0.45rem;
    color: #132919;
    font-size: 1.08rem;
}

.career-process-grid p {
    color: #5f6f62;
    line-height: 1.65;
    font-size: 0.94rem;
}

@media (max-width: 1100px) {
    .career-highlight-grid,
    .career-values-grid,
    .career-roles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .career-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .career-hero {
        padding: 118px 0 72px;
    }

    .career-hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }

    .career-highlights,
    .career-values,
    .career-roles,
    .career-process {
        padding: 64px 0;
    }
}

@media (max-width: 640px) {
    .career-highlight-grid,
    .career-values-grid,
    .career-roles-grid,
    .career-process-grid {
        grid-template-columns: 1fr;
    }

    .career-kicker {
        font-size: 0.68rem;
    }

    .career-hero h1 {
        font-size: clamp(2.1rem, 10vw, 3.1rem);
        line-height: 1.04;
    }
}

.career-featured {
    padding: 40px 0 0;
}

.career-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.career-empty {
    margin: 0 auto;
    max-width: 760px;
    text-align: center;
    color: #5f6f62;
    line-height: 1.7;
    padding: 1.2rem 1.3rem;
    border: 1px dashed rgba(37, 85, 43, 0.22);
    border-radius: 16px;
    background: #fff;
}

.career-detail-page {
    background: #f7fbf5;
}

.career-detail-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 150px 0 96px;
    text-align: center;
    background:
        radial-gradient(circle at 18% 18%, rgba(126, 217, 87, 0.32) 0%, transparent 30%),
        radial-gradient(circle at 80% 72%, rgba(74, 156, 45, 0.26) 0%, transparent 36%),
        linear-gradient(135deg, #101d14 0%, #1d3a22 54%, #4a9c2d 120%);
}

.career-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 42px 42px, 42px 42px;
}

.career-detail-hero h1 {
    max-width: 920px;
    margin: 0 auto 1rem;
    color: #fff;
    font-size: clamp(2.2rem, 6vw, 4.6rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.career-detail-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    font-size: clamp(1rem, 2vw, 1.15rem);
}

.career-detail-meta {
    margin-top: 1.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.career-detail-meta span {
    display: inline-flex;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e7f7e1;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.career-detail-content {
    padding: 82px 0;
}

.career-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: 1rem;
}

.career-detail-copy,
.career-detail-side {
    display: grid;
    gap: 1rem;
}

.career-detail-block,
.career-info-card {
    border: 1px solid rgba(37, 85, 43, 0.14);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(16, 29, 20, 0.08);
    padding: 1.3rem;
}

.career-detail-block h2,
.career-detail-block h3 {
    margin-bottom: 0.6rem;
    color: #142618;
}

.career-detail-block p {
    color: #49604d;
    line-height: 1.78;
}

.career-info-card h3 {
    margin-bottom: 0.8rem;
    color: #152718;
}

.career-info-card > div {
    padding: 0.68rem 0;
    border-bottom: 1px solid rgba(37, 85, 43, 0.1);
}

.career-info-card > div:last-child {
    border-bottom: 0;
}

.career-info-card span {
    display: block;
    color: #627364;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 800;
}

.career-info-card strong {
    display: block;
    margin-top: 0.22rem;
    color: #1f3122;
}

.career-apply-section {
    padding: 0 0 80px;
}

.career-apply-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1rem;
}

.career-apply-copy,
.career-apply-form-shell {
    border: 1px solid rgba(37, 85, 43, 0.14);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(16, 29, 20, 0.09);
}

.career-apply-copy {
    padding: 1.4rem;
    background:
        radial-gradient(circle at 14% 14%, rgba(126, 217, 87, 0.14), transparent 28%),
        #ffffff;
}

.career-apply-copy h2 {
    margin: 0 0 0.62rem;
    color: #122518;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.career-apply-copy p {
    color: #5d6f61;
    line-height: 1.72;
}

.career-apply-note {
    margin-top: 0.7rem;
    font-size: 0.88rem;
    color: #2b5a2d !important;
    font-weight: 700;
}

.career-apply-form-shell {
    padding: 1.2rem;
}

.career-apply-success {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(74, 156, 45, 0.22);
    border-radius: 16px;
    color: #1f6f23;
    background: rgba(126, 217, 87, 0.14);
    font-weight: 700;
}

.career-apply-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.career-apply-form .form-group {
    margin-bottom: 0.9rem;
}

.career-apply-form label {
    display: block;
    margin-bottom: 0.48rem;
    color: #213826;
    font-size: 0.83rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.career-apply-form input,
.career-apply-form textarea {
    width: 100%;
    padding: 0.86rem 0.9rem;
    border: 1px solid rgba(37, 85, 43, 0.18);
    border-radius: 14px;
    background: #f9fcf8;
    color: #112116;
    font-size: 0.95rem;
    font-family: inherit;
}

.career-apply-form input:focus,
.career-apply-form textarea:focus {
    outline: none;
    border-color: rgba(74, 156, 45, 0.62);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(126, 217, 87, 0.14);
}

.career-apply-form textarea {
    min-height: 130px;
    resize: vertical;
}

.career-apply-form .btn-primary {
    width: 100%;
    min-height: 52px;
    border-radius: 15px;
}

.career-related {
    padding: 0 0 84px;
}

@media (max-width: 1100px) {
    .career-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .career-detail-grid,
    .career-apply-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .career-detail-hero {
        padding: 118px 0 74px;
    }

    .career-detail-content,
    .career-apply-section,
    .career-related {
        padding-bottom: 64px;
    }

    .career-detail-content {
        padding-top: 64px;
    }
}

@media (max-width: 640px) {
    .career-featured-grid {
        grid-template-columns: 1fr;
    }

    .career-apply-form .form-row {
        grid-template-columns: 1fr;
    }

    .career-detail-meta span {
        font-size: 0.68rem;
    }
}
