:root {
    --forest: #0B463B;
    --forest-deep: #072E27;
    --forest-mid: #145349;
    --ignition: #FF5722;
    --ignition-dark: #E64A19;
    --route-lime: #8DC63F;
    --paper: #F7F8F5;
    --paper-dim: #EEF1EC;
    --ink: #14201B;
    --ink-soft: #57685F;
    --white: #FFFFFF;
    --radius: 14px;
    --shadow-soft: 0 10px 30px rgba(11, 70, 59, 0.08);
    --shadow-lift: 0 22px 44px rgba(11, 70, 59, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.display-font {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--forest);
    letter-spacing: -0.01em;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.02em;
}

a {
    text-decoration: none;
}

.container-xl {
    max-width: 1280px;
}

::selection {
    background: var(--ignition);
    color: #fff;
}

/* ---------- Signature: diagonal bar mark (from the Shipora logo geometry) ---------- */
.bar-mark {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 14px;
    margin-right: 10px;
}

.bar-mark span {
    display: block;
    width: 16px;
    height: 6px;
    transform: skewX(-24deg);
    border-radius: 1px;
}

.bar-mark span:nth-child(1) {
    background: var(--ignition);
}

.bar-mark span:nth-child(2) {
    background: var(--route-lime);
}

.bar-mark span:nth-child(3) {
    background: var(--forest);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--forest-mid);
    margin-bottom: 14px;
}

.eyebrow.on-dark {
    color: #024a3f;
}

/* ---------- Buttons ---------- */
.btn-ignition {
    background: var(--ignition);
    border: 1px solid var(--ignition);
    color: #fff;
    font-weight: 600;
    padding: .75rem 1.6rem;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(255, 87, 34, .32);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-ignition:hover {
    background: var(--ignition-dark);
    border-color: var(--ignition-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 87, 34, .4);
}

.btn-outline-paper {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .55);
    color: #fff;
    font-weight: 600;
    padding: .72rem 1.5rem;
    border-radius: 10px;
    transition: all .18s ease;
}

.btn-outline-paper:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-forest {
    background: transparent;
    border: 1.5px solid var(--forest);
    color: var(--forest);
    font-weight: 600;
    padding: .72rem 1.5rem;
    border-radius: 10px;
    transition: all .18s ease;
}

.btn-outline-forest:hover {
    background: var(--forest);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 16px 0;
    transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}

#mainNav .navbar-brand img {
    height: 50px;
    transition: height .3s ease;
}

#mainNav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    padding: 10px 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
    backdrop-filter: blur(6px);
}

#mainNav.scrolled .navbar-brand img {
    height: 45px;
}

.nav-link-custom {
    color: rgba(0, 0, 0, 0.92);
    font-weight: 500;
    font-size: .95rem;
    margin: 0 14px;
    position: relative;
    padding: 6px 0;
}

.nav-link-custom::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--ignition);
    transition: width .2s ease;
}

.nav-link-custom:hover {
    color: var(--ignition);
}

.nav-link-custom:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    color: #fff;
    font-size: 1.4rem;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: linear-gradient(to right, #F3E8EF 0%, #ffffffba 50%, #ffffff00 100%),url(images/hero-bg.webp) no-repeat center bottom;
    background-size: cover;
    background-position: center;
    padding: 150px 0 90px;
    overflow: hidden;
    color: #fff;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 90%);
    pointer-events: none;
}

.hero h1 {
    color: #000000;
    font-size: clamp(2.1rem, 4.4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.12;
}

.hero h1 .accent {
    color: var(--ignition);
}

.hero p.lead-copy {
    color: rgb(59, 59, 59);
    font-size: 1.1rem;
    max-width: 520px;
    line-height: 1.65;
}

.trust-chip-row {
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.trust-chip .num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    display: block;
}

.trust-chip .label {
    font-size: .76rem;
    color: rgba(255, 255, 255, .6);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* route line svg */
.route-line-svg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    width: 100%;
    height: auto;
    display: block;
}

.route-path {
    stroke-dasharray: 9 10;
    animation: dash-flow 3.2s linear infinite;
}

@keyframes dash-flow {
    to {
        stroke-dashoffset: -190;
    }
}

/* Tracker preview card */
.tracker-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    padding: 26px;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-lift);
}

.tracker-card .wb-code {
    color: var(--route-lime);
    font-size: .82rem;
}

.tracker-form input {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    border-radius: 10px 0 0 10px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .86rem;
}

.tracker-form input::placeholder {
    color: rgba(255, 255, 255, .45);
}

.tracker-form input:focus {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    box-shadow: none;
    border-color: var(--ignition);
}

.tracker-form .btn-track {
    border-radius: 0 10px 10px 0;
}

.route-track {
    position: relative;
    padding: 6px 0 4px;
    margin-top: 20px;
}

.route-track .line {
    position: absolute;
    top: 11px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: rgba(255, 255, 255, .18);
}

.route-track .line-fill {
    position: absolute;
    top: 11px;
    left: 10px;
    height: 2px;
    background: var(--route-lime);
    width: 0%;
    transition: width 1s cubic-bezier(.4, 0, .2, 1);
}

