:root {
    --green: #174b35;
    --green-dark: #103b29;
    --green-light: #eaf3ed;
    --gold: #c49a43;
    --ink: #202b25;
    --muted: #69756e;
    --white: #fff;
    --surface: #f6f8f5;
    --border: #e5ebe5;
    --heading: 'Manrope', sans-serif;
    --body: 'Inter', sans-serif;
    --shadow: 0 12px 35px rgba(20, 55, 37, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--body);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.7;
    background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

h1, h2, h3, h4 {
    font-family: var(--heading);
    line-height: 1.2;
    color: var(--green-dark);
    margin: 0 0 18px;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.65rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 18px; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 680px; }

.topbar { background: var(--green-dark); color: #fff; font-size: 13px; }
.topbar-inner {
    min-height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.topbar a { color: #f0d99e; font-weight: 600; }

.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}
.nav-container {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand img { width: 195px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 23px; }
.primary-nav a {
    font-size: 13px;
    font-weight: 600;
    color: #35443a;
    transition: color .2s;
}
.primary-nav a:hover, .primary-nav a.active { color: var(--green); }
.primary-nav a.active { box-shadow: inset 0 -3px var(--gold); padding-bottom: 8px; }
.primary-nav .nav-cta {
    background: var(--green);
    color: white;
    padding: 12px 19px;
    border-radius: 5px;
}
.primary-nav .nav-cta:hover { background: var(--green-dark); color: white; }
.menu-toggle { display: none; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: white; padding: 12px; z-index: 2000;
}
.skip-link:focus { left: 10px; }

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 13px 23px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 15px;
    transition: .2s ease;
}
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green-light); }
.btn-gold { background: var(--gold); color: #1c281f; }

.section { padding: 86px 0; }
.section-soft { background: var(--surface); }
.section-heading { max-width: 700px; margin-bottom: 38px; }
.eyebrow {
    display: inline-block;
    color: #997126;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 13px;
}
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 45px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.image-frame { overflow: hidden; border-radius: 9px; box-shadow: var(--shadow); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 27px;
    box-shadow: 0 5px 20px rgba(20,55,37,.035);
}
.card img { border-radius: 6px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; }
.card p { color: var(--muted); }
.card-link { color: var(--green); font-weight: 700; }
.cta-band {
    background: var(--green);
    color: white;
    padding: 55px 0;
}
.cta-band h2 { color: white; }
.cta-band p { color: rgba(255,255,255,.82); }

.page-hero {
    padding: 76px 0;
    background: var(--green-light);
}
.page-hero p { max-width: 680px; color: var(--muted); font-size: 17px; }
.breadcrumb { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.breadcrumb a { color: var(--green); font-weight: 600; }

.site-footer { background: #102f23; color: #e8eee9; }
.footer-grid {
    padding-top: 65px;
    padding-bottom: 55px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
    gap: 38px;
}
.footer-brand img { width: 190px; background: white; border-radius: 4px; padding: 5px; margin-bottom: 17px; }
.footer-brand p { color: #c3d0c7; font-size: 14px; }
.site-footer h3 { color: white; font-size: 16px; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 11px; font-size: 14px; }
.site-footer a:hover { color: #f0d99e; }
.site-footer p { font-size: 14px; }
.footer-map { color: #f0d99e; font-weight: 700; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); }
.footer-bottom-inner {
    min-height: 60px; display: flex; justify-content: space-between;
    align-items: center; gap: 15px;
}
.footer-bottom p { color: #bdcbc1; margin: 0; font-size: 12px; }

@media (max-width: 1050px) {
    .primary-nav { gap: 13px; }
    .primary-nav a { font-size: 12px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .container { width: min(100% - 32px, 560px); }
    .topbar-inner { min-height: 36px; justify-content: center; }
    .topbar-inner span { display: none; }
    .nav-container { min-height: 72px; }
    .brand img { width: 165px; }
    .menu-toggle {
        width: 46px; height: 46px; border: 1px solid var(--border);
        border-radius: 5px; background: white; display: flex;
        flex-direction: column; justify-content: center; align-items: center;
        gap: 5px; cursor: pointer;
    }
    .menu-toggle span { display: block; width: 20px; height: 2px; background: var(--green); }
    .primary-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: white; padding: 15px 22px 23px;
        border-top: 1px solid var(--border); box-shadow: var(--shadow);
        flex-direction: column; align-items: stretch; gap: 0;
    }
    .primary-nav.open { display: flex; }
    .primary-nav a { font-size: 15px; padding: 13px 5px; border-bottom: 1px solid var(--border); }
    .primary-nav a.active { box-shadow: none; }
    .primary-nav .nav-cta { text-align: center; margin-top: 12px; padding: 13px; }
    .section { padding: 60px 0; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 25px; }
    .page-hero { padding: 53px 0; }
    .lead { font-size: 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-top: 45px; }
    .footer-bottom-inner { padding-top: 17px; padding-bottom: 17px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ===== YEBEPHA HOMEPAGE ===== */
.home-hero {
    background: var(--green-dark);
    color: white;
    padding: 65px 0 75px;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 55px;
}
.hero-copy h1 { color: white; max-width: 600px; margin: 12px 0 23px; }
.hero-copy h1 span { color: #e2c176; }
.hero-copy > p { color: #d9e4dc; font-size: 17px; max-width: 520px; }
.hero-copy .eyebrow { color: #e2c176; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 29px; }
.btn-light-outline { border: 1px solid rgba(255,255,255,.7); color: white; }
.btn-light-outline:hover { background: rgba(255,255,255,.12); }
.hero-location { margin-top: 25px; color: #c5d4c9; font-size: 13px; }
.location-dot {
    display: inline-block; width: 8px; height: 8px;
    background: #e2c176; border-radius: 50%; margin-right: 8px;
}
.hero-image { position: relative; }
.hero-image img {
    width: 100%; aspect-ratio: 1.25 / 1;
    object-fit: cover; border-radius: 10px;
}
.hero-image-caption {
    position: absolute; left: 18px; right: 18px; bottom: 18px;
    padding: 17px 20px; border-radius: 6px;
    background: rgba(13,45,31,.9); color: white;
    display: flex; flex-direction: column;
}
.hero-image-caption span { color: #d2dfd6; font-size: 12px; }
.trust-strip { border-bottom: 1px solid var(--border); }
.trust-grid {
    display: grid; grid-template-columns: repeat(4,1fr);
    padding: 25px 0; gap: 20px;
}
.trust-grid div { display: flex; flex-direction: column; }
.trust-grid strong { color: var(--green); font-family: var(--heading); }
.trust-grid span { font-size: 12px; color: var(--muted); }
.about-image { position: relative; }
.about-image img { aspect-ratio: 1.15 / 1; }
.image-accent {
    position: absolute; width: 60px; height: 60px;
    border: 5px solid var(--gold); right: -12px; bottom: -12px;
    border-radius: 5px; pointer-events: none;
}
.service-preview-grid { gap: 25px; }
.service-card { position: relative; padding: 34px; }
.service-icon {
    color: var(--gold); font-family: var(--heading);
    font-size: 30px; font-weight: 800; margin-bottom: 17px;
}
.sustainability-image img { aspect-ratio: 1.2 / 1; }
.team-link { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.cta-content { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-content > div:first-child { max-width: 670px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media(max-width:760px) {
    .home-hero { padding: 48px 0 52px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-copy h1 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
    .hero-copy > p { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .hero-image img { aspect-ratio: 1.15 / 1; }
    .trust-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
    .image-accent { display: none; }
    .service-card { padding: 25px; }
    .team-link { flex-direction: column; }
    .cta-content { flex-direction: column; align-items: flex-start; }
    .cta-actions { width: 100%; flex-direction: column; }
    .cta-actions .btn { width: 100%; }
}

/* =========================================
   YEBEPHA SANITATION - DESIGN REFINEMENTS
   ========================================= */

:root {
    --green: #174b35;
    --green-dark: #103b29;
    --green-light: #eaf3ed;
    --gold: #c49a43;
    --ink: #202b25;
    --muted: #69756e;
    --surface: #f6f8f5;
    --border: #e5ebe5;
    --shadow: 0 14px 38px rgba(16, 59, 41, .10);
}

/* Consistent sticky header and unchanged logo */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 18px rgba(16, 59, 41, .045);
}

.nav-container {
    min-height: 88px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand img {
    display: block;
    width: 195px;
    height: auto;
    max-height: none;
    object-fit: contain;
    transition: none !important;
    transform: none !important;
}

/* Office location information bar */
.topbar {
    background: var(--green-dark);
    color: #fff;
    font-size: 12px;
}

.topbar-inner {
    min-height: 40px;
}

.topbar-location {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-weight: 600;
}

.topbar-location > span:first-child {
    color: #e2c176;
    font-size: 18px;
}

.topbar-location .topbar-directions {
    color: #f0d99e;
    font-weight: 700;
    margin-left: 5px;
}

.topbar a:hover {
    color: #fff;
}

/* Main navigation */
.primary-nav {
    gap: 19px;
}

.primary-nav a {
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}

.primary-nav .nav-cta {
    padding: 13px 19px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: var(--green);
    color: #fff;
}

.primary-nav .nav-cta:hover {
    background: var(--green-dark);
    color: #fff;
    transform: translateY(-1px);
}

.menu-toggle {
    min-width: 46px;
    min-height: 46px;
}

/* Improved buttons and keyboard accessibility */
.btn {
    min-height: 50px;
    padding: 14px 24px;
    font-size: 15px;
    border-radius: 5px;
}

.btn-gold {
    background: #e2c176;
    color: #193526;
    font-weight: 800;
}

.btn-gold:hover {
    background: #efd493;
    transform: translateY(-2px);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #d6ad58;
    outline-offset: 4px;
}

/* Footer refinement */
.site-footer {
    background: #102f23;
    color: #e8eee9;
}

.footer-grid {
    padding-top: 72px;
    padding-bottom: 62px;
    gap: 42px;
}

.footer-brand img {
    width: 190px;
    height: auto;
    background: #fff;
    border-radius: 5px;
    padding: 7px;
}

.footer-brand .footer-tagline {
    color: #f0d99e;
    font-family: var(--heading);
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-brand p,
.footer-location p {
    line-height: 1.8;
}

.footer-location {
    overflow-wrap: anywhere;
}

.footer-coordinates {
    margin-top: 18px;
    padding: 12px 14px;
    border-left: 3px solid var(--gold);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 13px;
}

.footer-coordinates span {
    color: #c3d0c7;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.footer-map {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    color: #f0d99e;
    font-weight: 800;
}

.footer-note {
    color: #bdcbc1;
    font-size: 12px;
}

.footer-bottom-inner {
    min-height: 68px;
}

/* Responsive layout */
@media (max-width: 1050px) {
    .primary-nav {
        gap: 11px;
    }

    .primary-nav a {
        font-size: 12px;
    }

    .brand img {
        width: 180px;
    }
}

@media (max-width: 760px) {
    .nav-container {
        min-height: 72px;
        gap: 15px;
    }

    .brand img {
        width: 165px;
        height: auto;
    }

    .topbar-inner {
        min-height: 36px;
        justify-content: center;
    }

    .topbar-inner > a:last-child {
        display: none;
    }

    .topbar-location {
        font-size: 11px;
    }

    .topbar-location .topbar-directions {
        display: none;
    }

    .primary-nav {
        top: 100%;
        padding: 12px 20px 22px;
        gap: 0;
    }

    .primary-nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
        font-size: 15px;
    }

    .primary-nav .nav-cta {
        justify-content: center;
        margin-top: 12px;
        min-height: 50px;
    }

    .footer-grid {
        padding-top: 48px;
        padding-bottom: 42px;
        gap: 30px 20px;
    }
}

@media (max-width: 420px) {
    .brand img {
        width: 155px;
    }

    .topbar-location {
        font-size: 10px;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ===== HOMEPAGE: OPERATIONS AND OFFICE LOCATION ===== */

.operations-grid {
    align-items: stretch;
}

.operation-card {
    padding: 16px;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.operation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.operation-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
}

.operation-card h3 {
    margin-bottom: 10px;
}

.operation-card p {
    font-size: 14px;
    margin-bottom: 5px;
}

.services-cta {
    margin-top: 30px;
}

.location-section .section-heading {
    max-width: 720px;
}

.location-panel {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.location-details {
    padding: 38px;
    align-self: center;
}

.location-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #997126;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.location-details h3 {
    font-size: 25px;
}

.location-details > p {
    color: var(--muted);
    line-height: 1.8;
}

.location-coordinate-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 24px 0;
    padding: 15px;
    border-left: 3px solid var(--gold);
    background: #fff;
}

.location-coordinate-box span {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.location-coordinate-box strong {
    color: var(--green-dark);
    font-family: var(--heading);
    font-size: 17px;
}

.location-map {
    min-height: 420px;
    background: #e8eee9;
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

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

    .operation-card {
        padding: 18px;
    }

    .location-panel {
        grid-template-columns: 1fr;
    }

    .location-details {
        padding: 28px 23px;
    }

    .location-map,
    .location-map iframe {
        min-height: 340px;
    }
}

/* =========================================
   INNER PAGE REFINEMENTS
   ========================================= */

.breadcrumb {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.image-frame {
    overflow: hidden;
    border-radius: 16px;
    background: #edf2ed;
}

.image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.service-card {
    overflow: hidden;
    padding: 0;
}

.service-card .image-frame {
    border-radius: 0;
}

.service-card .image-frame img {
    height: 260px;
    min-height: 0;
}

.service-card-content {
    padding: 28px;
}

.check-list {
    padding-left: 20px;
    margin: 18px 0;
}

.check-list li {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.65;
}

.text-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

/* Sustainability and team cards */

.sustainability-card,
.team-role-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.status-label,
.team-count {
    display: inline-block;
    margin-top: auto;
    padding-top: 16px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.team-total-card {
    border: 1px solid var(--primary);
    background: #f1f6f0;
}

/* Gallery */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    min-width: 0;
    overflow: hidden;
    margin: 0;
    border-radius: 16px;
    background: #f4f6f3;
    box-shadow: 0 8px 24px rgba(20, 50, 30, 0.08);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 310px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.035);
}

.gallery-item figcaption {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 18px 20px;
}

.gallery-item figcaption strong {
    color: var(--heading, #173b27);
    font-size: 17px;
}

.gallery-item figcaption span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.gallery-item-large,
.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item-large img,
.gallery-item-wide img {
    height: 390px;
}

/* Contact page */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 48px;
    align-items: start;
}

.contact-information h2,
.contact-form-panel h2 {
    margin-bottom: 16px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 28px;
}

.contact-detail-icon {
    display: flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf2e9;
    color: var(--primary);
    font-weight: 800;
}

.contact-detail h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.contact-detail p {
    margin: 0 0 7px;
    color: var(--muted);
    line-height: 1.6;
}

.contact-detail a {
    display: block;
    width: fit-content;
    margin: 5px 0;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-form-panel {
    padding: 34px;
    border: 1px solid var(--border, #e2e9e2);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(20, 50, 30, 0.07);
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
}

.contact-note {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border, #e2e9e2);
}

.contact-note h3 {
    margin-bottom: 12px;
}

/* Keyboard accessibility */

a:focus-visible,
button:focus-visible {
    outline: 3px solid #c69a35;
    outline-offset: 4px;
}

/* Responsive refinements */

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

    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 1;
    }

    .gallery-item img,
    .gallery-item-large img,
    .gallery-item-wide img {
        height: 260px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

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

    .service-card-content {
        padding: 23px;
    }

    .image-frame img {
        min-height: 220px;
    }
}

@media (max-width: 420px) {
    .gallery-item img,
    .gallery-item-large img,
    .gallery-item-wide img {
        height: 220px;
    }

    .contact-form-panel {
        padding: 20px;
    }
}

