/* ==========================================================================
   AlAmin Builds — sighti theme
   --------------------------------------------------------------------------
   THEME: change the look and feel of the whole site by editing the tokens
   in :root below. Every component consumes these custom properties — nothing
   else in this file hard-codes a color, font, radius or shadow.

   - Colors:  --color-* (backgrounds, surfaces, text, primary, accent)
   - Fonts:   --font-base (body) and --font-heading (headings)
   - Shape:   --radius-*, --shadow-*, --container (max content width)
   ========================================================================== */

:root {
    /* Colors — light "sighti.ai"-style default theme */
    --color-bg: #ffffff;
    --color-surface: #f9fafb;          /* gray-50-ish alt section background */
    --color-surface-strong: #f3f4f6;
    --color-text: #111827;             /* gray-900 */
    --color-text-muted: #6b7280;       /* gray-500 */
    --color-border: #e5e7eb;           /* gray-200 */
    --color-primary: #166534;          /* deep green (Gambia) — buttons, links */
    --color-primary-hover: #14532d;
    --color-primary-contrast: #ffffff; /* text on top of --color-primary */
    --color-accent: #f59e0b;           /* amber — badges, highlights */
    --color-accent-contrast: #111827;
    --color-danger: #dc2626;

    /* Typography */
    --font-base: "Geist","DM Serif Display", Georgia, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: var(--font-base);
    --font-body: "Geist Mono", "Plus Jakarta Sans", Arial, sans-serif;
    --text-scale: 1;


    /* Shape */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
    --shadow-md: 0 4px 12px rgba(17, 24, 39, 0.08);
    --shadow-lg: 0 12px 32px rgba(17, 24, 39, 0.12);

    /* Layout */
    --container: 72rem;
    --container-narrow: 48rem;
    --section-padding: 4.5rem;
    --section-padding-compact: 2.5rem;
    --header-height: 5rem;
    --header-logo-height: 3rem;

}

/* Type and header grow with the viewport: readable, prominent logo on
   phones, full 11.75rem logo on large screens. Every font size in this
   file is multiplied by --text-scale. */
@media (min-width: 48rem) {
    :root {
        --text-scale: 1.125;
        --header-height: 6.25rem;
        --header-logo-height: 4.5rem;
    }
}

@media (min-width: 64rem) {
    :root {
        --text-scale: 1.2;
        --header-height: 7.5rem;
        --header-logo-height: 6.5rem;
    }
}


/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after {
    box-sizing: border-box;
}

/* hpz: changed to var(--font-body) for better readability */
button,
a,
nav,
span {
  font-family: var(--font-body);
}

body.sighti-site {
    margin: 0;
    /* hpz: changed to var(--font-body) for better readability */
    font-family: var(--font-body);
    font-size: calc(1rem * var(--text-scale));
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

.sighti-site h1,
.sighti-site h2,
.sighti-site h3 {
    font-family: var(--font-heading);
    line-height: 1.15;
    margin: 0 0 0.75em;
    color: var(--color-text);
}

.sighti-site h1 { font-size: calc(2.5rem * var(--text-scale)); letter-spacing: -0.02em; }
.sighti-site h2 { font-size: calc(1.875rem * var(--text-scale)); letter-spacing: -0.01em; }
.sighti-site h3 { font-size: calc(1.125rem * var(--text-scale)); }

.sighti-site p { margin: 0 0 1em; }
.sighti-site img { max-width: 100%; height: auto; display: block; }
.sighti-site a { color: var(--color-primary); text-decoration: none; }
.sighti-site a:hover { text-decoration: underline; }
.sighti-site ul { margin: 0; padding: 0; list-style: none; }

.sighti-site :focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.container-narrow {
    max-width: var(--container-narrow);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.sighti-site .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    font-weight: 600;
    font-size: calc(0.95rem * var(--text-scale));
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sighti-site .btn:hover { text-decoration: none; }

.sighti-site .btn-primary {
    background: var(--color-primary);
    color: var(--color-primary-contrast);
}

.sighti-site .btn-primary:hover {
    background: var(--color-primary-hover);
}

.sighti-site .btn-outline {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-text);
}

.sighti-site .btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.sighti-site .btn-light {
    background: var(--color-bg);
    color: var(--color-primary);
}

.sighti-site .btn-light:hover {
    background: var(--color-surface);
}

.text-link {
    font-weight: 600;
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
    position: relative;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: color-mix(in srgb, var(--color-bg) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
    color: var(--color-text);
    font-weight: 500;
}

.brand:hover { text-decoration: none; }

.brand-name strong { color: var(--color-primary); font-weight: 800; }

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-md);
    background: var(--color-primary);
    color: var(--color-primary-contrast);
}

