/* ── CSS Custom Properties ── */
:root {
    --green-primary: #2E9E5B;
    --green-dark: #298E52;
    --green-light: #33AE64;
    --green-strong: #27864D;
    --green-hover: #216F41;
    --navy: #1B2A4A;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #6B6B6B;
    --bg-light: #f8faf5;
    --bg-gray: #f4f4f4;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --heading-font: 'Poppins', 'Segoe UI', Arial, sans-serif;
    --body-font: 'Merriweather', Georgia, serif;
    --transition: 0.3s ease;
    --transition-standard: 220ms ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--body-font);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

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

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.section-title {
    font-size: 2rem;
    color: var(--green-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--green-primary);
    border-radius: 2px;
}

.section { padding: 80px 0; }

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 0;
    height: 70px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-logo-img {
    height: 44px;
    width: auto;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo-text strong {
    font-family: var(--heading-font);
    font-size: 0.95rem;
    color: var(--navy);
    letter-spacing: 0.5px;
}

.nav-logo-text small {
    font-family: var(--heading-font);
    font-size: 0.6rem;
    color: var(--text-medium);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition);
}

.nav-link:hover { color: var(--green-strong); background: rgba(46, 158, 91, 0.08); }
.nav-link.active { color: var(--white); background: var(--green-strong); }

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

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ── Flash Messages ── */
.flash-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    max-width: 600px;
    width: 100%;
    padding: 0 16px;
}

.flash-message {
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--heading-font);
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 8px;
    animation: slideDown 0.4s ease;
}

.flash-success { background: var(--green-strong); color: var(--white); }
.flash-error { background: #b71c1c; color: var(--white); }
.flash-warning { background: #8a6a12; color: var(--white); }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--white);
    overflow: hidden;
    padding-top: 70px;
}

.hero-shape {
    position: absolute;
    top: -100px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    opacity: 0.08;
}

.hero-shape-2 {
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    opacity: 0.06;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-logo {
    height: 120px;
    width: auto;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--green-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-family: var(--heading-font);
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 580px;
}

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

/* ── Welcome overlay on hero ── */
.hero-welcome {
    max-width: 650px;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem 1.5rem;
    border-radius: var(--radius);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15));
}

.hero-welcome-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.9rem;
    padding-bottom: 0.7rem;
    position: relative;
}

.hero-welcome-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: #8CC63F;
}

.hero-welcome p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 0.6rem;
}

.hero-welcome p:last-child { margin-bottom: 0; }

/* ── Hero entrance sequence ──
   Staged fade-up on load: welcome text, then CTAs. */
.hero-welcome,
.hero-buttons {
    opacity: 0;
    animation: heroFadeUp 0.6s ease-out forwards;
}

.hero-welcome { animation-delay: 0.15s; }
.hero-buttons { animation-delay: 0.45s; }

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Very restrained glow pulse on the hero CTA (4s cycle, low intensity) */
.hero-buttons .btn-primary {
    animation: heroCtaGlow 4s ease-in-out infinite;
}

@keyframes heroCtaGlow {
    0%, 100% { box-shadow: 0 4px 12px rgba(41, 142, 82, 0.25); }
    50% { box-shadow: 0 4px 22px rgba(46, 158, 91, 0.45); }
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--green-strong);
    color: var(--white);
    border-color: var(--green-strong);
}

.btn-primary:hover {
    background: var(--green-hover);
    border-color: var(--green-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 111, 65, 0.3);
}

.btn-secondary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-secondary:hover {
    background: #15233F;
    border-color: #15233F;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 42, 74, 0.35);
}

.btn:focus-visible {
    outline: 2px solid var(--green-primary);
    outline-offset: 2px;
}

.nav-link:focus-visible,
.nav-toggle:focus-visible {
    outline: 2px solid var(--green-primary);
    outline-offset: 2px;
}

.accordion-header:focus-visible {
    outline: 2px solid var(--green-primary);
    outline-offset: -2px;
}

/* ── Snapshot Strip (navy bar hosting the stats grid) ── */
.snapshot-strip {
    background: var(--navy);
    padding: 48px 0;
}

/* ── Intro Section ── */
.intro-section { background: var(--bg-light); }

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.intro-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-accent {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    opacity: 0.15;
    border-radius: var(--radius);
}

/* ── Page Header ── */
.page-header {
    padding: 120px 0 60px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    opacity: 0.06;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-family: var(--heading-font);
    font-size: 1rem;
    color: var(--text-medium);
}

/* ── Content Block ── */
.content-block {
    margin-bottom: 60px;
}

