/**
 * Landing Page — PK Sapad Serbisyo Connect
 */

:root {
    --epi-950: #14532d;
    --epi-900: #166534;
    --epi-800: #15803d;
    --epi-700: #16a34a;
    --epi-600: #22c55e;
    --epi-500: #4ade80;
    --epi-400: #86efac;
    --epi-300: #a7f3d0;
    --epi-200: #bbf7d0;
    --epi-100: #dcfce7;
    --epi-50:  #f0fdf4;
    --epi-bg:            #f5faf7;
    --epi-text:          #1f3d2e;
    --epi-text-muted:    #5b7a6a;
    --epi-border:        #dce8e0;
    --ims-sidebar-hover: rgba(74, 222, 128, 0.16);
    --ims-radius:        14px;
    --ims-shadow:        0 4px 24px rgba(22, 163, 74, 0.08);
    --bs-primary:        var(--epi-600);
    --bs-primary-rgb:    34, 197, 94;
}

/* Accent colours shared by the hero services panel and the Services cards. */
.tone-green  { --tone: #16a34a; --tone-tint: #dcfce7; }
.tone-teal   { --tone: #0d9488; --tone-tint: #ccfbf1; }
.tone-blue   { --tone: #0284c7; --tone-tint: #e0f2fe; }
.tone-amber  { --tone: #d97706; --tone-tint: #fef3c7; }
.tone-rose   { --tone: #e11d48; --tone-tint: #ffe4e6; }
.tone-violet { --tone: #7c3aed; --tone-tint: #ede9fe; }
.tone-forest { --tone: #166534; --tone-tint: #d1fae5; }

.landing-page {
    --lp-nav-height: 78px;
    --lp-radius: var(--ims-radius, 14px);
    --lp-forest: var(--epi-900);
    --lp-moss: var(--epi-600);
    --lp-mint: var(--epi-100);
    --lp-font-heading: 'Arial Black', Arial, Helvetica, sans-serif;
    --lp-font-display: Arial, Helvetica, sans-serif;
    --lp-font-accent: Arial, Helvetica, sans-serif;
    --lp-font-script: Arial, Helvetica, sans-serif;
    --lp-font-body: Arial, Helvetica, sans-serif;
    background: var(--epi-bg);
    color: var(--epi-text);
    overflow-x: clip;
    font-family: var(--lp-font-body);
}

html {
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.landing-page img,
.landing-page video,
.landing-page svg,
.landing-page iframe {
    max-width: 100%;
    height: auto;
}

/* ── Navbar (sidebar-inspired green) ── */
.landing-navbar {
    background:
        linear-gradient(165deg, rgba(74, 222, 128, 0.18) 0%, transparent 42%),
        linear-gradient(165deg, #22c55e 0%, #16a34a 55%, #15803d 100%);
    border-bottom: 1px solid rgba(187, 247, 208, 0.22);
    padding: 0.55rem 0;
    box-shadow: 0 4px 24px rgba(22, 163, 74, 0.2);
    transition: box-shadow 0.22s ease;
}

.landing-navbar.scrolled {
    box-shadow: 0 6px 32px rgba(5, 46, 28, 0.38);
}

.brand-seal {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    border-radius: 999px;
    padding: 2px;
    box-shadow: 0 2px 10px rgba(5, 46, 28, 0.18);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}

.brand-title {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-title-line {
    font-family: var(--lp-font-display);
    font-weight: 800;
    font-size: clamp(0.82rem, 1.55vw, 1.02rem);
    color: #fff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.brand-title-line--accent {
    color: #dcfce7;
}

.brand-name {
    font-family: var(--lp-font-display);
    font-weight: 800;
    font-size: clamp(0.78rem, 1.5vw, 0.95rem);
    color: #fff;
    display: block;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.brand-tagline {
    font-size: clamp(0.62rem, 1.1vw, 0.72rem);
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    line-height: 1.25;
    margin-top: 0.12rem;
}

.landing-nav-link {
    font-family: var(--lp-font-display);
    font-weight: 700;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82) !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 0;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s;
}

/* Six links share the bar with the brand and login button on small laptops. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .landing-nav-link {
        font-size: 0.88rem;
        padding: 0.45rem 0.55rem !important;
    }

    .landing-nav-link::after {
        left: 0.55rem;
        right: 0.55rem;
    }
}

.landing-nav-link::after {
    content: '';
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.landing-nav-link:hover,
.landing-nav-link.active {
    color: #fff !important;
    background: transparent;
}

.landing-nav-link:hover::after,
.landing-nav-link.active::after {
    transform: scaleX(1);
}

.landing-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #fff;
    color: var(--epi-800) !important;
    border: 0;
    border-radius: 999px;
    font-family: var(--lp-font-display);
    font-weight: 700;
    font-size: 0.84rem;
    padding: 0.55rem 1.15rem;
    box-shadow: 0 4px 14px rgba(5, 46, 28, 0.18);
}

.landing-login-btn:hover {
    background: var(--epi-100);
    color: var(--epi-900) !important;
}

.landing-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.landing-navbar .btn-primary {
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

@media (max-width: 991.98px) {
    .landing-navbar .navbar-collapse {
        padding: 0.75rem 0 0.25rem;
        margin-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .landing-login-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Sections ── */
.section-padding {
    padding: 5rem 0;
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--epi-800);
    background: var(--epi-100);
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--lp-font-heading);
    font-weight: 900;
    font-size: clamp(1.65rem, 3.5vw, 2.1rem);
    color: var(--epi-text);
    margin-bottom: 0.85rem;
    letter-spacing: -0.03em;
}

.section-desc {
    color: var(--epi-text-muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 640px;
}

.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.hero-highlight {
    color: var(--epi-500);
}

/* ── Section wires (curved snake-dash flow, MainTSWebsite style) ── */
.hero-section,
.section-padding,
.stats-section,
.landing-footer {
    position: relative;
    overflow: hidden;
}

.section-wires-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.7;
}

.section-wires-light {
    opacity: 0.55;
}

.section-wires {
    width: 100%;
    height: 100%;
    display: block;
}

.wire-static {
    fill: none;
    stroke-width: 0.525;
    stroke-opacity: 0.18;
}

.wire-flow {
    fill: none;
    stroke-width: 0.525;
    stroke-linecap: round;
    stroke-dasharray: 24 48;
    stroke-dashoffset: 0;
    animation: section-wire-flow 3.4s linear infinite;
}

@keyframes section-wire-flow {
    to {
        stroke-dashoffset: -144;
    }
}

.hero-section .container,
.section-padding .container,
.stats-section .container,
.landing-footer .container {
    position: relative;
    z-index: 1;
}

/* Protect individual text blocks; leave the gaps open to the animated wires. */
.landing-content-surface {
    position: relative;
    isolation: isolate;
}

.landing-content-surface::after {
    content: "";
    position: absolute;
    inset: -4px -6px;
    z-index: -1;
    border-radius: 10px;
    background: rgba(248, 252, 250, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    pointer-events: none;
}

.feature-card,
.user-card,
.module-board,
.benefit-ladder,
.process-card,
.contact-info-card,
.contact-form-card,
.service-flow,
.service-flow-note,
.coverage-card,
.landing-stat-card,
.about-float-card,
.about-stage,
.hero-visual {
    position: relative;
    z-index: 2;
}

/* ── Hero ── */
.hero-section {
    position: relative;
    padding-top: var(--lp-nav-height);
    padding-bottom: 0;
    background:
        radial-gradient(ellipse 55% 45% at 88% 18%, rgba(187, 247, 208, 0.55) 0%, transparent 70%),
        linear-gradient(145deg, #fafcfb 0%, #f4faf6 38%, #f1f8f2 72%, #ecf7ef 100%);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(22, 163, 74, 0.12);
    background: rgba(216, 243, 220, 0.35);
    pointer-events: none;
}

.hero-bg-shapes .shape-1 {
    width: 280px; height: 280px; top: 12%; right: 8%;
    animation: heroShapeDrift 14s ease-in-out infinite;
}

.hero-bg-shapes .shape-2 {
    width: 420px; height: 420px; top: -8%; right: -6%; opacity: 0.6;
    animation: heroShapeDrift 18s ease-in-out infinite reverse;
}

.hero-bg-shapes .shape-3 {
    width: 160px; height: 160px; bottom: 28%; left: 6%;
    animation: heroShapeDrift 11s ease-in-out infinite 1.5s;
}

.hero-leaf {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(34, 197, 94, 0.12);
    border-radius: 70% 30% 65% 35% / 35% 65% 30% 70%;
    filter: blur(0.2px);
}

.hero-leaf-1 {
    top: 22%;
    right: 42%;
    animation: heroShapeDrift 16s ease-in-out infinite;
}

.hero-leaf-2 {
    bottom: 26%;
    left: 38%;
    width: 90px;
    height: 90px;
    background: rgba(22, 101, 52, 0.08);
    animation: heroShapeDrift 12s ease-in-out infinite reverse;
}

@keyframes heroShapeDrift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.45; }
    50% { transform: translate(14px, -10px) scale(1.04); opacity: 0.75; }
}

/* Hero-style circles and leaves repeated behind every other section (partials/section-decor.php). */
.section-decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.section-decor--mirror {
    transform: scaleX(-1);
}

.decor-shape {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(22, 163, 74, 0.12);
    background: rgba(216, 243, 220, 0.35);
}

.decor-shape-1 {
    width: 240px; height: 240px; top: 10%; right: 5%;
    animation: heroShapeDrift 14s ease-in-out infinite;
}

.decor-shape-2 {
    width: 380px; height: 380px; top: -14%; right: -9%; opacity: 0.6;
    animation: heroShapeDrift 18s ease-in-out infinite reverse;
}

.decor-shape-3 {
    width: 150px; height: 150px; bottom: 8%; left: 3%;
    animation: heroShapeDrift 11s ease-in-out infinite 1.5s;
}

.decor-leaf {
    position: absolute;
    width: 110px;
    height: 110px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 70% 30% 65% 35% / 35% 65% 30% 70%;
}

.decor-leaf-1 {
    top: 14%;
    left: 6%;
    animation: heroShapeDrift 16s ease-in-out infinite;
}

.decor-leaf-2 {
    bottom: 12%;
    right: 14%;
    width: 80px;
    height: 80px;
    background: rgba(22, 101, 52, 0.07);
    animation: heroShapeDrift 12s ease-in-out infinite reverse;
}

@media (max-width: 767.98px) {
    .decor-shape-1 { width: 150px; height: 150px; }
    .decor-shape-2 { width: 240px; height: 240px; }
    .decor-shape-3,
    .decor-leaf-2 { display: none; }
    .decor-leaf { width: 70px; height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
    .decor-shape,
    .decor-leaf {
        animation: none;
    }
}

@keyframes heroCardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes heroChipFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-10px) translateX(4px); }
    66% { transform: translateY(-5px) translateX(-3px); }
}

@keyframes heroGlowPulse {
    0% { transform: scale(0.92); opacity: 0.35; }
    50% { transform: scale(1.05); opacity: 0.12; }
    100% { transform: scale(0.92); opacity: 0.35; }
}

@keyframes heroIconWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

@keyframes heroPulseDot {
    0% { transform: scale(0.6); opacity: 0.7; }
    100% { transform: scale(2.2); opacity: 0; }
}

.hero-visual {
    position: relative;
    text-align: center;
}

.hero-media {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-wave-frame {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: -0.5rem;
    margin-top: -1.75rem;
    padding-top: 1.25rem;
    animation: heroWaveFloat 5.5s ease-in-out infinite;
    will-change: transform;
}

.hero-wave-frame::after {
    content: '';
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 4%;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(22, 101, 52, 0.28) 0%, rgba(22, 101, 52, 0.08) 45%, transparent 72%);
    filter: blur(6px);
    z-index: 0;
    pointer-events: none;
    animation: heroWaveShadow 5.5s ease-in-out infinite;
}

@keyframes heroWaveFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes heroWaveShadow {
    0%, 100% {
        opacity: 0.7;
        transform: scaleX(1) scaleY(1);
    }
    50% {
        opacity: 0.4;
        transform: scaleX(0.88) scaleY(0.75);
    }
}

.hero-script-tagline {
    position: absolute;
    top: 0;
    right: 2%;
    z-index: 4;
    margin: 0;
    max-width: 240px;
    font-family: var(--lp-font-script);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--lp-forest);
    text-align: right;
    transform: rotate(-6deg);
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.75);
}

.hero-script-tagline i {
    color: #e11d48;
    font-size: 0.7em;
    margin-left: 0.15rem;
}

.hero-slideshow {
    position: relative;
    z-index: 1;
    width: 100%;
    height: clamp(420px, 70vh, 640px);
    overflow: hidden;
    background: #e8f5e9;
    border-radius: 58% 42% 48% 52% / 42% 48% 52% 58%;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 700' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M78 120C40 210 18 320 42 430c28 128 132 214 268 208 148-6 246-78 286-198 36-108-8-230-98-292C400 70 250 42 170 78c-42 18-68 28-92 42z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 700' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M78 120C40 210 18 320 42 430c28 128 132 214 268 208 148-6 246-78 286-198 36-108-8-230-98-292C400 70 250 42 170 78c-42 18-68 28-92 42z'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    filter: drop-shadow(0 22px 28px rgba(22, 101, 52, 0.22)) drop-shadow(0 8px 12px rgba(22, 101, 52, 0.12));
}

.hero-leaf-accent {
    position: absolute;
    pointer-events: none;
    z-index: 3;
    background: rgba(34, 197, 94, 0.18);
    border-radius: 68% 32% 58% 42% / 42% 62% 38% 58%;
}

.hero-leaf-accent-a {
    width: 110px;
    height: 110px;
    left: -18px;
    bottom: 18%;
    animation: heroShapeDrift 13s ease-in-out infinite;
}

.hero-leaf-accent-b {
    width: 78px;
    height: 78px;
    right: 6%;
    top: 28%;
    background: rgba(22, 101, 52, 0.12);
    animation: heroShapeDrift 10s ease-in-out infinite reverse;
}

.hero-logos {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.25rem;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.hero-logos-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    align-items: center;
    animation: heroLogoMarquee 28s linear infinite;
}

.hero-logos-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.7rem;
    padding-right: 0.7rem;
}

.hero-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    padding: 0.15rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    flex: 0 0 auto;
}

.hero-logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Wide logos need a wider box to reach the same height as the square seals. */
.hero-logo-item--wide {
    width: 116px;
}

@keyframes heroLogoMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logos-track {
        animation: none;
    }
}

.hero-slideshow .carousel {
    height: 100%;
}

.hero-slideshow .carousel-inner,
.hero-slideshow .carousel-item {
    height: 100%;
}

/* Two classes so this beats the generic `.landing-page img { height: auto }`. */
.hero-slideshow .hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-visual-live {
    perspective: 900px;
}

.hero-glow-ring {
    position: absolute;
    inset: 8% 5%;
    border-radius: 50%;
    border: 2px solid rgba(74, 222, 128, 0.35);
    animation: heroGlowPulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-glow-ring-2 {
    inset: 14% 12%;
    animation-delay: 1.2s;
    border-color: rgba(22, 163, 74, 0.2);
}

.hero-illustration {
    position: relative;
    z-index: 1;
    max-width: 100%;
    display: block;
    animation: heroCardFloat 5.5s ease-in-out infinite;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.hero-float {
    position: absolute;
    z-index: 2;
    background: #fff;
    border: 1px solid var(--epi-border);
    border-left: 3px solid var(--epi-600);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.12);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--epi-text);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    will-change: transform;
}

.hero-float-pulse {
    position: absolute;
    top: 50%;
    left: 0.65rem;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--epi-500);
    animation: heroPulseDot 2s ease-out infinite;
    pointer-events: none;
}

