:root {
    --pub-deep-green: #004d28;
    --pub-bright-green: #0a8f42;
    --pub-gold: #e6b422;
    --pub-gold-light: #f5d060;
    --pub-soft-bg: #f3f7f4;
    --pub-white: #ffffff;
    --pub-text: #142820;
    --pub-muted: #5c6d63;
    --pub-shadow: 0 8px 32px rgba(0, 77, 40, 0.1);
    --pub-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.22);
    --pub-radius: 18px;
    --pub-nav-height: 72px;
    --pub-page-pad: clamp(1rem, 3.5vw, 2.75rem);
}

/* Full-width page shell — uses nearly entire viewport */
.pub-page-container {
    width: 100%;
    max-width: 100%;
    padding-left: var(--pub-page-pad);
    padding-right: var(--pub-page-pad);
    margin-left: auto;
    margin-right: auto;
}

/* ─── Header / Navbar ────────────────────────────────── */
.pub-header {
    z-index: 1030;
}

.pub-header-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--pub-gold) 0%, var(--pub-gold-light) 50%, var(--pub-gold) 100%);
}

.pub-topbar {
    background: #001f10;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pub-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    flex-wrap: wrap;
}

.pub-topbar-contact {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.pub-topbar-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.pub-topbar-contact a:hover {
    color: var(--pub-gold);
}

.pub-topbar i {
    color: var(--pub-gold);
    margin-right: 0.25rem;
}

.pub-navbar {
    background: #002818 !important;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    min-height: var(--pub-nav-height);
}

.pub-navbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: var(--pub-nav-height);
    gap: 0.5rem;
}

.pub-navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    text-decoration: none;
    flex-shrink: 0;
}

.pub-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: #fff;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.pub-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pub-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.pub-brand-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    letter-spacing: 0.06em;
}

.pub-brand-subtitle {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    white-space: nowrap;
}

.pub-navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.35rem 0.55rem;
}

.pub-nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.pub-navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.25rem;
}

.pub-navbar .nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.45rem 1rem !important;
    border-radius: 999px;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
    letter-spacing: 0.01em;
}

.pub-navbar .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
}