.brand-mark svg { width: 1.25rem; height: 1.25rem; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    font-size: calc(0.95rem * var(--text-scale));
}

.nav-link:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.btn-nav {
    padding: 0.55rem 1.1rem;
}

.nav-item {
    position: relative;
}

.nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    min-width: 12rem;
    margin: 0.5rem 0 0;
    padding: 0.5rem;
    list-style: none;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
    display: block;
}

.nav-submenu li + li {
    margin-top: 0.15rem;
}

.nav-submenu a {
    display: block;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: calc(0.9rem * var(--text-scale));
    white-space: nowrap;
}

.nav-submenu a:hover {
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    color: var(--color-primary);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    cursor: pointer;
    position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1.15rem;
    height: 2px;
    background: var(--color-text);
    transform: translateX(-50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar { top: 50%; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
    padding-block: var(--section-padding);
}

.section-compact {
    padding-block: var(--section-padding-compact);
}

.section-alt {
    background: linear-gradient(to bottom, var(--color-bg), var(--color-surface));
}

.section-tint {
    background: color-mix(in srgb, var(--color-primary) 6%, var(--color-bg));
}

.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: calc(0.75rem * var(--text-scale));
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 0.6rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 0.4em;
}

.section-intro {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 100%;
    margin-inline: auto;
    margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    padding-block: calc(var(--section-padding) * 1.25);
    background: linear-gradient(to bottom, var(--color-bg), var(--color-surface));
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--color-accent) 18%, var(--color-bg));
    color: var(--color-accent-contrast);
    border: 1px solid color-mix(in srgb, var(--color-accent) 40%, var(--color-bg));
    font-size: calc(0.8rem * var(--text-scale));
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-subheading {
    font-size: calc(1.15rem * var(--text-scale));
    color: var(--color-text-muted);
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-media img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

@media (min-width: 64rem) {
    .hero-inner {
        grid-template-columns: 1.05fr 1fr;
    }
}

/* --------------------------------------------------------------------------
   Logo strip
   -------------------------------------------------------------------------- */

.logos-caption {
    text-align: center;
    font-size: calc(0.85rem * var(--text-scale));
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.logo-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
}

.logo-strip img {
    max-height: 3rem;
    width: auto;
    opacity: 0.85;
    filter: grayscale(1);
    transition: opacity 0.15s ease, filter 0.15s ease;
}

.logo-strip a:hover img {
    opacity: 1;
    filter: grayscale(0);
}

/* --------------------------------------------------------------------------
   Feature cards
   -------------------------------------------------------------------------- */

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

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

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--color-primary) 10%, var(--color-bg));
    color: var(--color-primary);
    margin-bottom: 1.25rem;
}

.card-icon svg { width: 1.5rem; height: 1.5rem; }

.card p {
    color: var(--color-text-muted);
    margin-bottom: 0;
}

@media (min-width: 48rem) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Gallery grid + lightbox
   -------------------------------------------------------------------------- */

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text);
    font: inherit;
    font-size: calc(0.9rem * var(--text-scale));
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    text-decoration: none;
}

.filter-btn.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-primary-contrast);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

.gallery-item {
    cursor: pointer;
}