.hero-float-pulse-sms {
    background: #dc3545;
}

.hero-float i {
    color: var(--epi-600);
    position: relative;
    z-index: 1;
}

.hero-float-1 {
    top: 10%; left: 0;
    animation: heroChipFloat 4.2s ease-in-out infinite;
}

.hero-float-1 i {
    animation: heroIconWiggle 3s ease-in-out infinite;
}

.hero-float-2 {
    top: 44%; right: -4%;
    animation: heroChipFloat 5s ease-in-out infinite 0.7s;
}

.hero-float-3 {
    bottom: 14%; left: 8%;
    animation: heroChipFloat 4.6s ease-in-out infinite 1.4s;
}

@media (prefers-reduced-motion: reduce) {
    .hero-illustration,
    .hero-float,
    .hero-bg-shapes .shape,
    .hero-leaf,
    .hero-leaf-accent,
    .hero-glow-ring,
    .hero-float-pulse,
    .hero-float-1 i,
    .hero-wave-frame,
    .hero-wave-frame::after,
    .wire-flow {
        animation: none !important;
    }

    .hero-illustration,
    .hero-wave-frame {
        transition: none;
    }
}

.hero-motto {
    margin: 0 0 0.85rem;
    font-family: var(--lp-font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5b7a6a;
}

.hero-title {
    margin: 0 0 1rem;
    font-family: var(--lp-font-heading);
    font-size: clamp(1.6rem, 3.6vw, 2.6rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--lp-forest);
    -webkit-font-smoothing: antialiased;
}

.hero-title-line {
    display: block;
}

.hero-subtitle {
    font-family: var(--lp-font-accent);
    font-size: clamp(0.95rem, 1.6vw, 1.12rem);
    font-weight: 700;
    font-style: normal;
    color: #3d5246;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    max-width: 34rem;
    position: relative;
    padding-left: 0.95rem;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em;
    bottom: 0.2em;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--epi-500) 0%, var(--epi-800) 100%);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.hero-login-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--epi-700);
    color: #fff !important;
    border: 0;
    border-radius: 999px;
    font-family: var(--lp-font-display);
    font-weight: 700;
    font-size: 0.84rem;
    padding: 0.62rem 1.1rem;
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.24);
}