.content-block h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.content-block-alt {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

.content-block-box {
    padding: 40px;
    border-radius: var(--radius);
}

.content-block p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--green-primary);
}

.mt-2 { margin-top: 1.5rem !important; }

/* ── Values Grid ── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 2rem;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}

.value-card:hover {
    border-color: var(--green-primary);
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.value-icon {
    font-size: 2rem;
    color: var(--green-primary);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ── Accreditation ── */
.accreditation-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.icap-seal { width: 120px; height: 120px; flex-shrink: 0; }

.accreditation-text h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.accreditation-text p { color: var(--text-medium); font-size: 0.95rem; }
.accreditation-text strong { color: var(--green-strong); }

/* ── Process Flow ── */
.process-flow {
    max-width: 700px;
    margin: 2rem auto 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green-strong);
    color: var(--white);
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    padding-bottom: 32px;
}

.step-content h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.step-arrow {
    position: absolute;
    left: 22px;
    bottom: 4px;
    color: var(--green-primary);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ── Services Grid ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: transform var(--transition-standard), box-shadow var(--transition-standard), border-color var(--transition-standard);
}

.service-card:hover {
    border-color: var(--green-primary);
    box-shadow: 0 10px 32px rgba(27, 42, 74, 0.14);
    transform: translateY(-6px);
}

.service-card:focus-visible {
    outline: 2px solid var(--green-primary);
    outline-offset: 2px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(46, 158, 91, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--green-primary);
    margin-bottom: 1.25rem;
}

.service-title {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.service-summary {
    font-size: 0.88rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-medium);
    font-size: 0.88rem;
}

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

/* ── Services Tabs ── */
.services-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border);
}

.tab-btn {
    font-family: var(--heading-font);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 14px 22px;
    border: 2px solid var(--border);
    border-bottom: none;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: var(--bg-light);
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    margin-bottom: -2px;
}

.tab-btn i {
    font-size: 1rem;
    color: var(--green-primary);
    transition: color 0.2s ease;
}

.tab-btn:hover {
    background: rgba(46, 158, 91, 0.08);
    border-color: var(--green-primary);
}

.tab-btn:focus-visible {
    outline: 2px solid var(--green-primary);
    outline-offset: 2px;
}

.tab-btn.active {
    background: var(--green-strong);
    color: var(--white);
    border-color: var(--green-strong);
}

.tab-btn.active i {
    color: var(--white);
}

.tab-panels {
    position: relative;
    min-height: 200px;
}

.tab-panel {
    display: none;
    border-radius: var(--radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.tab-panel.active {
    display: block;
    animation: tabFadeIn 0.2s ease;
}

.tab-panel .service-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
}

.tab-panel .service-card:hover {
    transform: translateY(-6px);
    border-color: var(--green-primary);
    box-shadow: 0 10px 32px rgba(27, 42, 74, 0.2);
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .services-tabs {
        border-bottom: none;
        gap: 8px;
    }

    .tab-btn {
        flex: 1 1 calc(50% - 4px);
        border-radius: var(--radius-sm);
        border: 2px solid var(--border);
        justify-content: center;
        white-space: normal;
        text-align: center;
        margin-bottom: 0;
    }

    .tab-btn.active {
        border-color: var(--green-strong);
    }
}

@media (max-width: 480px) {
    .tab-btn {
        flex: 1 1 100%;
    }
}

/* ── Team Grid ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: transform var(--transition-standard), box-shadow var(--transition-standard), border-color var(--transition-standard);
}

.team-card:hover {
    box-shadow: 0 10px 32px rgba(27, 42, 74, 0.14);
    transform: translateY(-6px);
    border-color: var(--green-primary);
}

.team-card:focus-visible {
    outline: 2px solid var(--green-primary);
    outline-offset: 2px;
}

.team-avatar {
    margin-bottom: 1.25rem;
    overflow: hidden;
    border-radius: 50%;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
    transition: transform var(--transition-standard);
}

.team-card:hover .avatar-placeholder {
    transform: scale(1.06);
}

.team-name {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.team-designation {
    font-family: var(--heading-font);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-strong);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-desc {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

/* ── Clients ── */
.clients-strip {
    padding: 40px 0;
    background: var(--navy);
}

.stat-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-big {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 800;
    color: var(--green-primary);
    line-height: 1;
}

.stat-text {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.stat-text strong { color: var(--green-light); }

/* ── Search ── */
.clients-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-family: var(--heading-font);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--green-primary);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
}

/* ── Accordion ── */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.accordion-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition);
}

.accordion-panel:hover {
    border-color: var(--green-primary);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    transition: background var(--transition);
}

