/* Shared styles for mlatho.com vertical industry landing pages */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --green-900: #0D3E11;
    --green-800: #1B5E20;
    --green-700: #2E7D32;
    --green-100: #E8F5E9;
    --green-50: #F1F8E9;
    --red-600: #D32F2F;
    --red-100: #FFCDD2;
    --red-50: #FFEBEE;
    --text-900: #1A1A2E;
    --text-700: #374151;
    --text-500: #6B7280;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-700);
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--text-900); }
h1 { font-size: clamp(2.1rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

header {
    position: fixed; top: 0; width: 100%;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 0.625rem 0;
}
.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1140px; margin: 0 auto; padding: 0 1.5rem;
}
.logo {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 1.5rem; font-weight: 800; color: var(--green-800);
    text-decoration: none; letter-spacing: -0.02em;
}
.logo-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.header-nav { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; justify-content: flex-end; }
.header-link {
    color: var(--text-700); text-decoration: none; font-weight: 600; font-size: 0.875rem;
    padding: 0.4rem 0.6rem;
}
.header-link:hover { color: var(--green-800); }
.header-sec, .header-cta {
    display: inline-block; text-decoration: none; font-weight: 600;
    font-size: 0.875rem; padding: 0.5rem 1.125rem; border-radius: 8px;
    white-space: nowrap; transition: all 0.25s ease; text-align: center;
}
.header-sec { color: var(--green-800); border: 2px solid var(--green-800); background: transparent; }
.header-sec:hover { background: var(--green-800); color: var(--white); }
.header-cta { background: var(--green-800); color: var(--white); border: 2px solid var(--green-800); }
.header-cta:hover { background: var(--green-900); border-color: var(--green-900); }
.btn-short { display: none; }

.hero {
    padding: 8.5rem 1.5rem 4.5rem;
    background: linear-gradient(160deg, var(--text-900) 0%, #16213E 60%, var(--green-900) 100%);
    color: var(--white);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -40%; right: -15%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(27,94,32,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; text-align: center; }
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero-eyebrow {
    display: inline-block; font-size: 0.8125rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: rgba(255,255,255,0.75); margin-bottom: 1rem;
}
.hero-sub {
    font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
    color: rgba(255,255,255,0.92); line-height: 1.7;
    max-width: 680px; margin: 0 auto 2rem;
}
.hero-keywords {
    display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap;
    margin-bottom: 2rem;
}
.hero-keywords span {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px; padding: 0.35rem 0.85rem;
    font-size: 0.8125rem; font-weight: 600; color: rgba(255,255,255,0.9);
}
.hero-ctas {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.btn-hero-primary {
    display: inline-block; background: var(--white); color: var(--green-800);
    padding: 0.875rem 2rem; border-radius: var(--radius);
    text-decoration: none; font-weight: 700; font-size: 1rem;
    transition: all 0.25s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }
.btn-hero-secondary {
    display: inline-block; background: transparent; color: var(--white);
    padding: 0.875rem 2rem; border-radius: var(--radius);
    text-decoration: none; font-weight: 600; font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.5); transition: all 0.25s ease;
}
.btn-hero-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.hero-trust {
    display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap;
    font-size: 0.9375rem; font-weight: 500; color: rgba(255,255,255,0.85);
}

section { padding: 4.5rem 1.5rem; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head p { font-size: 1.125rem; color: var(--text-500); max-width: 640px; margin: 0.75rem auto 0; }
.section-tag {
    display: inline-block; font-size: 0.8125rem; font-weight: 700;
    color: var(--green-700); text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.problem { background: var(--gray-50); }
.problem-inner {
    max-width: 900px; margin: 0 auto;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: start;
}
.problem-list { list-style: none; padding: 0; margin: 1.25rem 0; }
.problem-list li {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.45rem 0; font-size: 0.9375rem;
}
.problem-list li::before {
    content: '\2715'; color: var(--red-600); font-weight: 700;
    font-size: 0.875rem; min-width: 1.25rem; padding-top: 0.125rem;
}
.problem-highlight {
    background: var(--red-50); border: 1px solid var(--red-100);
    border-radius: var(--radius); padding: 1.1rem 1.35rem;
    font-weight: 600; color: var(--text-900); font-size: 0.975rem; line-height: 1.6;
}
.p-card {
    background: var(--white); border-radius: var(--radius); padding: 1.25rem 1.35rem;
    display: flex; align-items: flex-start; gap: 0.85rem;
    box-shadow: var(--shadow-sm); margin-bottom: 0.85rem;
}
.p-card:last-child { margin-bottom: 0; }
.p-card-icon { font-size: 1.5rem; line-height: 1; }
.p-card h4 { font-size: 0.975rem; margin-bottom: 0.2rem; }
.p-card p { font-size: 0.875rem; color: var(--text-500); margin: 0; }

.services { background: var(--white); }
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.svc-card {
    text-align: left; padding: 1.75rem 1.5rem;
    background: var(--gray-50); border-radius: var(--radius-lg);
    transition: all 0.3s ease; border: 2px solid transparent;
    border-left: 4px solid var(--green-700);
}
.svc-card:hover {
    border-color: var(--green-700); background: var(--green-50);
    transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.svc-icon { font-size: 1.65rem; margin-bottom: 0.65rem; }
.svc-card h3 { font-size: 1rem; margin-bottom: 0.35rem; color: var(--green-800); }
.svc-card p { font-size: 0.875rem; color: var(--text-500); margin: 0; line-height: 1.6; }

.quality { background: var(--gray-50); }
.quality-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem; margin-bottom: 2rem;
}
.quality-item {
    display: flex; align-items: flex-start; gap: 0.875rem;
    background: var(--white); padding: 1.4rem; border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.quality-icon {
    width: 44px; height: 44px; min-width: 44px;
    background: var(--green-100); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.quality-item h4 { font-size: 0.9375rem; margin-bottom: 0.25rem; }
.quality-item p { font-size: 0.875rem; color: var(--text-500); margin: 0; }
.quality-item a { color: var(--green-700); font-weight: 600; text-decoration: none; }
.quality-item a:hover { text-decoration: underline; }
.quality-quote {
    max-width: 700px; margin: 0 auto; text-align: center;
    font-weight: 600; font-size: 1.0625rem; color: var(--green-800); line-height: 1.7;
    padding: 1.75rem; background: var(--green-50); border-radius: var(--radius-lg);
    border-left: 4px solid var(--green-700);
}

.how { background: var(--white); }
.how-steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.step { text-align: center; }
.step-num {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--green-800); color: var(--white);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.15rem; font-weight: 800; margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.4rem; font-size: 1rem; }
.step p { font-size: 0.9rem; color: var(--text-500); margin: 0; }

.related { background: var(--gray-50); }
.related-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.related-card {
    display: block; text-decoration: none; color: inherit;
    background: var(--white); border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200); transition: all 0.25s ease;
}
.related-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-md);
    border-color: var(--green-700);
}
.related-card h3 { color: var(--green-800); margin-bottom: 0.4rem; font-size: 1rem; }
.related-card p { font-size: 0.875rem; color: var(--text-500); margin: 0 0 0.75rem; }
.related-card .more { font-size: 0.875rem; font-weight: 700; color: var(--green-700); }

.faq { background: var(--white); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--gray-200); border-radius: var(--radius);
    margin-bottom: 0.75rem; overflow: hidden; background: var(--gray-50);
}
.faq-q {
    width: 100%; text-align: left; background: transparent; border: 0;
    padding: 1.1rem 1.25rem; font: inherit; font-weight: 600; color: var(--text-900);
    cursor: pointer; display: flex; justify-content: space-between; gap: 1rem;
}
.faq-q::after { content: '+'; color: var(--green-700); font-weight: 700; }
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-a { display: none; padding: 0 1.25rem 1.1rem; color: var(--text-500); font-size: 0.9375rem; }
.faq-item.open .faq-a { display: block; }
.faq-a a { color: var(--green-700); font-weight: 600; }

.final-cta {
    background: linear-gradient(160deg, var(--text-900) 0%, #16213E 55%, var(--green-900) 100%);
    text-align: center; color: var(--white);
}
.final-cta h2 { color: var(--white); margin-bottom: 0.75rem; }
.final-cta p {
    color: rgba(255,255,255,0.9); font-size: 1.125rem; margin-bottom: 2rem;
    max-width: 560px; margin-left: auto; margin-right: auto;
}
.btn-cta-white {
    display: inline-block; background: var(--white); color: var(--green-800);
    padding: 0.9rem 2rem; border-radius: var(--radius); text-decoration: none;
    font-weight: 700; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: all 0.25s ease;
}
.btn-cta-white:hover { transform: translateY(-3px); }
.cta-reassure { margin-top: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); }

footer {
    background: var(--text-900); color: rgba(255,255,255,0.7);
    padding: 2.5rem 1.5rem 2rem; text-align: center;
}
.footer-links {
    display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.footer-links a {
    color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.9rem;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
    color: rgba(255,255,255,0.45); font-size: 0.8125rem;
    padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-copy a { color: inherit; }

.wa-float {
    position: fixed; right: 1rem; bottom: 1rem; z-index: 999;
    background: #25D366; color: #fff; text-decoration: none;
    border-radius: 999px; padding: 0.75rem 1rem; font-weight: 700;
    font-size: 0.875rem; box-shadow: var(--shadow-md);
    display: inline-flex; gap: 0.5rem; align-items: center;
}
.wa-float .wa-short { display: none; }

@media (max-width: 900px) {
    .problem-inner { grid-template-columns: 1fr; }
    .how-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .header-link { display: none; }
    .btn-full { display: none; }
    .btn-short { display: inline; }
    .hero { padding: 6rem 1rem 2.75rem; }
    .how-steps { grid-template-columns: 1fr; }
    .wa-float .wa-full { display: none; }
    .wa-float .wa-short { display: inline; }
}