.hero-login-cta:hover {
    background: var(--epi-600);
    color: #fff !important;
}

.hero-login-cta .fa-arrow-right {
    margin-left: 0.15rem;
    opacity: 0.85;
}

@media (min-width: 576px) {
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
    align-items: center;
        gap: 0.6rem;
    }

    .hero-login-cta {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.hero-capabilities-panel {
    position: relative;
    max-width: 34rem;
    margin: 0 0 1.4rem;
    padding: 0.85rem 0.85rem 0.9rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 253, 244, 0.95) 100%);
    border: 1px solid rgba(22, 163, 74, 0.14);
    box-shadow: 0 18px 40px rgba(22, 101, 52, 0.09);
    backdrop-filter: blur(6px);
}

.hero-capabilities-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.6rem 0.2rem;
    font-family: var(--lp-font-display);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--epi-800);
}

.hero-capabilities-label i {
    color: var(--epi-500);
}

.hero-capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin: 0;
    padding: 0;
}

@media (min-width: 576px) {
    .hero-capabilities {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.hero-capability {
    display: flex;
        align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    background: #fff;
    border: 1px solid rgba(22, 101, 52, 0.08);
    border-radius: 0.9rem;
    font-family: var(--lp-font-display);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--epi-900);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-capability:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--tone) 35%, white);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--tone) 18%, transparent);
}