.accordion-header:hover {
    background: rgba(46, 158, 91, 0.04);
}

.accordion-title {
    flex: 1;
}

.accordion-badge {
    background: var(--green-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    min-width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.accordion-icon {
    color: var(--text-light);
    font-size: 0.85rem;
    transition: transform var(--transition);
    flex-shrink: 0;
}

.accordion-panel.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.accordion-panel.active .accordion-body {
    max-height: 2000px;
}

.accordion-content {
    padding: 0 24px 20px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.client-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 32px;
}

.client-list li {
    font-size: 0.85rem;
    color: var(--text-medium);
    padding: 4px 0 4px 18px;
    position: relative;
    line-height: 1.5;
    break-inside: avoid;
}

.client-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background: var(--green-primary);
    border-radius: 50%;
    opacity: 0.5;
}

.client-list li.client-brand {
    padding-left: 0;
}

.client-list li.client-brand::before {
    display: none;
}

.client-parent {
    font-weight: 600;
    color: var(--text-dark);
}

.client-brand-detail {
    display: block;
    padding-left: 20px;
    font-size: 0.8rem;
    color: var(--green-strong);
    font-style: italic;
}

/* ── No Results ── */
.no-results {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.no-results p {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    color: var(--text-medium);
}

/* ── Accordion panel hidden by search ── */
.accordion-panel.hidden-by-search {
    display: none;
}

/* ── Clients Grid ── */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.client-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    transition: transform var(--transition-standard), box-shadow var(--transition-standard), border-color var(--transition-standard);
}

.client-card:hover {
    border-color: var(--green-primary);
    box-shadow: 0 10px 30px rgba(27, 42, 74, 0.12);
    transform: translateY(-6px);
}

.client-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
}

/* ── Contact ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail i {
    width: 44px;
    height: 44px;
    background: rgba(46, 158, 91, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--green-primary);
    flex-shrink: 0;
}

.contact-detail strong {
    font-family: var(--heading-font);
    font-size: 0.85rem;
    color: var(--text-dark);
    display: block;
    margin-bottom: 2px;
}

.contact-detail p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
}

.map-container {
    margin-top: 32px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.map-link {
    display: block;
    cursor: pointer;
    position: relative;
}

.map-link::after {
    content: 'Open in Google Maps \f08e';
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 0.85rem;
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--white);
    color: var(--navy);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 2;
}

.map-link:hover::after {
    opacity: 1;
}

.map-link iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
    pointer-events: none;
}

.contact-form-wrap {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.form-contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    background: rgba(46, 158, 91, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    border-left: 4px solid var(--green-primary);
}

.form-contact-info strong {
    font-family: var(--heading-font);
    font-size: 0.9rem;
    color: var(--navy);
}

.form-contact-info span {
    font-family: var(--heading-font);
    font-size: 0.85rem;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-contact-info span i {
    color: var(--green-primary);
    width: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--heading-font);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--body-font);
    font-size: 0.9rem;
    transition: border-color var(--transition);
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-primary);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* Honeypot spam trap — off-screen, not display:none (bots skip display:none) */
.hp-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form .btn { align-self: flex-start; }

/* ── Green Accent Band (decorative divider) ── */
.stats-band {
    height: 10px;
    background: linear-gradient(120deg, var(--green-dark), var(--green-primary));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--heading-font);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-family: var(--heading-font);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .stat-number { font-size: 2.2rem; }
}

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

/* ── Footer ── */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 0;
    margin-top: 80px;
}

.page-home .footer { margin-top: 0; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    font-size: 1rem;
    color: var(--green-light);
    margin-bottom: 1.25rem;
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
    font-family: var(--heading-font);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--green-light); }

.footer-contact li {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--green-primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-logo {
    height: 28px;
    width: auto;
    opacity: 0.35;
    filter: grayscale(1);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--heading-font);
}

/* ── Client Ticker ── */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: var(--green-strong);
    padding: 10px 0;
    margin-top: 70px;
    position: relative;
    z-index: 5;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.ticker-track {
    display: inline-flex;
    gap: 0;
    white-space: nowrap;
    animation: ticker-scroll 200s linear infinite;
}

.ticker-wrap:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    font-family: var(--heading-font);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.3px;
    padding: 0 16px;
    position: relative;
}

