:root {
    --brand-900: #0a1f3a;
    --brand-800: #123660;
    --brand-700: #1f5f9c;
    --brand-600: #2b72b5;
    --brand-500: #3d86d1;
    --surface-100: #f2f6fb;
    --surface-200: #eaf1f8;
    --white: #ffffff;
    --text-dark: #162033;
    --text-soft: #5f6f85;
    --container: 1320px;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body.landing-body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text-dark);
    background: var(--surface-100);
}

a {
    color: inherit;
    text-decoration: none;
}

.landing-container {
    width: min(var(--container), calc(100% - 58px));
    margin-inline: auto;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 2200;
    background: linear-gradient(120deg, rgba(240, 246, 252, 0.97) 0%, rgba(215, 230, 246, 0.97) 100%);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(31, 95, 156, 0.16);
}

.landing-header-inner {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 172px;
    max-width: 100%;
    display: block;
}

.landing-nav {
    display: inline-flex;
    align-items: center;
    gap: 34px;
}

.landing-nav a {
    font-size: 1rem;
    font-weight: 700;
    color: #17283e;
    transition: color 0.2s ease;
}

.landing-nav a:hover {
    color: var(--brand-600);
}

.cta-login,
.cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 0;
    background: linear-gradient(120deg, var(--brand-700), var(--brand-800));
    color: var(--white);
    padding: 14px 26px;
    font-size: 1rem;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-login:hover,
.cta-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(12, 45, 78, 0.24);
}

.hero-section {
    padding: 88px 0 78px;
    background: linear-gradient(105deg, #eef4fb 0%, #dce9f7 100%);
}

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

.hero-copy h1 {
    margin: 0 0 20px;
    max-width: 640px;
    font-size: clamp(2.2rem, 4.1vw, 4.5rem);
    line-height: 1.05;
}

.hero-copy h1 span {
    color: var(--brand-600);
}

.hero-copy p {
    margin: 0 0 30px;
    max-width: 610px;
    color: var(--text-soft);
    font-size: clamp(1.05rem, 1.6vw, 2rem);
    line-height: 1.45;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo-frame {
    width: 100%;
    max-width: 560px;
    border-radius: 34px;
    background: linear-gradient(140deg, #2f7bc4, #1f5f9c);
    padding: 18px;
    box-shadow: 0 30px 60px rgba(21, 53, 88, 0.28);
}

.hero-photo-frame img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

.hero-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    border-radius: 11px;
    font-weight: 700;
    font-size: 0.98rem;
    box-shadow: 0 6px 14px rgba(13, 39, 67, 0.18);
}

.hero-chip-a {
    left: 0;
    top: 120px;
    background: var(--brand-700);
    color: #fff;
    padding: 10px 18px;
}

.hero-chip-b {
    left: 22px;
    top: 174px;
    background: #fff;
    color: #31445f;
    padding: 8px 16px;
}

.hero-chip-c {
    right: 18px;
    top: 232px;
    background: var(--brand-900);
    color: #fff;
    padding: 10px 18px;
}

.hero-chip-d {
    right: 46px;
    top: 286px;
    background: #fff;
    color: #2d3f58;
    padding: 8px 16px;
}

.solutions-section {
    padding: 86px 0 92px;
    background: var(--brand-900);
    color: #fff;
}

.section-kicker {
    width: 56px;
    height: 3px;
    display: inline-block;
    border-radius: 999px;
    background: var(--brand-500);
}

.section-kicker-light {
    background: var(--brand-700);
}

.solutions-section h2,
.stories-copy h2,
.metrics-content h2,
.testimonials-copy h2 {
    margin: 16px 0 14px;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.1;
}

.section-lead {
    margin: 0;
    max-width: 780px;
    color: #d2def0;
    font-size: clamp(1rem, 1.3vw, 1.45rem);
}

.solutions-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.solution-card {
    position: relative;
    min-height: 470px;
    border-radius: 32px;
    overflow: hidden;
}

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

.solution-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 16, 32, 0.12), rgba(6, 16, 32, 0.92));
}

.solution-text {
    position: absolute;
    inset: auto 24px 24px;
}

.solution-text h3 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.08;
}

.solution-text p {
    margin: 14px 0 0;
    font-size: 1rem;
    color: #d7e2f3;
}

.stories-section {
    background: var(--surface-100);
    padding: 88px 0;
}

.stories-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.stories-copy p {
    margin: 0 0 28px;
    font-size: 1.15rem;
    color: var(--text-soft);
    max-width: 560px;
    line-height: 1.55;
}