.hero-capability-icon {
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    background: var(--tone-tint);
    color: var(--tone);
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.hero-capability:hover .hero-capability-icon {
    background: var(--tone);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .hero-capability,
    .hero-capability:hover {
        transition: none;
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .hero-logos-group {
        gap: 0.5rem;
        padding-right: 0.5rem;
    }

    .hero-logo-item {
        width: 66px;
        height: 66px;
    }

    .hero-logo-item--wide {
        width: 100px;
    }

    .hero-logos-track {
        animation-duration: 22s;
    }

    .hero-wave-frame {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-script-tagline {
        right: 0;
        max-width: 180px;
        font-size: 1rem;
    }
}

@media (max-width: 991.98px) {
    .hero-slideshow {
        height: clamp(340px, 54vh, 500px);
    }
}

/* hero-visual styles moved above — shared cards below */
.landing-card {
    background: #fff;
    border: 1px solid var(--epi-border);
    border-radius: var(--lp-radius);
    box-shadow: var(--ims-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.landing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(22, 163, 74, 0.12);
}

.landing-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    background: color-mix(in srgb, var(--epi-600) 14%, white);
    color: var(--epi-600);
}

/* About */
.about-section {
    background:
        radial-gradient(ellipse 40% 36% at 8% 18%, rgba(187, 247, 208, 0.55) 0%, transparent 70%),
        radial-gradient(ellipse 36% 40% at 92% 78%, rgba(220, 252, 231, 0.7) 0%, transparent 68%),
        linear-gradient(180deg, #ffffff 0%, #f5faf7 55%, #ecfdf3 100%);
    overflow: hidden;
}

.about-stage {
    position: relative;
    min-height: 470px;
    padding: 1.15rem 0.35rem 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-blob {
    position: absolute;
    border-radius: 50%;
    background: rgba(187, 247, 208, 0.55);
    pointer-events: none;
    z-index: 0;
}

.about-blob-1 {
    width: 220px;
    height: 220px;
    top: 4%;
    left: 2%;
}

.about-blob-2 {
    width: 280px;
    height: 280px;
    top: 18%;
    right: 4%;
    background: rgba(134, 239, 172, 0.28);
}

.about-blob-3 {
    width: 160px;
    height: 160px;
    bottom: 10%;
    left: 18%;
    background: rgba(74, 222, 128, 0.16);
}

.about-photo-wrap {
    position: relative;
    z-index: 1;
    width: min(100%, 340px);
    aspect-ratio: 1;
    margin: 1.25rem auto 0;
    border-radius: 48% 52% 46% 54% / 46% 48% 52% 54%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(22, 101, 52, 0.14);
}

.about-photo-wrap .about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.about-float-card {
    position: absolute;
    z-index: 3;
    background: #fff;
    border: 1px solid rgba(22, 163, 74, 0.12);
    border-radius: 1rem;
    box-shadow: 0 14px 34px rgba(22, 101, 52, 0.12);
    animation: heroChipFloat 5.2s ease-in-out infinite;
}

.about-float-highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: 178px;
    padding: 0.5rem 0.6rem;
    border-radius: 0.8rem;
}

.about-float-highlight--1 { top: 0;      left: 0;  animation-delay: 0.2s; }
.about-float-highlight--2 { top: 17%;    right: 0; animation-delay: 0.9s; }
.about-float-highlight--3 { bottom: 17%; left: 0;  animation-delay: 1.5s; }
.about-float-highlight--4 { bottom: 0;   right: 0; animation-delay: 2.1s; }

/* The diagonal pair is filled green so the four cards alternate around the photo. */
.about-float-highlight--2,
.about-float-highlight--3 {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-color: transparent;
    color: #fff;
}

.about-float-icon {
    width: 26px;
    height: 26px;
    border-radius: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(150deg, var(--epi-600) 0%, var(--epi-800) 100%);
    color: #fff;
    font-size: 0.72rem;
    box-shadow: 0 6px 12px rgba(22, 101, 52, 0.2);
}

.about-float-highlight--2 .about-float-icon,
.about-float-highlight--3 .about-float-icon {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: none;
}

.about-float-title {
    display: block;
    font-family: var(--lp-font-display);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--epi-900);
}

.about-float-text {
    margin: 0.15rem 0 0;
    font-size: 0.64rem;
    line-height: 1.35;
    color: var(--epi-text-muted);
}

.about-float-highlight--2 .about-float-title,
.about-float-highlight--3 .about-float-title {
    color: #fff;
}

.about-float-highlight--2 .about-float-text,
.about-float-highlight--3 .about-float-text {
    color: rgba(255, 255, 255, 0.9);
}

.about-copy {
    max-width: 560px;
    margin-left: auto;
}

.about-title span {
    color: var(--epi-600);
}

/* Darker than the usual muted intro text: this is the section's main reading copy and sits over decorative lines. */
.about-desc {
    margin-bottom: 0;
    color: var(--epi-text);
    line-height: 1.7;
}

.about-desc + .about-desc {
    margin-top: 0.85rem;
}

.about-footer-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(22, 163, 74, 0.12);
}

.about-quote {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
    max-width: 42rem;
}

.about-quote > i {
    color: var(--epi-600);
    font-size: 1.25rem;
    margin-top: 0.15rem;
}

.about-quote p {
    margin: 0;
    font-family: var(--lp-font-accent);
    font-style: italic;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--epi-text);
}

.about-pillars {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.55rem;
    font-family: var(--lp-font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--epi-800);
}

.about-pillars-leaf {
    color: var(--epi-600);
    margin-left: 0.25rem;
}

@media (max-width: 991.98px) {
    .about-stage {
        min-height: 480px;
        margin-bottom: 0.5rem;
    }

    .about-copy {
        margin-left: 0;
        max-width: none;
    }
}

/* Phones: the highlights leave the photo and stack underneath it. */
@media (max-width: 575.98px) {
    .about-stage {
        min-height: 0;
        padding-bottom: 1rem;
    }

    .about-photo-wrap {
        width: min(100%, 280px);
        margin-top: 1rem;
    }

    .about-float-list {
        display: grid;
        gap: 0.65rem;
        margin-top: 1.1rem;
    }

    .about-float-highlight {
        position: relative;
        inset: auto;
        width: 100%;
        animation: none;
    }

    .about-footer-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-float-card {
        animation: none !important;
    }
}

/* ── Discover (project video: Watch Video button plus a scannable QR card) ── */
.discover-section {
    background:
        radial-gradient(ellipse 45% 40% at 92% 14%, rgba(187, 247, 208, 0.5) 0%, transparent 70%),
        radial-gradient(ellipse 38% 36% at 4% 88%, rgba(220, 252, 231, 0.7) 0%, transparent 68%),
        linear-gradient(145deg, #fafcfb 0%, #f4faf6 40%, #f1f8f2 70%, #ecf7ef 100%);
    overflow: hidden;
}

.discover-copy .section-label {
    font-size: 0.92rem;
}

.discover-title {
    font-size: clamp(2rem, 4.2vw, 2.65rem);
}

.discover-title span {
    color: var(--epi-600);
}

.discover-desc {
    margin-bottom: 1.15rem;
    font-size: 1.22rem;
}

.discover-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.discover-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 1.4rem 0.42rem 0.42rem;
    background: var(--epi-700);
    color: #fff !important;
    border: 0;
    border-radius: 999px;
    font-family: var(--lp-font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.24);
}

.discover-watch-btn:hover,
.discover-watch-btn:focus-visible {
    background: var(--epi-600);
    color: #fff !important;
}

.discover-play-icon {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: #fff;
    color: var(--epi-700);
    font-size: 0.78rem;
}

.discover-play-icon i,
.discover-poster-play i {
    margin-left: 2px;
}

.discover-hint {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    color: var(--epi-text-muted);
    font-size: 0.98rem;
}

.discover-hint i {
    color: var(--epi-600);
}

.discover-stage {
    position: relative;
    min-height: 450px;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem 0.35rem 1.5rem;
}

.discover-poster {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 340px);
    aspect-ratio: 1;
    margin: 0.75rem 0 0 6%;
    border-radius: 48% 52% 46% 54% / 46% 48% 52% 54%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(22, 101, 52, 0.14);
}

.discover-poster .discover-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transition: transform 0.5s ease;
}

.discover-poster::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 46, 22, 0) 40%, rgba(5, 46, 22, 0.35) 100%);
}

.discover-poster-play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--epi-700);
    font-size: 1.25rem;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.28), 0 14px 30px rgba(5, 46, 22, 0.25);
    transition: transform 0.25s ease;
}

.discover-poster:hover .discover-poster-img {
    transform: scale(1.04);
}

.discover-poster:hover .discover-poster-play {
    transform: translate(-50%, -50%) scale(1.08);
}

.discover-qr-card {
    position: absolute;
    z-index: 3;
    right: 2%;
    bottom: 3%;
    width: 250px;
    margin: 0;
    padding: 0.8rem 0.8rem 0.75rem;
    background: #fff;
    border: 1px solid rgba(22, 163, 74, 0.12);
    border-radius: 1.25rem;
    box-shadow: 0 18px 40px rgba(22, 101, 52, 0.16);
}

.discover-qr-card .discover-qr-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.6rem;
}

.discover-qr-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.6rem;
    padding: 0.45rem 0.55rem;
    background: var(--epi-800);
    color: #fff;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .discover-stage {
        min-height: 420px;
    }

    .discover-poster {
        margin-left: auto;
        margin-right: auto;
        transform: translateX(-12%);
    }
}

@media (max-width: 575.98px) {
    .discover-stage {
        min-height: 0;
        padding-bottom: 0;
    }

    .discover-poster {
        width: min(78%, 280px);
        transform: none;
    }

    .discover-qr-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: 240px;
        margin: -2.5rem auto 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .discover-poster .discover-poster-img,
    .discover-poster-play {
        transition: none;
    }
}

/* ── Services (split: SMS spotlight panel plus a two-column list of the other services) ── */
.features-section {
    background:
        radial-gradient(ellipse 45% 40% at 95% 5%, rgba(187, 247, 208, 0.4) 0%, transparent 70%),
        radial-gradient(ellipse 40% 35% at 0% 100%, rgba(220, 252, 231, 0.6) 0%, transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f5faf7 55%, #ecfdf3 100%);
}

.feature-split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.25rem;
}

@media (min-width: 992px) {
    .feature-split {
        grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
        gap: 1.5rem;
        align-items: stretch;
    }
}

.feature-spotlight {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.9rem;
    overflow: hidden;
    border-radius: 1.4rem;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(187, 247, 208, 0.18) 0%, transparent 50%),
        linear-gradient(160deg, #22c55e 0%, #16a34a 45%, #166534 100%);
    box-shadow: 0 22px 44px rgba(22, 101, 52, 0.22);
}

.feature-spotlight-watermark {
    position: absolute;
    right: -1.5rem;
    bottom: -1.75rem;
    font-size: 9.5rem;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.feature-spotlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    margin-bottom: 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 1.4rem;
}

.feature-spotlight-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.feature-spotlight-title {
    margin: 0 0 0.6rem;
    font-family: var(--lp-font-heading);
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
}

.feature-spotlight-desc {
    position: relative;
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.feature-spotlight-tags {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
}

.feature-spotlight-tags li {
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 0.76rem;
    font-weight: 600;
}

/* One white panel holds the six services; thin lines separate them instead of individual cards. */
.feature-list {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0.4rem 1.4rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--epi-border);
    border-radius: 1.4rem;
    box-shadow: 0 10px 30px rgba(22, 101, 52, 0.06);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.1rem 0.25rem;
    border-bottom: 1px solid var(--epi-border);
}