.stop-row {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.stop {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.stop .dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--forest-deep);
    border: 2px solid rgba(255, 255, 255, .3);
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    transition: all .4s ease;
}

.stop.done .dot {
    background: var(--route-lime);
    border-color: var(--route-lime);
    color: var(--forest-deep);
}

.stop.active .dot {
    background: var(--ignition);
    border-color: var(--ignition);
    color: #fff;
    box-shadow: 0 0 0 6px rgba(255, 87, 34, .22);
    animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 5px rgba(255, 87, 34, .22);
    }

    50% {
        box-shadow: 0 0 0 9px rgba(255, 87, 34, .1);
    }
}

.stop .st-label {
    font-size: .66rem;
    color: rgba(255, 255, 255, .55);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.stop.done .st-label,
.stop.active .st-label {
    color: #fff;
}

.tracker-loading {
    display: none;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .7);
    font-size: .85rem;
    margin-top: 18px;
}

#services .reveal i{
    color:var(--ignition);
    font-size: 2rem;
    margin-bottom: 22px;
}
.spinner-tiny {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, .25);
    border-top-color: var(--route-lime);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Section basics ---------- */
section {
    padding: 60px 0;
}

.section-alt {
    background: var(--paper-dim);
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
}

.section-head p {
    color: var(--ink-soft);
    font-size: 1.06rem;
}

/* ---------- Service cards ---------- */
.svc-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 34px 28px;
    height: 100%;
    border: 1px solid rgba(11, 70, 59, .08);
    box-shadow: var(--shadow-soft);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    position: relative;
    overflow: hidden;
}

.svc-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ignition), var(--route-lime));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
    border-color: transparent;
}

.svc-card:hover::before {
    transform: scaleX(1);
}

.svc-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
}

.svc-card h3 {
    font-size: 1.18rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.svc-card p {
    color: var(--ink-soft);
    font-size: .94rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---------- Process / route ---------- */
.process-wrap {
    position: relative;
}

.process-line-desktop {
    position: absolute;
    top: 34px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(11, 70, 59, .25) 0 10px, transparent 10px 18px);
    z-index: 0;
}

.stage {
    position: relative;
    z-index: 1;
    text-align: center;
}

.stage-node {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--forest);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-soft);
    color: var(--forest);
    font-size: 1.4rem;
}

.stage:nth-child(2) .stage-node {
    border-color: var(--ignition);
    color: var(--ignition);
}

.stage:nth-child(3) .stage-node {
    border-color: var(--route-lime);
    color: #5c8a26;
}

.stage-code {
    font-size: .72rem;
    color: var(--ink-soft);
}

.stage h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 6px 0 8px;
}

.stage p {
    color: var(--ink-soft);
    font-size: .9rem;
}

/* ---------- Duotone illustration panels ---------- */
.illus-panel {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: linear-gradient(150deg, var(--forest) 0%, var(--forest-mid) 100%);
}

.illus-panel svg {
    width: 100%;
    height: 100%;
    display: block;
}

.why-row {
    align-items: center;
}

.why-row .stat-inline {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    color: var(--forest);
}

/* ---------- CTA banner ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--forest-deep), var(--forest) 60%, var(--forest-mid));
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.quote-form input,
.quote-form select {
    border-radius: 10px;
    border: 1px solid #DDE3DE;
    padding: .65rem .9rem;
    font-size: .92rem;
}

.quote-form input:focus,
.quote-form select:focus {
    border-color: var(--ignition);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, .14);
}

.quote-form label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 6px;
}

/* ---------- Footer ---------- */
footer {
    background: #fff;
    color: rgb(50, 50, 50);
    padding: 64px 0 24px;
}

footer h5 {
    color: var(--ignition);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

footer a.f-link {
    color: rgb(50, 50, 50);
    display: block;
    margin-bottom: 10px;
    font-size: .92rem;
    transition: color .18s ease, padding-left .18s ease;
}

footer a.f-link:hover {
    color: var(--ignition);
    padding-left: 4px;
}

.f-contact {
    font-size: .92rem;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.f-contact i {
    color: var(--route-lime);
    margin-top: 3px;
    width: 16px;
}

.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--ignition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ignition);
    transition: all .2s ease;
}

.social-circle:hover {
    background: var(--ignition);
    border-color: var(--ignition);
    transform: translateY(-3px);
    color:#fff;
}

footer .foot-bottom {
    border-top: 1px solid #f4f4f4;
    margin-top: 44px;
    padding-top: 22px;
    font-size: .82rem;
    color: rgba(0, 0, 0, 0.5);
}

/* ---------- Mobile sticky CTA ---------- */
#mobileCta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: var(--forest);
    padding: 12px 16px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .2);
    transform: translateY(110%);
    transition: transform .3s ease;
}

#mobileCta.show {
    transform: translateY(0);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

@media (max-width:991.98px) {
    .process-line-desktop {
        display: none;
    }

    .stage {
        margin-bottom: 36px;
    }

    .cta-band {
        padding: 40px 26px;
    }
}