.gallery-item figure {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    background: var(--color-bg);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.gallery-item:hover figure {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.25s ease;
}

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

.gallery-item figcaption {
    padding: 0.6rem 0.9rem;
}

.gallery-item figcaption strong {
    display: block;
}

.gallery-item figcaption p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.gallery-item:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.82);
}

.gallery-lightbox-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    width: min(92vw, 1100px);
    max-height: 90vh;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    box-shadow: var(--shadow-lg);
}

.gallery-lightbox-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-lightbox-image {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
}

.gallery-lightbox-caption {
    grid-column: 1 / -1;
    min-height: 1.5rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    text-align: center;
}

.gallery-lightbox-nav,
.gallery-lightbox-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    background: var(--color-bg);
    color: var(--color-primary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.gallery-lightbox-nav:hover,
.gallery-lightbox-close:hover {
    background: color-mix(in srgb, var(--color-primary) 10%, var(--color-bg));
}

.gallery-lightbox-nav:disabled {
    opacity: 0.4;
    cursor: default;
}

.gallery-lightbox-close {
    position: absolute;
    top: -1rem;
    right: -1rem;
}

body.gallery-lightbox-open {
    overflow: hidden;
}

.image-viewer {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.image-viewer.is-open {
    display: flex;
}

.image-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.82);
}

.image-viewer-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: min(92vw, 1100px);
    max-height: 90vh;
    padding: 3.5rem 1rem 1rem;
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    box-shadow: var(--shadow-lg);
}

.image-viewer-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.image-viewer-image {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
}

.image-viewer-caption {
    min-height: 1.5rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    text-align: center;
}

.image-viewer-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    background: var(--color-bg);
    color: var(--color-primary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.image-viewer-close:hover {
    background: color-mix(in srgb, var(--color-primary) 10%, var(--color-bg));
}

body.image-viewer-open {
    overflow: hidden;
}

@media (min-width: 48rem) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 47.9375rem) {
    .gallery-lightbox-panel {
        grid-template-columns: 1fr;
        padding-top: 3.5rem;
    }

    .gallery-lightbox-nav {
        position: absolute;
        bottom: 3.75rem;
    }

    .gallery-lightbox-nav.is-prev {
        left: 1rem;
    }

    .gallery-lightbox-nav.is-next {
        right: 1rem;
    }
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-value {
    font-size: calc(2.5rem * var(--text-scale));
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    margin-bottom: 0.15em;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: calc(0.95rem * var(--text-scale));
    margin-bottom: 0;
}

@media (min-width: 48rem) {
    .stat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Features ("What we do") — image + title + description cards
   -------------------------------------------------------------------------- */

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    list-style: none;
    padding: 0;
}

.feature-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-image-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.feature-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.feature-body {
    padding: 1.5rem;
}

.feature-body h3 {
    margin-top: 0;
}

.feature-body h3 a {
    color: inherit;
    text-decoration: none;
}

.feature-body h3 a:hover {
    color: var(--color-primary);
}

.feature-body p {
    color: var(--color-text-muted);
    margin-bottom: 0;
}

@media (min-width: 48rem) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Video
   -------------------------------------------------------------------------- */

.video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 2.5rem;
    background: var(--color-surface-strong);
}