.feature-item:last-child {
    border-bottom: 0;
}

@media (min-width: 576px) {
    .feature-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2rem;
    }

    .feature-item:nth-last-child(2) {
        border-bottom: 0;
    }
}

.feature-item-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.8rem;
    background: var(--tone-tint);
    color: var(--tone);
    font-size: 1.05rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.feature-item:hover .feature-item-icon {
    background: var(--tone);
    color: #fff;
}

.feature-item-title {
    margin: 0 0 0.25rem;
    font-family: var(--lp-font-display);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--epi-900);
}

.feature-item-desc {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--epi-text-muted);
}

@media (max-width: 575.98px) {
    .feature-spotlight {
        padding: 1.5rem 1.4rem;
    }

    .feature-list {
        padding: 0.25rem 1.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature-item-icon {
        transition: none;
    }
}

/* ── How the System Works ── */
.how-section {
    background:
        radial-gradient(ellipse 40% 40% at 10% 20%, rgba(187, 247, 208, 0.45) 0%, transparent 70%),
        linear-gradient(145deg, #fafcfb 0%, #f4faf6 40%, #f1f8f2 70%, #ecf7ef 100%);
}

/* Phones and tablets: a vertical timeline with the icons joined by a line. */
.service-flow {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-width: 640px;
    margin: 2.25rem auto 0;
    padding: 0;
}

.service-flow-step {
    --flow-color: var(--epi-700);
    --flow-color-dark: var(--epi-900);
    position: relative;
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    grid-template-areas: "icon heading" "icon text";
    column-gap: 1rem;
    row-gap: 0.45rem;
    align-items: start;
    min-width: 0;
}

.service-flow-step--connect  { --flow-color: #c62828; --flow-color-dark: #8e1b1b; }
.service-flow-step--inform   { --flow-color: #f39c1e; --flow-color-dark: #c2650a; }
.service-flow-step--verify   { --flow-color: #7cb518; --flow-color-dark: #4d7c0f; }
.service-flow-step--followup { --flow-color: #0a8fd1; --flow-color-dark: #0369a1; }
.service-flow-step--monitor  { --flow-color: #fb7a1f; --flow-color-dark: #c2410c; }

.service-flow-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 3.4rem;
    bottom: calc(-1.1rem + 0.4rem);
    left: calc(1.5rem - 1px);
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--flow-color) 0%, rgba(22, 101, 52, 0.12) 100%);
}

.service-flow-head {
    display: contents;
}

.service-flow-icon {
    grid-area: icon;
    position: relative;
    z-index: 1;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--flow-color) 0%, var(--flow-color-dark) 100%);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 0 0 4px #fff, 0 8px 16px rgba(15, 23, 42, 0.15);
    transition: transform 0.25s ease;
}

.service-flow-heading {
    grid-area: heading;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding-top: 0.2rem;
}

.service-flow-num {
    font-family: var(--lp-font-display);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--flow-color-dark);
}

.service-flow-title {
    margin: 0;
    font-family: var(--lp-font-heading);
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--epi-900);
}

.service-flow-text {
    grid-area: text;
    margin: 0;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid var(--epi-border);
    border-left: 4px solid var(--flow-color);
    border-radius: 0.85rem;
    box-shadow: 0 8px 20px rgba(22, 101, 52, 0.06);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--epi-text);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-flow-step:hover .service-flow-icon {
    transform: scale(1.08) rotate(-4deg);
}

.service-flow-step:hover .service-flow-text {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(22, 101, 52, 0.1);
}

/* Desktop: five columns, each a coloured chevron head pointing into the next with its description card below. */
@media (min-width: 992px) {
    .service-flow {
        --flow-arrow: 22px;
        --flow-gap: 1rem;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        column-gap: var(--flow-gap);
        max-width: none;
        margin-top: 2.75rem;
    }

    .service-flow-step {
        display: flex;
        flex-direction: column;
        gap: 0.9rem;
    }

    .service-flow-step:not(:last-child)::before {
        content: none;
    }

    /* Each head reaches across the column gap so its arrow tip sits a few pixels inside the next head's notch. */
    .service-flow-head {
        position: relative;
        width: calc(100% + var(--flow-gap) + var(--flow-arrow) - 6px);
        min-height: 8.25rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.55rem;
        padding: 0.9rem calc(var(--flow-gap) + var(--flow-arrow)) 0.9rem calc(var(--flow-arrow) + 0.4rem);
        text-align: center;
        color: #fff;
        background: linear-gradient(160deg, var(--flow-color) 0%, var(--flow-color-dark) 100%);
        clip-path: polygon(
            0 0,
            calc(100% - var(--flow-arrow)) 0,
            100% 50%,
            calc(100% - var(--flow-arrow)) 100%,
            0 100%,
            var(--flow-arrow) 50%
        );
    }

    .service-flow-step:first-child .service-flow-head {
        padding-left: 1rem;
        border-radius: 1rem 0 0 1rem;
        clip-path: polygon(
            0 0,
            calc(100% - var(--flow-arrow)) 0,
            100% 50%,
            calc(100% - var(--flow-arrow)) 100%,
            0 100%
        );
    }

    .service-flow-step:last-child .service-flow-head {
        width: 100%;
        padding-right: 1rem;
        border-radius: 0 1rem 1rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--flow-arrow) 50%);
    }

    .service-flow-icon {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.1rem;
        background: #fff;
        color: var(--flow-color-dark);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
    }

    .service-flow-heading {
        align-items: center;
        padding-top: 0;
    }

    .service-flow-num {
        color: rgba(255, 255, 255, 0.85);
    }

    .service-flow-title {
        font-size: clamp(0.92rem, 1.25vw, 1.15rem);
        white-space: nowrap;
        color: #fff;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .service-flow-text {
        flex: 1;
        padding: 1rem 1.05rem 1.1rem;
        border-left-width: 1px;
        border-top: 4px solid var(--flow-color);
        text-align: center;
        font-size: 0.88rem;
    }
}

.service-flow-note {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    max-width: 760px;
    margin: 2.25rem auto 0;
    padding: 0.8rem 1.4rem 0.8rem 0.8rem;
    background: #fff;
    border: 1px solid var(--epi-border);
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(22, 101, 52, 0.08);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--epi-900);
}

.service-flow-note-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--epi-100);
    color: var(--epi-700);
    font-size: 1.05rem;
}

@media (max-width: 575.98px) {
    .service-flow-note {
        align-items: flex-start;
        padding: 0.9rem 1rem;
        border-radius: 1rem;
        font-size: 0.86rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-flow-icon,
    .service-flow-text,
    .service-flow-step:hover .service-flow-icon,
    .service-flow-step:hover .service-flow-text {
        transition: none;
        transform: none;
    }
}

/* ── Coverage and Community Communication ── */
.coverage-section {
    background:
        radial-gradient(ellipse 40% 36% at 92% 16%, rgba(187, 247, 208, 0.5) 0%, transparent 70%),
        radial-gradient(ellipse 36% 40% at 6% 84%, rgba(220, 252, 231, 0.7) 0%, transparent 68%),
        linear-gradient(180deg, #ffffff 0%, #f5faf7 55%, #ecfdf3 100%);
}

.coverage-section .section-title {
    margin-bottom: 1.5rem;
}

.coverage-row {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}

.coverage-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--epi-border);
    border-radius: 1.15rem;
    padding: 1.45rem 1.55rem;
    box-shadow: var(--ims-shadow);
}

.coverage-card-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.coverage-card-head h3 {
    margin: 0;
    font-family: var(--lp-font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--epi-900);
}

.coverage-card-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--epi-100);
    color: var(--epi-700);
    font-size: 0.92rem;
}

.coverage-text {
    margin: 0 0 1rem;
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--epi-text-muted);
}

.coverage-text strong {
    color: var(--epi-900);
}

