/* Home Page Styles */

/* Mission Section */
.mission-section {
    background: #ffffff;
    padding: 48px 0;
}
.mission-text {
    font-family: 'Patrick Hand', cursive;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #374151;
    text-align: center;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
}
.mission-cta {
    text-align: center;
    margin-top: 24px;
}
.mission-btn {
    display: inline-block;
    padding: 16px 48px;
    border: 2px solid #2d5016;
    border-radius: 8px;
    color: #2d5016;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.mission-btn:hover {
    background: #2d5016;
    color: #ffffff;
}

/* What We Do Section */
.what-we-do-section {
    background: #f8fafc;
    padding: 80px 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.expertise-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    border: 1px solid var(--color-grey-200);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.expertise-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 12px 40px rgba(45, 80, 22, 0.12);
    transform: translateY(-4px);
}

.expertise-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.expertise-icon i {
    font-size: 1.75rem;
    color: var(--color-primary);
}

.expertise-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-grey-900);
    margin: 0 0 12px;
}

.expertise-desc {
    font-size: 0.9375rem;
    color: var(--color-grey-600);
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

.expertise-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.expertise-link:hover {
    gap: 10px;
}

.expertise-cta {
    margin-top: 48px;
}

@media (max-width: 1200px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .expertise-card {
        padding: 24px 20px;
    }
}

/* Hero Description (longer sentence below the tagline) */
.hero-desc {
    font-size: 1.0625rem;
    color: #4b5563;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 32px;
    text-align: center;
}

/* Sisu Showcase */
.sisu-showcase {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #d1fae5 100%);
    padding: 72px 0 96px;
    position: relative;
    overflow: hidden;
}
.sisu-header {
    text-align: center;
    margin-bottom: 56px;
}
.sisu-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.sisu-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(45, 80, 22, 0.1);
    border: 1px solid rgba(45, 80, 22, 0.2);
    color: #2d5016;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}
.sisu-title {
    font-family: 'Patrick Hand', cursive;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    color: #1e3a1e;
    margin-bottom: 8px;
    line-height: 1.2;
}
.sisu-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6b7280;
    margin: 0 0 20px;
}
.sisu-desc {
    color: #4b5563;
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 32px;
}
.sisu-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    background: #2d5016;
    color: #ffffff;
    transition: all 0.3s ease;
}
.sisu-btn:hover {
    background: #1e3a0e;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(45, 80, 22, 0.3);
}
.sisu-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sisu-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(45, 80, 22, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.sisu-feature-item:hover {
    background: #ffffff;
    border-color: rgba(45, 80, 22, 0.2);
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(45, 80, 22, 0.08);
}
.sisu-feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #2d5016 0%, #3d6b1f 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 1.125rem;
}
.sisu-feature-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e3a1e;
    margin: 0 0 4px;
}
.sisu-feature-desc {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 992px) {
    .sisu-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .sisu-info {
        text-align: center;
    }
    .sisu-btn {
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .sisu-showcase {
        padding: 48px 0 64px;
    }
    .sisu-feature-item {
        padding: 16px 20px;
    }
}

/* 7 Philosophies Section */
.philosophies-section {
    background: #ffffff;
    padding: 96px 0;
    overflow: hidden;
}
.philosophies-header {
    margin-bottom: 48px;
}
.philosophies-header .section-title {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.philosophies-header .section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
    font-size: 0.8125rem;
}
.philosophies-wrapper {
    position: relative;
}
.philosophies-track {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    padding: 16px 48px;
}
.philosophies-track::-webkit-scrollbar {
    display: none;
}
.philosophy-card {
    min-height: 420px;
    padding: 40px 28px 36px;
    position: relative;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    cursor: default;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease,
                filter 0.3s ease;
}
.philosophy-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
    z-index: 2;
}
.philosophy-card:hover .philosophy-number {
    opacity: 0.4;
    transform: translateY(-4px);
}
.philosophy-card:hover .philosophy-icon {
    opacity: 0.5;
    transform: scale(1.2);
}
.philosophy-number {
    font-family: 'Patrick Hand', cursive;
    font-size: 4rem;
    font-weight: 400;
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.6);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.philosophy-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.95);
}
.philosophy-text {
    font-size: 0.8125rem;
    line-height: 1.8;
    margin: 0;
    flex: 1;
    color: rgba(255, 255, 255, 0.8);
}
.philosophy-icon {
    margin-top: 28px;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.3);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Navigation Arrows */
