/* ==========================================================================
   ALKIMY EDGEVIEW LLC — Design #24: Olive + Cyan
   Colors: #3f6212 (olive) #06b6d4 (cyan) #f0fdf4 (light cream)
   Text: #1c1917 #44403c #78716c
   ========================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #44403c;
    background-color: #f0fdf4;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5 {
    color: #1c1917;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Scroll Animations --- */
.pop {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.pop.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Header --- */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e7e5e4;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    color: #1c1917;
}

.logo-icon {
    color: #06b6d4;
    font-size: 1.3rem;
}

.logo-text strong {
    color: #3f6212;
}

.main-nav {
    display: flex;
    gap: 28px;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #44403c;
    transition: color 0.2s;
    padding: 4px 0;
}

.main-nav a:hover {
    color: #3f6212;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1c1917;
    transition: 0.3s;
}

/* --- Hero — Brick Pattern --- */
.hero {
    position: relative;
    background: #ffffff;
    text-align: center;
    padding: 120px 24px 100px;
    overflow: hidden;
}

.hero-brick {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 19px,
            rgba(63, 98, 18, 0.06) 19px,
            rgba(63, 98, 18, 0.06) 20px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 59px,
            rgba(63, 98, 18, 0.04) 59px,
            rgba(63, 98, 18, 0.04) 60px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 29px,
            rgba(63, 98, 18, 0.04) 29px,
            rgba(63, 98, 18, 0.04) 30px
        );
    z-index: 0;
}

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

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #3f6212;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero-accent {
    width: 60px;
    height: 4px;
    background: #06b6d4;
    margin: 0 auto 24px;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #78716c;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.btn-primary {
    background: #3f6212;
    color: #ffffff;
    border: 2px solid #3f6212;
}

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

.btn-outline:hover {
    background: #06b6d4;
    color: #ffffff;
}

/* --- Section Headings --- */
.section-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1c1917;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #78716c;
    margin-bottom: 48px;
}

/* --- Services --- */
.services {
    padding: 80px 24px;
    background: #f0fdf4;
}

.service-hero-card {
    background: #ffffff;
    border-top: 4px solid #3f6212;
    border-radius: 12px;
    padding: 40px 36px;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.service-hero-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.service-hero-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3f6212;
    margin-bottom: 12px;
}

.service-hero-card p {
    color: #44403c;
    line-height: 1.7;
}

.service-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.service-sub-card {
    background: #ffffff;
    border-left: 4px solid #06b6d4;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.service-sub-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.service-sub-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1c1917;
    margin-bottom: 6px;
}

.service-sub-card p {
    font-size: 0.9rem;
    color: #78716c;
    line-height: 1.5;
}

/* --- About — Team Grid --- */
.about {
    padding: 80px 24px;
    background: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 700px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    padding: 28px 16px;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.04em;
}

.team-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1c1917;
    margin-bottom: 4px;
}

.team-card p {
    font-size: 0.88rem;
    color: #78716c;
}

/* --- Industries — Heatmap Grid --- */
.industries {
    padding: 80px 24px;
    background: #f0fdf4;
}

.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 780px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.heatmap-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.2s;
    cursor: default;
}

.heatmap-cell:hover {
    transform: scale(1.02);
    position: relative;
    z-index: 2;
}

/* Lightest to darkest cyan scale */
.heat-1 { background: #cffafe; color: #1c1917; }
.heat-2 { background: #a5f3fc; color: #1c1917; }
.heat-3 { background: #67e8f9; color: #1c1917; }
.heat-4 { background: #22d3ee; color: #1c1917; }
.heat-5 { background: #06b6d4; color: #ffffff; }
.heat-6 { background: #0891b2; color: #ffffff; }
.heat-7 { background: #0e7490; color: #ffffff; }
.heat-8 { background: #155e75; color: #ffffff; }
.heat-9 { background: #164e63; color: #ffffff; }

/* --- Approach — Badge Collection --- */
.approach {
    padding: 80px 24px;
    background: #ffffff;
}

.badge-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.badge-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.3s;
}

.badge-circle:hover {
    transform: scale(1.1);
}

.badge-olive {
    background: #3f6212;
    color: #ffffff;
}

.badge-cyan {
    background: #06b6d4;
    color: #ffffff;
}

.badge-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: #44403c;
}

/* --- Contact — Voice Call Card --- */
.contact {
    padding: 80px 24px;
    background: #f0fdf4;
}

.contact-card {
    background: #ffffff;
    border-top: 4px solid #06b6d4;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.contact-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1c1917;
    margin-bottom: 20px;
}

.contact-phone-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.contact-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #3f6212;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.contact-number:hover {
    color: #06b6d4;
}

.contact-btn {
    display: inline-block;
    margin-bottom: 16px;
}

.contact-note {
    font-size: 0.9rem;
    color: #78716c;
}

/* --- CTA — Social Count --- */
.cta {
    padding: 80px 24px;
    background: #ffffff;
    text-align: center;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 36px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #06b6d4;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #78716c;
}

.cta-bar {
    width: 80px;
    height: 4px;
    background: #3f6212;
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Footer --- */
.site-footer {
    background: #1c1917;
    color: #d6d3d1;
    padding: 56px 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: #ffffff;
    font-size: 1.05rem;
}

.footer-brand .logo-text strong {
    color: #06b6d4;
}

.footer-brand p {
    font-size: 0.88rem;
    color: #a8a29e;
    margin-top: 8px;
}

.footer-brand a {
    display: inline-block;
    font-size: 0.88rem;
    color: #06b6d4;
    margin-top: 6px;
    transition: color 0.2s;
}

.footer-brand a:hover {
    color: #67e8f9;
}

.footer-links h5,
.footer-address h5 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a {
    display: block;
    font-size: 0.88rem;
    color: #a8a29e;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #06b6d4;
}

.footer-address p {
    font-size: 0.88rem;
    color: #a8a29e;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #292524;
    padding-top: 20px;
    text-align: center;
    font-size: 0.82rem;
    color: #78716c;
}

/* --- Privacy & Terms Pages --- */
.legal-page {
    padding: 80px 24px;
    background: #ffffff;
}

.legal-page .container {
    max-width: 760px;
}

.legal-page h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #3f6212;
    margin-bottom: 8px;
}

.legal-page .legal-date {
    font-size: 0.9rem;
    color: #78716c;
    margin-bottom: 36px;
}

.legal-page h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1c1917;
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-page h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #44403c;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-page p {
    font-size: 1rem;
    color: #44403c;
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-page ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 12px;
}

.legal-page ul li {
    font-size: 1rem;
    color: #44403c;
    line-height: 1.7;
    margin-bottom: 6px;
}

.legal-address {
    font-style: normal;
    color: #44403c;
    line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 20px 24px;
        border-bottom: 1px solid #e7e5e4;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .mobile-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 80px 24px 64px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .badge-row {
        gap: 24px;
    }

    .stats-row {
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-number {
        font-size: 1.4rem;
    }
}

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

    .hero h1 {
        font-size: 1.6rem;
    }

    .badge-circle {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }
}