.coverage-stat {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, var(--epi-50) 0%, var(--epi-100) 100%);
    border: 1px solid var(--epi-200);
}

.coverage-stat-number {
    font-family: var(--lp-font-heading);
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1;
    color: var(--epi-700);
}

.coverage-stat-text strong,
.coverage-stat-text span {
    display: block;
}

.coverage-stat-text strong {
    font-family: var(--lp-font-display);
    font-size: 0.9rem;
    color: var(--epi-900);
}

.coverage-stat-text span {
    font-size: 0.78rem;
    color: var(--epi-text-muted);
}

.coverage-sms-label {
    margin: 0 0 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--epi-800);
}

.coverage-sms-bubble {
    position: relative;
    padding: 0.8rem 0.95rem 0.6rem;
    border-radius: 1rem 1rem 1rem 0.3rem;
    background: var(--epi-50);
    border: 1px solid var(--epi-200);
}

.coverage-sms-bubble p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--epi-text);
}

.coverage-sms-sender {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--epi-700);
    text-align: right;
}

.coverage-sms-note {
    margin: 0.75rem 0 0;
    font-size: 0.74rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--epi-text-muted);
}

/* On desktop the photo follows the screen height so the whole hero fits on first load. */
@media (min-width: 992px) {
    .hero-section .hero-slideshow {
        height: clamp(360px, calc(100vh - 230px), 600px);
    }
}

/* Process */
.process-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 992px) {
    .process-timeline {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
    }
}

.process-step { flex: 1; max-width: 250px; text-align: center; }

.process-number {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.85rem;
    border-radius: 8px;
    background: var(--epi-600);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-card {
    background: #fff;
    border: 1px solid var(--epi-border);
    border-radius: var(--lp-radius);
    padding: 1.5rem 1.15rem;
    box-shadow: var(--ims-shadow);
    height: 100%;
}

.process-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 0.85rem;
    border-radius: 13px;
    background: color-mix(in srgb, var(--epi-600) 14%, white);
    color: var(--epi-600);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-card h5 { font-size: 0.92rem; font-weight: 700; color: var(--epi-text); }
.process-card p { font-size: 0.82rem; color: var(--epi-text-muted); margin: 0; }

.process-connector {
    color: var(--epi-400);
    padding: 0.65rem 0;
    font-size: 1rem;
}

@media (min-width: 992px) {
    .process-connector { padding: 3rem 0.35rem 0; }
}

/* Users */
.user-card {
    background: #fff;
    border: 1px solid var(--epi-border);
    border-radius: var(--lp-radius);
    overflow: hidden;
    box-shadow: var(--ims-shadow);
    height: 100%;
    transition: transform 0.22s ease;
}

.user-card:hover { transform: translateY(-4px); }

.user-card-header {
    padding: 1.75rem 1.25rem;
    text-align: center;
    background: linear-gradient(135deg, var(--epi-700), var(--epi-800)) !important;
    color: #fff;
}

.user-avatar {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.85rem;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.user-card-list { list-style: none; padding: 1.25rem; margin: 0; }
.user-card-list li {
    display: flex;
    gap: 0.55rem;
    padding: 0.35rem 0;
    font-size: 0.88rem;
    color: var(--epi-text-muted);
}

.user-card-list li i { color: var(--epi-600); margin-top: 0.1rem; }

/* Modules */
/* Modules — unique service board (not card grid) */
.module-board {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid color-mix(in srgb, var(--epi-600) 22%, white);
    border-radius: 18px;
    overflow: hidden;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--epi-600) 8%, white) 0%, #fff 42%);
    box-shadow: 0 8px 28px rgba(22, 101, 52, 0.06);
}

.module-board-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding: 1.6rem 0.85rem 1.45rem;
    min-height: 100%;
}

.module-board-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18%;
    right: 0;
    width: 1px;
    height: 64%;
    background: color-mix(in srgb, var(--epi-600) 18%, white);
}

.module-board-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--epi-600) 35%, white);
    background: #fff;
    color: var(--epi-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.module-board-item:hover .module-board-icon {
    background: var(--epi-600);
    color: #fff;
    border-color: var(--epi-600);
    transform: scale(1.06);
}

.module-board-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.module-board-text strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--epi-800);
    line-height: 1.25;
}

.module-board-text span {
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--epi-text-muted);
}

@media (max-width: 991.98px) {
    .module-board {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .module-board-item:nth-child(3)::after,
    .module-board-item:nth-child(5)::after {
        display: none;
    }

    .module-board-item:nth-child(n+4) {
        border-top: 1px solid color-mix(in srgb, var(--epi-600) 14%, white);
    }
}

@media (max-width: 575.98px) {
    .module-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .module-board-item:nth-child(3)::after {
        display: block;
    }

    .module-board-item:nth-child(2n)::after {
        display: none;
    }

    .module-board-item:nth-child(n+3) {
        border-top: 1px solid color-mix(in srgb, var(--epi-600) 14%, white);
    }
}

/* Benefits — single-column timeline for clear reading */
.benefit-ladder {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 0.25rem;
}

.benefit-ladder::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 1.25rem;
    bottom: 1.25rem;
    width: 2px;
    background: color-mix(in srgb, var(--epi-600) 28%, white);
    z-index: 0;
}

.benefit-ladder-step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: stretch;
    gap: 1rem;
}

.benefit-ladder-marker {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--epi-700);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 0 0 5px #fff, 0 0 0 7px color-mix(in srgb, var(--epi-600) 22%, white);
    flex-shrink: 0;
}

.benefit-ladder-body {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--epi-600) 18%, #d1d5db);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 4px 16px rgba(15, 61, 36, 0.06);
}

.benefit-ladder-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--epi-600) 12%, white);
    color: var(--epi-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.benefit-ladder-copy {
    min-width: 0;
    flex: 1;
}

.benefit-ladder-body h5 {
    margin: 0 0 0.35rem;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--epi-900, #14532d);
    line-height: 1.3;
}

.benefit-ladder-body p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #3f4f46;
}

@media (max-width: 575.98px) {
    .benefit-ladder-body {
        padding: 1rem;
        gap: 0.75rem;
    }

    .benefit-ladder-body h5 {
        font-size: 1rem;
    }

    .benefit-ladder-body p {
        font-size: 0.9rem;
    }
}

/* Stats — admin stat card style */
.stats-section {
    background: var(--epi-bg);
    padding: 4rem 0;
}

.landing-stat-card {
    background: #fff;
    border: 1px solid var(--epi-border);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--ims-shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.landing-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--epi-600);
}

.landing-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(22, 163, 74, 0.12);
}

.landing-stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    border-radius: 13px;
    background: color-mix(in srgb, var(--epi-600) 14%, white);
    color: var(--epi-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.stat-number {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--epi-text);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--epi-text-muted);
}

/* Contact */
.contact-section {
    background:
        radial-gradient(ellipse 42% 34% at 6% 12%, rgba(187, 247, 208, 0.45) 0%, transparent 70%),
        radial-gradient(ellipse 38% 40% at 94% 88%, rgba(220, 252, 231, 0.65) 0%, transparent 68%),
        linear-gradient(180deg, #ffffff 0%, #f5faf7 48%, #ecfdf3 100%);
    overflow: hidden;
}

.contact-title {
    margin-bottom: 0.75rem;
}

.contact-lead {
    margin: 0 0 1.25rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 576px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-notices {
    margin-top: 1rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(22, 163, 74, 0.1);
    border-radius: 1.1rem;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(22, 101, 52, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(22, 101, 52, 0.12);
    color: inherit;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--epi-600) 14%, white);
    color: var(--epi-600);
    font-size: 1rem;
}

.contact-info-card h3 {
    margin: 0 0 0.2rem;
    font-family: var(--lp-font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--epi-900);
}

.contact-info-card strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--epi-text);
    line-height: 1.35;
    word-break: break-word;
}