.philosophies-nav {
    display: none;
}
.philosophies-nav-btn {
    width: 44px;
    height: 44px;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.philosophies-nav-btn:hover {
    border-color: #2d5016;
    color: #2d5016;
}

/* Card Colours - evergreen pine palette with amber accent */
.philosophy-card--1 {
    background: linear-gradient(160deg, #1a3d2a 0%, #2d5016 100%);
}
.philosophy-card--2 {
    background: linear-gradient(160deg, #78350f 0%, #92400e 100%);
}
.philosophy-card--3 {
    background: linear-gradient(160deg, #2d5016 0%, #4a7c3a 100%);
}
.philosophy-card--4 {
    background: linear-gradient(160deg, #344e41 0%, #588157 100%);
}
.philosophy-card--5 {
    background: linear-gradient(160deg, #1a3d3d 0%, #2f5d4d 100%);
}
.philosophy-card--6 {
    background: linear-gradient(160deg, #0f2d20 0%, #1f4d33 100%);
}
.philosophy-card--7 {
    background: linear-gradient(160deg, #1a4030 0%, #2d6048 100%);
}

@media (max-width: 1200px) {
    .philosophies-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 16px 48px;
    }
    .philosophy-card {
        flex: 0 0 260px;
        scroll-snap-align: start;
    }
}
@media (max-width: 768px) {
    .philosophies-section {
        padding: 64px 0;
    }
    .philosophies-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .philosophies-nav {
        display: contents;
    }
    #phil-prev {
        order: -1;
    }
    #phil-next {
        order: 1;
    }
    .philosophies-track {
        padding: 16px 0;
        gap: 16px;
        scroll-snap-type: x mandatory;
        flex: 1;
        min-width: 0;
    }
    .philosophy-card {
        flex: 0 0 100%;
        min-height: 380px;
    }
}

/* Featured Service Section */
.featured-service-section {
    background: #fff;
    padding: 60px 0;
}
.featured-service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.featured-service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(45, 80, 22, 0.1);
    border: 1px solid rgba(45, 80, 22, 0.2);
    color: #2d5016;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}
.featured-service-badge i {
    color: #2d5016;
}
.featured-service-title {
    font-family: 'Patrick Hand', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: #1e3a1e;
    margin-bottom: 16px;
    line-height: 1.2;
}
.featured-service-excerpt {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
}
.featured-service-price {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 12px 20px;
    background: #f0fdf4;
    border-radius: 10px;
}
.featured-service-price .price-label {
    font-size: 0.875rem;
    color: #2d5016;
    font-weight: 500;
}
.featured-service-price .price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d5016;
}
.featured-service-price .price-unit {
    font-size: 0.875rem;
    color: #2d5016;
}
.featured-service-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.featured-service-actions .btn {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.featured-service-actions .btn-primary {
    background: #2d5016;
    color: #fff;
    border: 2px solid #2d5016;
}
.featured-service-actions .btn-primary:hover {
    background: #1e3a0e;
    border-color: #1e3a0e;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.3);
}
.featured-service-actions .btn-outline {
    background: transparent;
    border: 2px solid #e5e7eb;
    color: #374151;
}
.featured-service-actions .btn-outline:hover {
    border-color: #2d5016;
    color: #2d5016;
}
.featured-service-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.featured-service-image a {
    display: block;
}
.featured-service-image img {
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.featured-service-image:hover img {
    transform: scale(1.03);
}
.featured-image-placeholder {
    width: 100%;
    aspect-ratio: 1200 / 630;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d5016;
    font-size: 4rem;
}

@media (max-width: 992px) {
    .featured-service {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .featured-service-content {
        order: 2;
        text-align: center;
    }
    .featured-service-actions {
        justify-content: center;
    }
    .featured-service-image {
        order: 1;
    }
}
@media (max-width: 600px) {
    .featured-service-actions {
        flex-direction: column;
    }
    .featured-service-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Blog Preview — card styles live in /css/blog-card.css */
.blog-carousel { position: relative; }
.blog-nav-btn { display: none; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

/* Newsletter */
.newsletter-section { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); color: #fff; }
.newsletter-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.newsletter-text h2 { font-size: 1.75rem; margin-bottom: 8px; }
.newsletter-text p { opacity: 0.9; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form input { padding: 14px 20px; border: none; border-radius: 8px; font-size: 1rem; width: 300px; }
.newsletter-form .btn { background: #fff; color: var(--color-primary); }

/* Technologies Word Art */
.tech-wordart-section {
    background: #ffffff;
    padding: 40px 0;
    overflow: hidden;
}
.tech-wordart {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px 40px;
    padding: 0 24px;
}
.tech-word {
    white-space: nowrap;
}
.tech-word-1 {
    font-family: 'Patrick Hand', cursive;
    font-size: 2.5rem;
    color: #2d5016;
}
.tech-word-2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #DC2626;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.tech-word-3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-style: italic;
    color: #3d6b1f;
}
.tech-word-4 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: #1e3a1e;
}
.tech-word-5 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #6b7280;
}
.tech-word-6 {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.5rem;
    color: #DC2626;
}
.tech-word-7 {
    font-family: 'Inter', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #2d5016;
    text-transform: uppercase;
}
.tech-word-8 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: #4b5563;
}
.tech-word-9 {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: #3d6b1f;
}
.tech-word-10 {
    font-family: 'Inter', sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: #DC2626;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .tech-wordart { gap: 12px 24px; }
    .tech-word-1 { font-size: 1.75rem; }
    .tech-word-2 { font-size: 1rem; }
    .tech-word-3 { font-size: 1.25rem; }
    .tech-word-4 { font-size: 1.5rem; }
    .tech-word-7 { font-size: 1.5rem; }
    .tech-word-9 { font-size: 1.25rem; }
}

/* CTA */
.bg-primary { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); color: #fff; }
.bg-light { background-color: var(--color-grey-50); }
.cta-section { background: #fff; }
.cta-title-dark { font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; color: var(--color-grey-900); }
.cta-text-dark { font-size: 1.25rem; color: var(--color-grey-500); margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; }
.btn-white { background: #fff; color: var(--color-primary); }
.btn-outline-white { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: var(--color-primary); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* Section Headers */
.section-header { margin-bottom: 32px; }
.section-label { display: inline-block; font-size: 0.875rem; font-weight: 600; color: var(--color-primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.section-title { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.section-subtitle { color: var(--color-grey-500); font-size: 1.125rem; }

/* Culture Section */
.culture-section { background: var(--color-grey-100); }
.culture-layout { display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: start; position: relative; }
.culture-values .section-label { display: block; text-align: left; margin-bottom: 8px; }
.culture-values .section-title { text-align: left; margin-bottom: 24px; }
.culture-intro { color: var(--color-grey-600); font-size: 1.0625rem; line-height: 1.8; margin-bottom: 32px; }
.culture-accordion { display: flex; flex-direction: column; gap: 16px; }
.culture-item { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); border: 1px solid var(--color-grey-200); transition: all 0.3s ease; }
.culture-item:hover { border-color: var(--color-primary); box-shadow: 0 4px 16px rgba(45, 80, 22, 0.1); }
.culture-item.active { border-color: var(--color-primary); }
.culture-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; transition: background 0.3s ease; }
.culture-header:hover { background: var(--color-grey-50); }
.culture-item.active .culture-header { background: rgba(45, 80, 22, 0.05); }
.culture-title { display: flex; align-items: center; gap: 16px; font-size: 1.125rem; font-weight: 600; color: var(--color-grey-800); margin: 0; }
.culture-icon { width: 40px; height: 40px; background: rgba(45, 80, 22, 0.1); color: var(--color-primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.culture-toggle { width: 32px; height: 32px; background: var(--color-grey-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--color-grey-500); font-size: 1.25rem; transition: all 0.3s ease; flex-shrink: 0; }
.culture-item.active .culture-toggle { background: var(--color-primary); color: #fff; transform: rotate(45deg); }
.culture-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.culture-item.active .culture-content { max-height: 300px; }
.culture-text { padding: 0 24px 24px; color: var(--color-grey-600); line-height: 1.7; font-size: 0.9375rem; }
.culture-image { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); height: fit-content; margin-top: 140px; }
.culture-image img { width: 100%; height: auto; display: block; object-fit: cover; min-height: 400px; object-position: center top; }
.culture-image-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%); color: #fff; }
.culture-image-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.culture-image-subtitle { font-size: 0.875rem; opacity: 0.9; margin: 0; }


/* Responsive */
@media (max-width: 992px) {
    .culture-layout { grid-template-columns: 1fr; gap: 48px; }
    .culture-image { max-width: 400px; margin: 0 auto; margin-top: 0; }
}
@media (max-width: 768px) {
    .blog-grid {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch; scrollbar-width: none;
        gap: 16px; padding: 8px 50px; scroll-padding: 50px;
    }
    .blog-grid::-webkit-scrollbar { display: none; }
    .blog-card {
        flex: 0 0 calc(100vw - 120px); scroll-snap-align: center;
    }
    .blog-card:hover { transform: none; }
    .blog-nav-btn {
        display: flex; align-items: center; justify-content: center;
        position: absolute; top: 50%; transform: translateY(-50%);
        width: 36px; height: 36px; border-radius: 50%;
        border: 1px solid #e2e8f0; background: #ffffff;
        color: #475569; font-size: 0.875rem; cursor: pointer;
        z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    .blog-nav-btn:active { background: #f1f5f9; }
    .blog-prev { left: 4px; }
    .blog-next { right: 4px; }
    .newsletter-content { flex-direction: column; text-align: center; }
    .newsletter-form { flex-direction: column; width: 100%; }
    .newsletter-form input { width: 100%; }
    .cta-title { font-size: 1.75rem; }
    .cta-buttons { flex-direction: column; }
}