.stories-media {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-cover {
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    border: 0;
    background: transparent;
}

.video-cover img {
    width: 100%;
    height: auto;
    max-height: 390px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.geography-section {
    background:
        linear-gradient(0deg, rgba(61, 134, 209, 0.12) 1px, transparent 1px) 0 0 / 180px 180px,
        linear-gradient(90deg, rgba(61, 134, 209, 0.12) 1px, transparent 1px) 0 0 / 180px 180px,
        var(--brand-900);
    color: #f1f6ff;
    padding: 92px 0;
}

.geography-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.8fr;
    gap: 34px;
    align-items: stretch;
}

.geography-copy h2 {
    margin: 16px 0 14px;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.1;
}

.geography-copy p {
    margin: 0 0 20px;
    color: #c8d8ef;
    font-size: 1.08rem;
    line-height: 1.6;
}

.geography-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.geography-list li {
    border: 1px solid rgba(111, 161, 214, 0.32);
    border-radius: 12px;
    background: rgba(24, 54, 88, 0.65);
    padding: 12px 14px;
    color: #dae6f8;
    font-size: 0.95rem;
}

.geography-list strong {
    color: #ffffff;
}

.geography-map-shell {
    border: 1px solid rgba(111, 161, 214, 0.35);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(17, 41, 70, 0.62);
    min-height: 560px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.home-pb-map-canvas {
    min-height: 510px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.home-pb-map-canvas .leaflet-container {
    background: linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
    z-index: 1;
}

.home-pb-map-canvas .leaflet-pane {
    z-index: 200;
}

.home-pb-map-canvas .leaflet-top,
.home-pb-map-canvas .leaflet-bottom {
    z-index: 250;
}

.home-pb-map-canvas .leaflet-control-zoom {
    border: 1px solid rgba(117, 162, 209, 0.45);
    box-shadow: none;
}

.home-pb-map-canvas .leaflet-control-zoom a {
    background: rgba(15, 35, 61, 0.9);
    color: #e6efff;
    border-bottom: 1px solid rgba(120, 164, 211, 0.25);
}

.home-pb-map-canvas .leaflet-control-zoom a:hover {
    background: rgba(24, 62, 103, 0.98);
}

.home-pb-map-status {
    border-top: 1px solid rgba(111, 161, 214, 0.35);
    padding: 12px 14px;
    color: #d1e1f7;
    font-size: 0.95rem;
}

.leaflet-tooltip.home-map-tooltip {
    background: rgba(10, 27, 49, 0.95);
    border: 1px solid rgba(119, 165, 214, 0.65);
    color: #e8f2ff;
    box-shadow: none;
    border-radius: 8px;
    padding: 7px 10px;
    font-weight: 600;
}

.leaflet-tooltip.home-map-tooltip::before {
    border-top-color: rgba(119, 165, 214, 0.65);
}

.home-map-pin-icon {
    background: transparent;
    border: 0;
}

.home-map-pin {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: linear-gradient(180deg, #3f89d4 0%, #1f5fa4 100%);
    box-shadow: 0 10px 20px rgba(19, 68, 117, 0.26);
    border: 2px solid rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-map-pin span {
    transform: rotate(45deg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.metrics-section {
    background: var(--surface-200);
    padding: 90px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1.22fr;
    gap: 42px;
    align-items: stretch;
}

.metrics-visual {
    position: relative;
    min-height: 620px;
    border-radius: 0 26px 26px 0;
    overflow: hidden;
}

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

.metrics-content p {
    margin: 0 0 24px;
    color: var(--text-soft);
    font-size: 1.17rem;
    max-width: 790px;
}

.metrics-content {
    display: flex;
    flex-direction: column;
}

.metrics-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    flex: 1;
    align-content: stretch;
}

.metric-card {
    background: #fff;
    border: 1px solid #d9e2ef;
    border-radius: 14px;
    padding: 18px 20px;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.metric-value {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(1.7rem, 2.5vw, 3rem);
    font-weight: 800;
    line-height: 1;
    color: var(--text-dark);
}

.metric-card span {
    color: var(--text-soft);
}

.testimonials-section {
    background: #ecf0f6;
    padding: 96px 0 106px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 54px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    background: rgba(61, 134, 209, 0.15);
    color: var(--brand-600);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px;
}

.testimonial-controls {
    margin-top: 24px;
    display: inline-flex;
    gap: 10px;
}

.control-btn {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--brand-600);
    color: #fff;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.control-btn[data-testimonial-action="prev"] {
    padding-right: 1px;
}

.control-btn[data-testimonial-action="next"] {
    padding-left: 1px;
}

.control-btn:hover {
    transform: translateY(-1px);
    background: var(--brand-700);
}

.testimonials-card {
    background: #fff;
    border: 12px solid #d9dfeb;
    border-radius: 24px;
    min-height: 360px;
    padding: 30px 34px 24px;
}

.testimonial-item {
    display: none;
}

.testimonial-item.is-active {
    display: block;
}

.testimonial-item h3 {
    margin: 0 0 2px;
    font-size: 1.1rem;
}

.testimonial-role {
    margin: 0 0 16px;
    color: #6b7890;
    font-size: 0.96rem;
}

.testimonial-text {
    margin: 0;
    color: #2b3750;
    line-height: 1.6;
    min-height: 150px;
    font-size: 1.18rem;
}

.testimonial-org {
    margin: 16px 0 0;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #1b2b48;
    letter-spacing: 0.04em;
}

.testimonial-brand {
    margin-top: 18px;
    width: 86px;
    height: 86px;
    border-radius: 14px;
    background: #f2f7fc;
    border: 1px solid #dbe7f3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.testimonial-brand img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    display: block;
}

.testimonial-brand-fallback {
    display: none;
    font-size: 1.1rem;
    font-weight: 800;
    color: #23486f;
    letter-spacing: 0.08em;
}

.testimonial-brand.is-fallback .testimonial-brand-fallback {
    display: inline-flex;
}

.testimonial-dots {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 0;
    background: #aeb7c8;
    cursor: pointer;
}

.dot.active {
    width: 28px;
    background: var(--brand-600);
}

.landing-footer {
    background: #081c34;
    color: #d7e3f3;
    padding: 36px 0 34px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.footer-brand img {
    width: 162px;
    max-width: 100%;
    display: block;
}

.footer-brand p {
    margin: 14px 0 0;
    max-width: 420px;
    color: #bfd2e9;
    line-height: 1.6;
}

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

.footer-links a {
    color: #d7e3f3;
    font-weight: 600;
}

.footer-links a:hover {
    color: #8fb8df;
}

.footer-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    color: #b0c4dc;
    font-size: 0.92rem;
}

@media (max-width: 1320px) {
    .landing-nav {
        display: none;
    }

    .hero-grid,
    .solutions-grid,
    .stories-grid,
    .geography-grid,
    .metrics-grid,
    .testimonials-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 420px;
    }

    .hero-chip {
        transform: scale(0.95);
    }
}

@media (max-width: 980px) {
    .landing-container {
        width: min(var(--container), calc(100% - 34px));
    }

    .landing-header-inner {
        min-height: 82px;
    }

    .brand img {
        width: 154px;
    }

    .cta-login {
        font-size: 0.9rem;
        padding: 11px 16px;
    }

    .solutions-section,
    .stories-section,
    .geography-section,
    .metrics-section,
    .testimonials-section {
        padding-top: 64px;
        padding-bottom: 70px;
    }

    .hero-section {
        padding-top: 46px;
        padding-bottom: 56px;
    }

    .hero-photo-frame {
        padding: 16px;
    }

    .hero-photo-frame img {
        height: 360px;
    }

    .hero-chip-a { left: 4px; top: 78px; }
    .hero-chip-b { left: 12px; top: 126px; }
    .hero-chip-c { right: 8px; top: 180px; }
    .hero-chip-d { right: 22px; top: 228px; }

    .video-cover img {
        max-height: 300px;
    }

    .geography-map-shell {
        min-height: 430px;
    }

    .home-pb-map-canvas {
        min-height: 380px;
    }

    .metrics-visual {
        min-height: 420px;
    }

    .metrics-cards {
        grid-template-columns: 1fr;
    }

    .footer-copy {
        align-items: flex-start;
    }
}

@media (max-width: 580px) {
    .hero-section {
        padding-top: 34px;
        padding-bottom: 44px;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }

    .hero-copy p {
        font-size: 1.05rem;
    }

    .hero-chip {
        font-size: 0.84rem;
        padding: 7px 10px;
    }

    .hero-photo-frame img {
        height: 300px;
    }

    .control-btn {
        width: 44px;
        height: 44px;
        font-size: 1.35rem;
    }

    .video-cover img {
        max-height: 260px;
    }
}