.contact-info-card p {
    margin: 0.25rem 0 0;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--epi-text-muted);
}

.contact-info-card strong a,
.contact-info-card p a {
    color: inherit;
    text-decoration: none;
}

.contact-info-card strong a:hover,
.contact-info-card p a:hover {
    color: var(--epi-700);
    text-decoration: underline;
}

.contact-info-card p a {
    color: var(--epi-700);
    font-weight: 600;
}

.contact-form-card {
    background: #fff;
    border: 1px solid rgba(22, 163, 74, 0.12);
    border-radius: 1.4rem;
    padding: clamp(1.1rem, 2.4vw, 1.6rem);
    box-shadow: 0 16px 36px rgba(22, 101, 52, 0.08);
}

.contact-form-title {
    margin: 0 0 1rem;
    font-family: var(--lp-font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--epi-900);
}

.contact-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    background: var(--epi-50);
    border: 1px solid var(--epi-200);
}

.contact-notice + .contact-notice {
    margin-top: 0.75rem;
}

.contact-notice i {
    margin-top: 0.15rem;
    color: var(--epi-700);
}

.contact-notice p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--epi-text);
}

.contact-notice--warning {
    background: #fffbeb;
    border-color: #fde68a;
}

.contact-notice--warning i {
    color: #b45309;
}

.contact-form .form-label {
    margin-bottom: 0.3rem;
    font-family: var(--lp-font-display);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--epi-900);
}

.contact-required {
    color: #dc3545;
}

.contact-optional {
    font-weight: 500;
    color: var(--epi-text);
    opacity: 0.75;
}

.contact-form .form-control {
    border-radius: 0.75rem;
    border-color: var(--epi-border);
    background: #fbfdfc;
    font-size: 0.92rem;
    padding: 0.6rem 0.8rem;
}

.contact-form .form-control:focus {
    border-color: var(--epi-500);
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.18);
    background: #fff;
}

.contact-form .form-control.is-invalid {
    border-color: #dc3545;
}

.contact-form .form-check-label {
    font-size: 0.84rem;
    color: var(--epi-text);
}

.contact-form .form-check-label a {
    color: var(--epi-700);
    font-weight: 700;
}

.contact-form .form-check-input:checked {
    background-color: var(--epi-600);
    border-color: var(--epi-600);
}

/* Spam trap: hidden from people (and screen readers), still filled in by bots. */
.contact-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--epi-700);
    color: #fff !important;
    border: 0;
    border-radius: 999px;
    font-family: var(--lp-font-display);
    font-weight: 700;
    padding: 0.75rem 1.6rem;
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.24);
}

.contact-submit:hover {
    background: var(--epi-600);
}

.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    border-radius: 0.9rem;
    font-size: 0.9rem;
}

.contact-alert i {
    margin-top: 0.2rem;
}

.contact-closing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2.5rem;
    margin-top: 1.75rem;
}

.contact-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin: 0;
    color: var(--epi-800);
}

.contact-quote > i {
    color: var(--epi-600);
    font-size: 1.1rem;
}

.contact-quote p {
    margin: 0;
    font-family: var(--lp-font-accent);
    font-style: italic;
    font-size: 1rem;
    font-weight: 700;
}

.contact-quote-line {
    width: 48px;
    height: 2px;
    border-radius: 999px;
    background: var(--epi-600);
    flex-shrink: 0;
}

.contact-values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
}

.contact-value-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--lp-font-display);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--epi-800);
}

.contact-value-item i {
    color: var(--epi-600);
}

/* Footer */
.landing-footer {
    background:
        radial-gradient(ellipse 50% 60% at 100% 0%, rgba(34, 197, 94, 0.16) 0%, transparent 70%),
        linear-gradient(180deg, var(--epi-900) 0%, #052e16 100%);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.landing-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--epi-600), #4ade80, var(--epi-600));
}

.footer-main {
    padding: 3.5rem 0 2.5rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #fff;
    text-decoration: none;
}

.footer-brand:hover {
    color: #fff;
}

.footer-brand .brand-seal {
    width: 48px;
    height: 48px;
}

.footer-brand-name {
    display: block;
    font-family: var(--lp-font-display);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
}

.footer-brand-tagline {
    display: block;
    margin-top: 0.15rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
}

.footer-desc {
    max-width: 22rem;
    margin: 0 0 1.25rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    background: var(--epi-600);
    border-color: var(--epi-600);
}

.footer-heading {
    position: relative;
    margin: 0 0 1.25rem;
    padding-bottom: 0.65rem;
    color: #fff;
    font-family: var(--lp-font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: #4ade80;
}

.footer-links {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a,
.footer-link-btn {
    padding: 0;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.72);
    font: inherit;
    text-align: left;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-link-btn:hover,
.footer-link-btn:focus-visible {
    padding-left: 0.25rem;
    color: #86efac;
}

.footer-contact-list {
    display: grid;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.12);
    color: #86efac;
    font-size: 0.82rem;
}

.footer-contact-label {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-contact-list a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.footer-contact-list a:hover,
.footer-contact-list a:focus-visible {
    color: #86efac;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.footer-top-link:hover,
.footer-top-link:focus-visible {
    color: #86efac;
}

@media (max-width: 767.98px) {
    .footer-main {
        padding: 2.75rem 0 2rem;
    }

.footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-links a,
    .footer-link-btn {
        transition: none;
    }
}

/* Privacy Notice / Terms of Use dialogs */
.legal-modal .modal-content {
    border: 0;
    border-radius: 1.25rem;
    box-shadow: 0 24px 60px rgba(22, 101, 52, 0.25);
}

.legal-modal .modal-header {
    border-bottom: 1px solid var(--epi-border);
    padding: 1.1rem 1.5rem;
}

.legal-modal .modal-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--lp-font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--epi-900);
}

.legal-modal .modal-title i {
    color: var(--epi-600);
}

.legal-modal .modal-body {
    padding: 1.35rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--epi-text);
}

.legal-modal .modal-footer {
    border-top: 1px solid var(--epi-border);
}

.legal-modal-btn {
    background: var(--epi-700);
    color: #fff;
    border-radius: 999px;
    padding: 0.5rem 1.4rem;
    font-weight: 700;
}

.legal-modal-btn:hover {
    background: var(--epi-600);
    color: #fff;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--reveal-delay, 0s);
}

.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { --reveal-delay: 0.1s; }
.reveal-delay-2 { --reveal-delay: 0.2s; }
.reveal-delay-3 { --reveal-delay: 0.3s; }

/* Responsive */
@media (max-width: 991.98px) {
    .section-padding { padding: 3.5rem 0; }
    .hero-float { animation-duration: 5.5s !important; }
    .hero-lines-svg {
        right: 50%;
        transform: translate(50%, -42%);
        width: min(620px, 120vw);
        opacity: 0.45;
    }
    .about-visual { min-height: 260px; margin-bottom: 1.5rem; }
    .about-visual-illustration { min-height: 0; }
    .hero-slideshow {
        height: min(60vh, 520px);
    }
}

@media (max-width: 575.98px) {
    .hero-actions { flex-direction: column; align-items: stretch !important; }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--lp-nav-height) + 12px);
}

/* ── One section per screen (desktop and laptop) ──
   Each section fills exactly the space below the fixed navbar and the page snaps from one section to the
   next. Spacing and type scale with the screen height so the content fits. Phones and very short windows
   keep normal scrolling because the content cannot fit there. */