.pub-navbar .nav-link.active {
    background: #fff !important;
    color: var(--pub-deep-green) !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.pub-nav-dropdown {
    background: #fff !important;
    border: 1px solid #e8eeea;
    border-radius: 14px;
    padding: 0.5rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    margin-top: 0.65rem;
    min-width: 260px;
}

.pub-nav-dropdown .dropdown-item {
    color: var(--pub-text);
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 500;
}

.pub-nav-dropdown .dropdown-item i {
    color: var(--pub-bright-green);
    font-size: 1rem;
}

.pub-nav-dropdown .dropdown-item:hover,
.pub-nav-dropdown .dropdown-item:focus {
    background: var(--pub-soft-bg);
    color: var(--pub-deep-green);
}

.pub-nav-dropdown .dropdown-item.active {
    background: rgba(10, 143, 66, 0.1);
    color: var(--pub-deep-green);
    font-weight: 600;
}

.pub-nav-dropdown .dropdown-divider {
    border-color: #e8eeea;
    margin: 0.35rem 0;
}

.pub-nav-auth {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.pub-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.48rem 1.1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    line-height: 1.4;
}

.pub-nav-btn--primary {
    background: var(--pub-gold);
    color: var(--pub-deep-green);
    box-shadow: 0 2px 10px rgba(230, 180, 34, 0.35);
}

.pub-nav-btn--primary:hover {
    background: var(--pub-gold-light);
    color: var(--pub-deep-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(230, 180, 34, 0.45);
}

.pub-nav-btn--outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.pub-nav-btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

/* ─── Rotating globe (hero accent) ─────────────────────── */
.pub-globe-scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.pub-globe {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pub-globe-sphere {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset -18px -12px 36px rgba(0, 0, 0, 0.45),
        inset 8px 8px 20px rgba(255, 255, 255, 0.12),
        0 12px 36px rgba(0, 0, 0, 0.28),
        0 0 40px rgba(10, 143, 66, 0.2);
    background: radial-gradient(circle at 32% 28%, #3dafff 0%, #1a7fc4 35%, #0c4d78 70%, #062a42 100%);
}

.pub-globe-surface {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(ellipse 22% 18% at 28% 38%, #2d9a52 0%, transparent 100%),
        radial-gradient(ellipse 18% 14% at 52% 48%, #3cb868 0%, transparent 100%),
        radial-gradient(ellipse 16% 12% at 38% 22%, #2d9a52 0%, transparent 100%),
        radial-gradient(ellipse 20% 16% at 68% 32%, #2d9a52 0%, transparent 100%),
        radial-gradient(ellipse 14% 12% at 72% 58%, #3cb868 0%, transparent 100%),
        radial-gradient(ellipse 12% 10% at 18% 62%, #2d9a52 0%, transparent 100%),
        radial-gradient(ellipse 10% 8% at 85% 45%, #2d9a52 0%, transparent 100%),
        radial-gradient(ellipse 8% 7% at 45% 68%, #3cb868 0%, transparent 100%);
    animation: pubGlobeSpin 24s linear infinite;
}

.pub-globe-shine {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.45) 0%, transparent 42%);
    pointer-events: none;
}

.pub-globe-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(230, 180, 34, 0.35);
    pointer-events: none;
}

.pub-globe-ring--1 {
    width: 300px;
    height: 300px;
    animation: pubGlobeRingPulse 4s ease-in-out infinite;
}

.pub-globe-ring--2 {
    width: 330px;
    height: 330px;
    border-color: rgba(255, 255, 255, 0.12);
    animation: pubGlobeRingPulse 4s ease-in-out infinite 0.5s;
}

.pub-globe-label {
    margin: 1rem 0 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.03em;
}

.pub-globe-label i {
    color: var(--pub-gold);
}

@keyframes pubGlobeSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pubGlobeRingPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); }
}

/* ─── Hero (banner style — Nairobi NPDMS-inspired) ───── */
.pub-hero--banner {
    position: relative;
    min-height: clamp(420px, 52vh, 560px);
    padding: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--pub-deep-green);
}

.pub-hero-banner-media {
    position: absolute;
    inset: 0;
}

.pub-hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.pub-hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0, 35, 18, 0.92) 0%,
        rgba(0, 77, 40, 0.82) 45%,
        rgba(0, 91, 46, 0.55) 100%
    );
}

.pub-hero-banner-content {
    position: relative;
    z-index: 2;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.pub-hero--banner .pub-globe-scene {
    padding: 0;
}

.pub-hero--banner .pub-hero-title {
    font-size: clamp(2rem, 3.5vw, 3.4rem);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.pub-hero--banner .pub-hero-lead {
    max-width: 580px;
}

/* Quick access strip */
.pub-quick-strip {
    background: #fff;
    border-bottom: 1px solid #e8eeea;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    margin-top: -1.5rem;
    position: relative;
    z-index: 5;
}

.pub-quick-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.pub-quick-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.35rem 1rem;
    text-decoration: none;
    color: var(--pub-text);
    border-right: 1px solid #eef2ef;
    transition: background 0.2s ease, transform 0.2s ease;
    text-align: center;
}

.pub-quick-tile:last-child {
    border-right: none;
}

.pub-quick-tile:hover {
    background: var(--pub-soft-bg);
    color: var(--pub-deep-green);
    transform: translateY(-2px);
}

.pub-quick-tile-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
}

.pub-quick-tile-icon--green { background: linear-gradient(135deg, var(--pub-bright-green), var(--pub-deep-green)); }
.pub-quick-tile-icon--gold { background: linear-gradient(135deg, var(--pub-gold), #c9a012); color: #1a2e24; }
.pub-quick-tile-icon--dark { background: linear-gradient(135deg, #003d20, #001f10); }

.pub-quick-tile-label {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
}

/* How it works */
.pub-process {
    background: #fff;
    padding: 3.5rem 0 2rem;
}

.pub-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.pub-process-step {
    background: var(--pub-soft-bg);
    border: 1px solid #e8eeea;
    border-radius: var(--pub-radius);
    padding: 1.5rem 1.25rem;
    text-align: center;
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pub-process-step:hover {
    box-shadow: var(--pub-shadow);
    transform: translateY(-3px);
}

.pub-process-num {
    width: 44px;
    height: 44px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-bright-green), var(--pub-deep-green));
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 91, 46, 0.25);
}

.pub-process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pub-deep-green);
    margin-bottom: 0.5rem;
}

.pub-process-step p {
    font-size: 0.85rem;
    color: var(--pub-muted);
    margin: 0;
    line-height: 1.55;
}

.pub-service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pub-bright-green);
}