.video-embed iframe,
.video-embed embed,
.video-embed object {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --------------------------------------------------------------------------
   Recognition
   -------------------------------------------------------------------------- */

.recognition {
    text-align: center;
}

.recognition-body {
    color: var(--color-text-muted);
    max-width: 40rem;
    margin-inline: auto;
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */

.faq-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item h3 { margin: 0; }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.1rem 1.25rem;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 600;
    font-size: calc(1rem * var(--text-scale));
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-chevron {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--color-text-muted);
}

.faq-answer > :last-child { margin-bottom: 0; }

.faq-more {
    text-align: center;
    color: var(--color-text-muted);
    margin-top: 2rem;
}

.gallery-preview-more {
    text-align: center;
    margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta-section {
    background: linear-gradient(to bottom, var(--color-surface), var(--color-surface-strong));
}

.cta-inner {
    text-align: center;
}

.cta-inner p {
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
}

/* --------------------------------------------------------------------------
   Page hero (FAQ / Contact)
   -------------------------------------------------------------------------- */

.page-hero {
    padding-block: calc(var(--section-padding) * 0.75);
    background: linear-gradient(to bottom, var(--color-bg), var(--color-surface));
    text-align: center;
}

.page-hero h1 { margin-bottom: 0.35em; }

.page-hero-intro {
    color: var(--color-text-muted);
    font-size: calc(1.1rem * var(--text-scale));
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.whatsapp-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.whatsapp-cta p {
    margin: 0;
    color: var(--color-text-muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-form {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.form-row {
    margin-bottom: 1.25rem;
}

.form-row label {
    display: block;
    font-weight: 600;
    font-size: calc(0.9rem * var(--text-scale));
    margin-bottom: 0.4rem;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    color: var(--color-text);
    font: inherit;
    font-size: calc(0.95rem * var(--text-scale));
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    border-color: var(--color-primary);
    outline: 2px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    outline-offset: 0;
}

.form-row textarea { min-height: 8rem; resize: vertical; }

.form-row.has-error input,
.form-row.has-error textarea {
    border-color: var(--color-danger);
}

.form-error {
    color: var(--color-danger);
    font-size: calc(0.85rem * var(--text-scale));
    margin: 0.35rem 0 0;
}

.form-errors p {
    color: var(--color-danger);
    font-weight: 600;
}

.form-thank-you {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.contact-info {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.contact-info h2 {
    font-size: calc(1.25rem * var(--text-scale));
    margin-bottom: 1.25rem;
}

.contact-info-item {
    padding-block: 0.85rem;
    border-top: 1px solid var(--color-border);
}

.contact-info-item:first-of-type { border-top: 0; }

.contact-info-item h3 {
    font-size: calc(0.8rem * var(--text-scale));
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.contact-info-item p { margin-bottom: 0; }

.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 24rem;
    border: 0;
}

@media (min-width: 64rem) {
    .contact-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--color-surface-strong);
    border-top: 1px solid var(--color-border);
    padding-top: 3.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    max-width: 22rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

.footer-col h2 {
    font-size: calc(0.85rem * var(--text-scale));
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.footer-col li {
    margin-bottom: 0.6rem;
    color: var(--color-text-muted);
}

.footer-col a { color: var(--color-text); }
.footer-col a:hover { color: var(--color-primary); }

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 0;
    list-style: none;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.footer-social a:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.footer-social svg {
    width: 1.1rem;
    height: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-block: 1.25rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: calc(0.7rem * var(--text-scale));
}

.footer-bottom p.footer-credit {
    margin-top: 0.25rem;
    opacity: 0.7;
    font-size: calc(0.6rem * var(--text-scale));
}

@media (min-width: 48rem) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    }
}

/* --------------------------------------------------------------------------
   WhatsApp float
   -------------------------------------------------------------------------- */

.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-full);
    background: #25d366;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
}

.whatsapp-float:hover {
    text-decoration: none;
    transform: scale(1.05);
}

.whatsapp-float svg { width: 1.75rem; height: 1.75rem; }

/* --------------------------------------------------------------------------
   Mobile nav
   -------------------------------------------------------------------------- */

@media (max-width: 48rem) {
    .nav-toggle { display: inline-flex; }

    .site-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        padding: 0.5rem 1.25rem 1rem;
        box-shadow: var(--shadow-md);
        display: none;
    }

    .site-nav.is-open { display: flex; }

    .site-nav > a,
    .site-nav > .nav-item > .nav-link {
        padding: 0.8rem 0.25rem;
        border-top: 1px solid var(--color-border);
    }

    .site-nav > a:first-child,
    .site-nav > .nav-item:first-child > .nav-link {
        border-top: 0;
    }

    .nav-submenu {
        position: static;
        display: block;
        margin: 0 0 0.5rem;
        padding: 0 0 0 1rem;
        border: 0;
        box-shadow: none;
    }

    .btn-nav {
        margin-top: 0.75rem;
        text-align: center;
    }

    .sighti-site h1 { font-size: calc(2rem * var(--text-scale)); }
    .sighti-site h2 { font-size: calc(1.5rem * var(--text-scale)); }

    :root {
        --section-padding: 3rem;
    }
}

/* --------------------------------------------------------------------------
   v1 content sections — about, services list, values
   -------------------------------------------------------------------------- */

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 48rem) {
    .about-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 3rem;
    }
}

.about-photo img {
    display: block;
    width: 100%;
    max-width: 22rem;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.about-body .section-heading { margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   Founder message page — editorial profile layout (photo left, story right)
   -------------------------------------------------------------------------- */

.founder-hero {
    padding-block: calc(var(--section-padding) * 1.1);
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 56rem) {
    .founder-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 4rem;
    }

    .founder-photo {
        position: sticky;
        top: 6rem;
    }
}

.founder-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
}

.founder-eyebrow {
    text-align: left;
}

.founder-heading {
    font-size: calc(2.5rem * var(--text-scale));
    margin-bottom: 0.25rem;
}

.founder-role {
    font-size: calc(1.1rem * var(--text-scale));
    color: var(--color-text-muted);
    margin: 0 0 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.founder-intro {
    font-family: var(--font-heading);
    font-size: calc(1.3rem * var(--text-scale));
    font-style: italic;
    line-height: 1.5;
    color: var(--color-text);
    border-left: 3px solid var(--color-primary);
    padding-left: 1.25rem;
    margin-bottom: 2.25rem;
    max-width: 38rem;
}

.founder-intro p { margin: 0; }

.rich-text-content {
    max-width: 40rem;
    font-size: calc(1.05rem * var(--text-scale));
    line-height: 1.8;
    color: var(--color-text);
}

.rich-text-content p {
    margin-bottom: 1.25rem;
}

.rich-text-content p:first-of-type::first-letter {
    float: left;
    font-family: var(--font-heading);
    font-size: 3.6em;
    line-height: 0.8;
    font-weight: 700;
    padding-right: 0.12em;
    padding-top: 0.05em;
    color: var(--color-primary);
}

/* Larger header logo */
.sighti-site .brand-logo {
    display: block;
    height: var(--header-logo-height);
    width: auto;
}

/* --------------------------------------------------------------------------
   Mini Header (Project Stats, Contact)
   -------------------------------------------------------------------------- */

.mini-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding-block: 0.75rem;
    font-size: calc(0.9rem * var(--text-scale));
}

.mini-header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.mini-header-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
}

.mini-header-item a {
    color: var(--color-primary);
    font-weight: 600;
}

.mini-header-item a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Hero Heading with Colored Text
   -------------------------------------------------------------------------- */

.hero-heading-colored {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
}

@media (min-width: 48rem) {
    .hero-heading-colored { font-size: 4rem; }
}

@media (min-width: 64rem) {
    .hero-heading-colored { font-size: 5rem; }
}

.hero-heading-colored .accent-text {
    color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Category Image Grid (What We Do)
   -------------------------------------------------------------------------- */

.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.category-tile {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-tile-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: #ffffff;
    padding: 1.5rem 1rem 1rem;
    font-size: calc(1.1rem * var(--text-scale));
    font-weight: 600;
}

@media (min-width: 48rem) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (min-width: 64rem) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   Testimonials Carousel
   -------------------------------------------------------------------------- */

.testimonials-section {
    position: relative;
}

.testimonials-carousel {
    margin-top: 2.5rem;
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    touch-action: pan-y;
}

.testimonial-card {
    flex: 0 0 100%;
    min-width: 0;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.testimonial-photo {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-size: calc(1.1rem * var(--text-scale));
    font-style: italic;
    color: var(--color-text);
    margin: 0 0 1.5rem;
    line-height: 1.7;
}

.testimonial-card blockquote::before {
    content: '"';
    font-size: calc(3rem * var(--text-scale));
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 0;
    margin-right: 0.25rem;
}

.testimonial-author {
    color: var(--color-text-muted);
    font-weight: 600;
    margin: 0;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-nav[hidden] {
    display: none;
}

.carousel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-primary);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    font-weight: 600;
}

.carousel-btn:hover {
    background: var(--color-surface);
    border-color: var(--color-primary);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-btn svg {
    width: 1.2rem;
    height: 1.2rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dots[hidden] {
    display: none;
}

.carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: var(--radius-full);
    background: var(--color-border);
    cursor: pointer;
    transition: background 0.2s ease;
}

.carousel-dot.active {
    background: var(--color-primary);
}

@media (min-width: 48rem) {
    .testimonial-card {
        flex-basis: calc(50% - 1rem);
    }
}

@media (min-width: 64rem) {
    .testimonial-card {
        flex-basis: calc((100% - 4rem) / 3);
    }
}

/* --------------------------------------------------------------------------
   Enhanced CTA Section
   -------------------------------------------------------------------------- */

.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    padding-block: calc(var(--section-padding) * 1.5);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-inner h2 {
    color: #ffffff;
    font-size: calc(2rem * var(--text-scale));
    margin-bottom: 1rem;
}

.cta-inner p {
    color: color-mix(in srgb, #ffffff 85%, transparent);
    font-size: calc(1.1rem * var(--text-scale));
    margin-bottom: 2.5rem;
    max-width: 32rem;
    margin-inline: auto;
}

.cta-inner .btn-light {
    font-size: calc(1rem * var(--text-scale));
    padding: 0.9rem 2rem;
}

/* --------------------------------------------------------------------------
   Improved Spacing
   -------------------------------------------------------------------------- */

.section {
    padding-block: calc(var(--section-padding) * 1.2);
}

.hero {
    padding-block: calc(var(--section-padding) * 1.5);
}

.section-heading {
    margin-bottom: 0.6em;
}

.section-heading::after {
    margin: 0.8rem auto 0;
}

/* Responsive spacing adjustments */
@media (max-width: 48rem) {
    .section {
        padding-block: calc(var(--section-padding) * 0.9);
    }

    .hero {
        padding-block: calc(var(--section-padding) * 1.1);
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .mini-header-inner {
        gap: 1rem;
        font-size: calc(0.8rem * var(--text-scale));
    }
}

@media (max-width: 480px) {
    .mini-header-badge,
    .mini-header-email {
        display: none;
    }
}

/* hpz: animate-ping mini header foursevenmedia.co.uk tailwind implementation */
/* Inline wrapper so the ping sits before the text instead of pinned to a corner */
.ping-indicator {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
}

/* Core dot styles */
.ping-dot,
.ping-ripple {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #dc3545; /* Bootstrap danger/red */
}

/* Solid core dot (no animation) */
.ping-dot {
  z-index: 2;
}

/* Ping ripple animation */
.ping-ripple {
  z-index: 1;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-ping {
        animation: var(--animate-ping);
}

/* --------------------------------------------------------------------------
   Project footprint map — "Our Reach" section
   (self-contained palette from the reference: white bg, sage land,
   deep green markers, beige stat cards)
   -------------------------------------------------------------------------- */

.footprint {
    background: #ffffff;
}

.footprint .section-heading::after {
    background: #157a3d;
}

.footprint .eyebrow {
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 0.5rem;
}

/* Popups + tooltips tuned to the reference palette */
.map-popup {
    display: grid;
    gap: 0.1rem;
    text-align: left;
}

.map-popup-title {
    font-size: 0.95rem;
}

.map-popup-country {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.map-popup-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: #157a3d;
}

.map-popup-live {
    font-size: 0.8rem;
    font-weight: 600;
    color: #dc3545;
}

.map-popup-desc {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Stat cards — beige dashboard cards like the reference */
.footprint-stats {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0 0;
    padding: 0;
}

.footprint-stats li {
    background: #f4f2e9;
    border-radius: var(--radius-md);
    padding: 1rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.footprint-stat-value {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.footprint-stat-label {
    margin: 0.15rem 0 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

@media (max-width: 40rem) {
    .footprint-stats li {
        flex: 1 1 40%;
        padding: 0.85rem 1rem;
    }
}

/* Static-image map (map1.png) — matted "site plan" frame with blueprint-style
   corner brackets, dots and popup overlaid on the picture inside. */
.map-frame {
    --map-corner-size: 34px;
    --map-corner-thick: 3px;
    position: relative;
    padding: 1.5rem;
    border-radius: calc(var(--radius-lg) + 0.75rem);
    background:
        linear-gradient(var(--color-accent), var(--color-accent)) top left / var(--map-corner-size) var(--map-corner-thick) no-repeat,
        linear-gradient(var(--color-accent), var(--color-accent)) top left / var(--map-corner-thick) var(--map-corner-size) no-repeat,
        linear-gradient(var(--color-accent), var(--color-accent)) top right / var(--map-corner-size) var(--map-corner-thick) no-repeat,
        linear-gradient(var(--color-accent), var(--color-accent)) top right / var(--map-corner-thick) var(--map-corner-size) no-repeat,
        linear-gradient(var(--color-accent), var(--color-accent)) bottom left / var(--map-corner-size) var(--map-corner-thick) no-repeat,
        linear-gradient(var(--color-accent), var(--color-accent)) bottom left / var(--map-corner-thick) var(--map-corner-size) no-repeat,
        linear-gradient(var(--color-accent), var(--color-accent)) bottom right / var(--map-corner-size) var(--map-corner-thick) no-repeat,
        linear-gradient(var(--color-accent), var(--color-accent)) bottom right / var(--map-corner-thick) var(--map-corner-size) no-repeat,
        linear-gradient(155deg, #f4f2e9 0%, #eef1e4 45%, #f9fafb 100%);
    box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.map-frame::before {
    /* hairline rule between the mat and the framed image, echoing a technical drawing border */
    content: "";
    position: absolute;
    inset: 0.6rem;
    border: 1px dashed color-mix(in srgb, var(--color-primary) 25%, transparent);
    border-radius: calc(var(--radius-lg) + 0.15rem);
    pointer-events: none;
}

.map-frame-label {
    position: absolute;
    top: -0.7rem;
    left: 1.75rem;
    padding: 0.2rem 0.75rem;
    background: var(--color-primary);
    color: var(--color-primary-contrast);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.map-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md), 0 0 0 1px color-mix(in srgb, var(--color-primary) 14%, transparent);
}

.map-image-wrap::after {
    /* soft vignette for depth so the flat map art reads as "rich" rather than a plain screenshot */
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 40px rgba(17, 24, 39, 0.12);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 40rem) {
    .map-frame {
        --map-corner-size: 22px;
        padding: 1rem;
    }

    .map-frame-label {
        left: 1.25rem;
    }
}

.map-dot {
    position: absolute;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.map-dot-fill {
    display: block;
    border-radius: 50%;
    background: #157a3d;
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-sm);
}

.map-popup-card {
    position: absolute;
    transform: translate(-50%, calc(-100% - 14px));
    z-index: 5;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 1rem;
    max-width: 220px;
}

.map-popup-close {
    position: absolute;
    top: 0.15rem;
    right: 0.4rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-muted);
}

@media (max-width: 40rem) {
    .map-popup-card {
        max-width: 180px;
    }
}

/* Live/ongoing project markers — pulsing ping over the location's dot,
   sized by how many projects are currently live there. */
.map-ping-anchor {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

.map-ping-core,
.map-ping-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    border-radius: 50%;
    background-color: #dc3545;
    transform: translate(-50%, -50%);
}

.map-ping-core {
    z-index: 2;
    box-shadow: 0 0 0 2px #ffffff;
}

.map-ping-ripple {
    z-index: 1;
    opacity: 0.75;
    animation: map-ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes map-ping {
    75%, 100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}