@media (min-width: 992px) and (min-height: 560px) {
    html {
        scroll-snap-type: y mandatory;
        scroll-padding-top: var(--lp-nav-height);
    }

    .landing-page main > section {
        min-height: calc(100vh - var(--lp-nav-height));
        min-height: calc(100svh - var(--lp-nav-height));
        display: flex;
        flex-direction: column;
        justify-content: center;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .landing-page main > .section-padding {
        padding: clamp(0.85rem, 3vh, 2.75rem) 0;
    }

    .landing-page main > .hero-section {
        min-height: 100vh;
        min-height: 100svh;
    }

    .landing-footer {
        scroll-snap-align: end;
    }

    .landing-page .section-label {
        margin-bottom: clamp(0.35rem, 1vh, 0.75rem);
    }

    .landing-page .section-title {
        font-size: clamp(1.45rem, 3.8vh, 2.1rem);
        margin-bottom: clamp(0.35rem, 1.1vh, 0.85rem);
    }

    .landing-page .section-desc {
        font-size: clamp(0.88rem, 2vh, 1rem);
        line-height: 1.6;
    }

    /* Centred intros run wider so they take one or two lines instead of three. */
    .landing-page .text-center > .section-desc {
        max-width: 62rem;
    }

    .landing-page .text-center > .section-desc:last-child {
        margin-bottom: 0;
    }

    /* Hero */
    .hero-section > .container > .row {
        padding-top: clamp(0.75rem, 3vh, 3rem) !important;
        padding-bottom: clamp(0.75rem, 3vh, 3rem) !important;
    }

    .hero-section .hero-slideshow {
        height: clamp(320px, calc(100svh - var(--lp-nav-height) - 120px), 600px);
    }

    /* About */
    .about-stage {
        min-height: clamp(400px, calc(100svh - var(--lp-nav-height) - 160px), 470px);
    }

    /* Discover */
    .landing-page .discover-title {
        font-size: clamp(1.85rem, 4.8vh, 2.7rem);
    }

    .landing-page .discover-desc {
        font-size: clamp(1.05rem, 2.6vh, 1.25rem);
    }

    .discover-stage {
        min-height: clamp(360px, calc(100svh - var(--lp-nav-height) - 120px), 470px);
    }

    .discover-poster {
        width: clamp(260px, calc(100svh - var(--lp-nav-height) - 220px), 340px);
    }

    .discover-qr-card {
        width: clamp(225px, calc(100svh - var(--lp-nav-height) - 300px), 250px);
    }

    .about-footer-bar {
        margin-top: clamp(0.75rem, 2.5vh, 2.5rem);
        padding-top: clamp(0.75rem, 2vh, 1.5rem);
    }

    /* Services */
    .feature-split {
        margin-top: clamp(0.75rem, 2.5vh, 2.25rem);
    }

    /* How the System Works */
    .service-flow {
        margin-top: clamp(1rem, 3vh, 2.75rem);
    }

    .service-flow-head {
        min-height: clamp(6.5rem, 15vh, 8.25rem);
    }

    .service-flow-note {
        margin-top: clamp(1rem, 3vh, 2.25rem);
    }

    /* Coverage */
    .coverage-section .row {
        margin-top: 0;
    }

    /* Contact */
    .contact-closing {
        margin-top: clamp(0.75rem, 2.5vh, 1.75rem);
    }
}

/* Shorter laptop screens (e.g. 1366 x 768): tighter spacing in the three densest sections. */
@media (min-width: 992px) and (min-height: 560px) and (max-height: 820px) {
    /* Hero */
    .hero-motto { margin-bottom: 0.5rem; }
    .hero-title { margin-bottom: 0.65rem; }

    .hero-subtitle {
        margin-bottom: 0.85rem;
        font-size: 1rem;
    }

    .hero-logos { margin-bottom: 0.85rem; }
    .hero-logo-item { width: 60px; height: 60px; }
    .hero-logo-item--wide { width: 92px; }

    .hero-capabilities-panel {
        margin-bottom: 1rem;
        padding: 0.65rem;
    }

    .hero-capabilities-label { margin-bottom: 0.45rem; }
    .hero-capability { padding: 0.4rem 0.5rem; }

    .hero-capability-icon {
        width: 1.85rem;
        height: 1.85rem;
        font-size: 0.82rem;
    }

    /* Services */
    .feature-spotlight { padding: 1.5rem 1.6rem; }

    .feature-spotlight-icon {
        width: 3rem;
        height: 3rem;
        margin-bottom: 0.8rem;
        font-size: 1.25rem;
    }

    .feature-spotlight-desc {
        margin-bottom: 1rem;
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .feature-item { padding: 0.85rem 0.2rem; }

    .feature-item-icon {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 0.95rem;
    }

    .feature-item-title { font-size: 0.92rem; }

    .feature-item-desc {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    /* Contact */
    .contact-title { margin-bottom: 0.4rem; }
    .contact-lead { margin-bottom: 0.7rem; }
    .contact-info-grid { gap: 0.6rem; }

    .contact-info-card {
        gap: 0.65rem;
        padding: 0.6rem 0.75rem;
    }

    .contact-info-icon {
        width: 36px;
        height: 36px;
        font-size: 0.88rem;
    }

    .contact-info-card h3 { font-size: 0.84rem; }
    .contact-info-card strong { font-size: 0.78rem; }
    .contact-info-card p { font-size: 0.7rem; }

    .contact-notices { margin-top: 0.6rem; }
    .contact-closing { margin-top: 0.6rem; }
    .contact-notice { padding: 0.55rem 0.8rem; }
    .contact-notice + .contact-notice { margin-top: 0.5rem; }

    .contact-notice p {
        font-size: 0.74rem;
        line-height: 1.42;
    }

    .contact-form-card { padding: 1.25rem 1.4rem; }
    .contact-form-title { margin-bottom: 0.6rem; font-size: 1.1rem; }
    .contact-form .row { --bs-gutter-y: 0.65rem; }
    .contact-form .form-label { margin-bottom: 0.2rem; }
    .contact-form .form-control { padding: 0.45rem 0.75rem; }
    .contact-form textarea.form-control { height: 5.5rem; }
    .contact-submit { padding: 0.6rem 1.4rem; }
}

/* Narrow desktops (992-1199px) wrap more text in the column layouts, so the densest copy is set smaller. */
@media (min-width: 992px) and (max-width: 1199.98px) and (min-height: 560px) {
    .feature-item-title { font-size: 0.88rem; }
    .feature-item-desc { font-size: 0.78rem; }
    .feature-spotlight-desc { font-size: 0.84rem; }
    .contact-info-card strong { font-size: 0.74rem; }
    .contact-notice p { font-size: 0.72rem; }
    .contact-lead { font-size: 0.86rem; }
    .contact-info-grid { gap: 0.5rem; }
    .contact-notice { padding: 0.45rem 0.7rem; }
}

/* Very short desktop screens (about 700px tall or less): the form plus the note under it must still fit one screen. */
@media (min-width: 992px) and (min-height: 560px) and (max-height: 700px) {
    .landing-page main > .contact-section { padding: 0.6rem 0; }
    .contact-form-card { padding: 0.9rem 1.25rem; }
    .contact-form-title { margin-bottom: 0.45rem; }
    .contact-form .row { --bs-gutter-y: 0.5rem; }
    .contact-form textarea.form-control { height: 3.6rem; }
    .contact-submit { padding: 0.5rem 1.3rem; }
    .contact-notices { margin-top: 0.5rem; }
    .contact-notice { padding: 0.4rem 0.75rem; }
    .contact-closing { margin-top: 0.5rem; }
}

@media (min-width: 992px) and (min-height: 560px) and (max-height: 620px) {
    .contact-form-card { padding: 0.75rem 1.2rem; }
    .contact-form .form-label { margin-bottom: 0.1rem; font-size: 0.78rem; }
    .contact-form .form-control { padding: 0.35rem 0.7rem; }
    .contact-form textarea.form-control { height: 3rem; }
    .contact-form .form-check-label { font-size: 0.78rem; }
    .contact-notice p { font-size: 0.7rem; line-height: 1.38; }
}

@media (min-width: 992px) and (min-height: 560px) and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