.pub-service-card:hover .pub-service-link {
    color: var(--pub-deep-green);
}

.pub-service-card .pub-service-arrow {
    display: none;
}

/* ─── Hero (legacy / shared) ─────────────────────────── */
.pub-hero {
    position: relative;
    background: linear-gradient(145deg, #003d20 0%, var(--pub-deep-green) 40%, var(--pub-bright-green) 100%);
    padding: 2.5rem 0 4rem;
    overflow: hidden;
    min-height: auto;
    display: block;
}

.pub-hero > .pub-page-container {
    flex: none;
    display: block;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.pub-hero-row {
    min-height: auto;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.pub-hero-content {
    padding-right: clamp(0.5rem, 2vw, 2rem);
}

.pub-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.pub-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
}

.pub-hero-orb--1 {
    width: 400px;
    height: 400px;
    background: var(--pub-gold);
    top: -120px;
    right: -80px;
}

.pub-hero-orb--2 {
    width: 300px;
    height: 300px;
    background: #00c853;
    bottom: -60px;
    left: -60px;
    opacity: 0.2;
}

.pub-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 80%);
}

.pub-hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 90px;
    background: var(--pub-soft-bg);
    clip-path: ellipse(58% 100% at 50% 100%);
}

.pub-hero-wave::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -6px;
    height: 10px;
    background: var(--pub-gold);
    clip-path: ellipse(52% 100% at 50% 100%);
    opacity: 0.9;
}

.pub-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(230, 180, 34, 0.4);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.35rem;
    backdrop-filter: blur(4px);
}

.pub-hero-badge i {
    color: var(--pub-gold);
    font-size: 0.8rem;
}

.pub-hero-title {
    font-size: clamp(1.9rem, 3.2vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.1rem;
    letter-spacing: -0.02em;
}

.pub-hero-title .gold {
    color: var(--pub-gold);
    display: inline;
}

.pub-hero-lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.pub-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

.pub-hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.pub-hero-stat i {
    color: var(--pub-gold);
    font-size: 0.85rem;
}

.pub-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pub-btn-hero-gold {
    background: linear-gradient(135deg, var(--pub-gold) 0%, #d4a01a 100%);
    color: var(--pub-deep-green);
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 0.95rem;
}

.pub-btn-hero-gold:hover {
    background: linear-gradient(135deg, var(--pub-gold-light) 0%, var(--pub-gold) 100%);
    color: var(--pub-deep-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.pub-btn-hero-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease, border-color 0.2s ease;
    font-size: 0.95rem;
}

.pub-btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.pub-hero-visual {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--pub-shadow-lg);
    border: 3px solid rgba(255, 255, 255, 0.2);
    background: var(--pub-deep-green);
    width: 100%;
}

.pub-hero-visual--photo {
    min-height: 320px;
    height: 100%;
}

@media (min-width: 992px) {
    .pub-hero-visual--photo {
        min-height: calc(100vh - var(--pub-nav-height) - 8rem);
        max-height: none;
        aspect-ratio: unset;
    }
}

.pub-hero-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 35%;
    transition: transform 0.5s ease;
}

.pub-hero-visual--photo:hover .pub-hero-photo {
    transform: scale(1.04);
}

.pub-hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0, 61, 32, 0.15) 0%,
        transparent 45%,
        rgba(0, 61, 32, 0.5) 100%
    );
    pointer-events: none;
}