.ticker-item + .ticker-item::before {
    content: '\2022';
    position: absolute;
    left: -2px;
    color: rgba(255, 255, 255, 0.4);
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .ticker-track::-webkit-scrollbar { display: none; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.8rem; }
    .services-grid { gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-menu.active { display: flex; }

    .nav-link { padding: 12px 16px; width: 100%; }
    .ticker-wrap { padding: 8px 0; }
    .ticker-item { font-size: 0.78rem; padding: 0 12px; }
    .nav-logo-text { display: none; }
    .hero-logo { height: 80px; }

    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 0.9rem; letter-spacing: 2px; }
    .hero-content { max-width: 100%; }

    .section-title { font-size: 1.6rem; }
    .section { padding: 60px 0; }
    .page-header { padding: 100px 0 40px; }
    .page-header h1 { font-size: 1.8rem; }

    .snapshot-strip { padding: 36px 0; }
    .hero-welcome { margin-bottom: 1.5rem; padding: 1rem 1.25rem; }
    .hero-welcome-title { font-size: 1.25rem; }
    .hero-welcome p { font-size: 0.85rem; }
    .intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .client-list { grid-template-columns: 1fr; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .accreditation-card { flex-direction: column; text-align: center; padding: 28px; }
    .contact-section.photo-contact { background-attachment: scroll; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-logo { height: 60px; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .hero-welcome { margin-bottom: 1.25rem; padding: 0.9rem 1rem; }
    .hero-welcome-title { font-size: 1.1rem; }
    .hero-welcome p { font-size: 0.8rem; line-height: 1.65; }
    .values-grid { grid-template-columns: 1fr; }
    .client-list { grid-template-columns: 1fr; }
    .clients-grid { grid-template-columns: 1fr; }
}

/* ── Reduced Motion ──
   Static, instant equivalents for users who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .hero-welcome,
    .hero-buttons {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .hero-buttons .btn-primary { animation: none; }
    .step-arrow { animation: none; }
    .hero-scroll-cue { animation: none; }
    .skeleton-shimmer::after { animation: none; }
}

/* ── Scroll Cue (Hero) ── */
.hero-scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    z-index: 2;
    color: var(--white);
    font-size: 1.25rem;
    opacity: 0.85;
    pointer-events: none;
    transform: translateX(-50%);
    animation: scrollCueBounce 2.4s ease-in-out infinite;
    transition: opacity 0.45s ease;
}

.hero-scroll-cue.is-hidden { opacity: 0; }

@keyframes scrollCueBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(9px); }
}

/* ── Pull Quotes ── */
.pull-quote {
    padding: 72px 0;
    text-align: center;
    background: var(--white);
}

.pull-quote .quote-icon {
    display: block;
    font-size: 1.6rem;
    color: var(--green-primary);
    margin-bottom: 1rem;
}

.pull-quote blockquote {
    max-width: 760px;
    margin: 0 auto;
    font-family: var(--body-font);
    font-size: 1.45rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1.65;
    color: var(--navy);
}

.pull-quote .quote-bar {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: var(--green-primary);
    margin: 1.5rem auto 0;
}

/* ── Error Pages ── */
.error-section {
    padding: 120px 0 80px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-container {
    position: relative;
    text-align: center;
}

.error-code {
    font-family: var(--heading-font);
    font-size: 12rem;
    font-weight: 800;
    line-height: 1;
    color: var(--green-primary);
    opacity: 0.08;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.error-card {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.error-logo {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.5rem;
}

.error-title {
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 1.75rem;
}

.error-phone {
    font-family: var(--heading-font);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--green-strong);
    margin-bottom: 1.75rem;
}

.error-phone i {
    margin-right: 6px;
}

.error-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.error-links a {
    font-family: var(--heading-font);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition);
}

.error-links a:hover {
    color: var(--green-strong);
    background: rgba(46, 158, 91, 0.08);
}

@media (max-width: 768px) {
    .error-section { padding: 90px 0 60px; }
    .error-code { font-size: 8rem; }
    .error-title { font-size: 1.7rem; }
}

@media (max-width: 480px) {
    .error-code { font-size: 6rem; }
}

/* ── Skeleton / Shimmer ── */
.stats-skeleton {
    min-height: 104px;
    border-radius: var(--radius);
    margin-bottom: 32px;
}

.skeleton-shimmer {
    position: relative;
    overflow: hidden;
    background: #e4e9e4;
}

.skeleton-shimmer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: skeletonSweep 1.3s ease-in-out infinite;
}

@keyframes skeletonSweep {
    to { transform: translateX(100%); }
}

/* ── Service Outcome Sentences ── */
.service-outcome {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--green-strong);
}

/* ── Section CTAs ── */
.services-cta,
.team-cta,
.clients-cta {
    margin-top: 48px;
    text-align: center;
}

@media (max-width: 768px) {
    .pull-quote { padding: 48px 0; }
    .pull-quote blockquote { font-size: 1.2rem; }
}