.pub-hero-photo-caption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(0, 61, 32, 0.9);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(230, 180, 34, 0.45);
    backdrop-filter: blur(6px);
}

.pub-hero-photo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 0.55rem 0.85rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    line-height: 1.2;
}

.pub-hero-photo-badge-num {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--pub-deep-green);
}

.pub-hero-photo-badge-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--pub-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ─── Services ───────────────────────────────────────── */
.pub-services {
    background: var(--pub-soft-bg);
    padding: 2.5rem 0 3rem;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.pub-services-grid {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.pub-section-heading {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.pub-section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pub-bright-green);
    background: rgba(10, 143, 66, 0.1);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.pub-section-heading h2 {
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 800;
    color: var(--pub-deep-green);
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.pub-section-heading p {
    color: var(--pub-muted);
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.6;
}

.pub-service-card {
    background: var(--pub-white);
    border: 1px solid #e4ece7;
    border-radius: var(--pub-radius);
    padding: 2rem 2rem 2.25rem;
    height: 100%;
    min-height: 260px;
    box-shadow: var(--pub-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
}

.pub-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pub-bright-green), var(--pub-gold));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.pub-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 77, 40, 0.14);
    border-color: rgba(10, 143, 66, 0.25);
    color: inherit;
}

.pub-service-card:hover::before {
    opacity: 1;
}

.pub-service-card--featured {
    border-color: rgba(10, 143, 66, 0.3);
    background: linear-gradient(160deg, #fff 0%, #f0faf4 100%);
}

.pub-service-card--featured::before {
    opacity: 1;
}

.pub-service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 1.25rem;
}

.pub-service-icon--green {
    background: linear-gradient(135deg, rgba(10, 143, 66, 0.15), rgba(0, 77, 40, 0.08));
    color: var(--pub-bright-green);
}

.pub-service-icon--gold {
    background: linear-gradient(135deg, rgba(230, 180, 34, 0.25), rgba(230, 180, 34, 0.1));
    color: #8a6d0a;
}

.pub-service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pub-deep-green);
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.pub-service-card p {
    font-size: 0.95rem;
    color: var(--pub-muted);
    margin: 0;
    line-height: 1.65;
    padding-right: 2.5rem;
}

.pub-service-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--pub-soft-bg);
    color: var(--pub-bright-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pub-service-card:hover .pub-service-arrow {
    background: var(--pub-bright-green);
    color: #fff;
    transform: translateX(3px);
}

/* ─── Help banner ────────────────────────────────────── */
.pub-help-banner {
    background: linear-gradient(135deg, #fff 0%, #f0faf4 100%);
    border: 1px solid rgba(10, 143, 66, 0.2);
    border-radius: var(--pub-radius);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--pub-shadow);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.pub-help-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-bright-green), var(--pub-deep-green));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 77, 40, 0.25);
}

.pub-help-text {
    flex: 1;
    min-width: 200px;
}

.pub-help-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--pub-deep-green);
    margin: 0 0 0.3rem;
}

.pub-help-text p {
    margin: 0;
    color: var(--pub-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.pub-help-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pub-btn-green {
    background: linear-gradient(135deg, var(--pub-bright-green), var(--pub-deep-green));
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pub-btn-green:hover {
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 77, 40, 0.3);
    transform: translateY(-1px);
}

.pub-btn-outline-green {
    background: #fff;
    color: var(--pub-deep-green);
    font-weight: 600;
    border: 1.5px solid rgba(0, 77, 40, 0.3);
    border-radius: 10px;
    padding: 0.58rem 1.2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.pub-btn-outline-green:hover {
    background: var(--pub-soft-bg);
    color: var(--pub-deep-green);
}

/* ─── Footer (compact) ───────────────────────────────── */
.pub-footer {
    background: linear-gradient(180deg, #002a16, var(--pub-deep-green));
    color: rgba(255, 255, 255, 0.85);
    padding: 1.5rem 0 0;
}

.pub-footer-main {
    padding-bottom: 0.5rem;
}

.pub-footer-brand-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pub-footer-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 3px;
    flex-shrink: 0;
}

.pub-footer-brand-name {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.15rem;
    line-height: 1.2;
}

.pub-footer-brand-line {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.35;
}

.pub-footer-heading {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pub-gold);
    margin-bottom: 0.6rem;
}

.pub-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pub-footer-links li {
    margin-bottom: 0.3rem;
}

.pub-footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.8rem;
    background: transparent !important;
    transition: color 0.2s ease;
}

.pub-footer-links a:hover {
    color: var(--pub-gold);
}

.pub-footer-contact {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
}

.pub-footer-contact > div {
    margin-bottom: 0.25rem;
}

.pub-footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    background: transparent !important;
}

.pub-footer-contact a:hover {
    color: var(--pub-gold);
}

.pub-footer-bottom {
    margin-top: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
}

.pub-footer-bottom strong {
    color: var(--pub-gold);
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 991.98px) {
    .pub-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pub-quick-tile {
        border-right: none;
        border-bottom: 1px solid #eef2ef;
    }

    .pub-quick-tile:nth-child(odd) {
        border-right: 1px solid #eef2ef;
    }

    .pub-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pub-hero--banner {
        min-height: auto;
    }

    .pub-nav-center {
        width: 100%;
        justify-content: flex-start;
        margin: 0.5rem 0;
    }

    .pub-navbar-nav {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        border-radius: 14px;
        padding: 0.5rem;
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .pub-navbar .nav-link {
        border-radius: 10px;
        padding: 0.65rem 1rem !important;
    }

    .pub-nav-auth {
        width: 100%;
        padding: 0.75rem 0 0.5rem;
        margin-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: flex-start;
    }

    .pub-nav-dropdown {
        background: rgba(0, 0, 0, 0.15) !important;
        border: none;
        box-shadow: none;
        margin: 0.25rem 0 0.25rem 0.5rem;
    }

    .pub-nav-dropdown .dropdown-item {
        color: rgba(255, 255, 255, 0.9);
    }

    .pub-nav-dropdown .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

    .pub-hero {
        padding: 2rem 0 3.5rem;
    }

    .pub-hero-row {
        min-height: auto;
    }

    .pub-hero > .pub-page-container {
        padding-top: 0.5rem;
        padding-bottom: 1rem;
    }

    .pub-globe {
        width: 140px;
        height: 140px;
    }

    .pub-globe-sphere {
        width: 120px;
        height: 120px;
    }

    .pub-globe-ring--1 {
        width: 140px;
        height: 140px;
    }

    .pub-globe-ring--2 {
        width: 158px;
        height: 158px;
    }

    .pub-services {
        margin-top: 0;
        padding: 2rem 0 2rem;
    }

    .pub-help-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .pub-help-actions {
        width: 100%;
    }
}

body.d-flex.flex-column.min-vh-100 > main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
}

body.d-flex.flex-column.min-vh-100 > main > section.pub-services {
    flex: 1;
}

@media (min-width: 992px) {
    .pub-service-card {
        min-height: 280px;
    }
}

@media (max-width: 767.98px) {
    .pub-quick-grid {
        grid-template-columns: 1fr;
    }

    .pub-quick-tile:nth-child(odd) {
        border-right: none;
    }

    .pub-process-grid {
        grid-template-columns: 1fr;
    }

    :root {
        --pub-nav-height: 60px;
    }

    .pub-brand-logo {
        width: 36px;
        height: 36px;
    }

    .pub-hero-stats {
        gap: 0.5rem;
    }

    .pub-hero-stat {
        font-size: 0.72rem;
        padding: 0.35rem 0.7rem;
    }

    .pub-hero-visual--photo {
        max-height: 280px;
        min-height: 220px;
    }

    .pub-help-actions .pub-btn-green,
    .pub-help-actions .pub-btn-outline-green {
        flex: 1;
        justify-content: center;
    }
}
