:root {
    --bg: #f7f7f4;
    --surface: rgba(255, 255, 255, 0.78);
    --ink: #14213d;
    --muted: #58627a;
    --accent: #e27a2d;
    --accent-deep: #b8521b;
    --line: rgba(20, 33, 61, 0.1);
    --shadow: 0 20px 60px rgba(20, 33, 61, 0.12);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
        linear-gradient(140deg, rgba(226, 122, 45, 0.14), transparent 30%),
        linear-gradient(220deg, rgba(20, 33, 61, 0.14), transparent 28%),
        linear-gradient(180deg, #fbfbf7 0%, #eef3f4 54%, #f7f2e8 100%);
}

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

img {
    display: block;
    max-width: 100%;
}

main {
    overflow: hidden;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: #10233d;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.93rem;
}

.topbar-inner,
.nav-wrap,
.hero-actions,
.hero-stats,
.section-head,
.split,
.contact-strip,
.cta-panel,
.tracking-layout,
.contact-grid,
.footer-grid,
.footer-bottom {
    display: flex;
    align-items: center;
}

.topbar-inner,
.nav-wrap,
.section-head,
.contact-strip,
.cta-panel,
.footer-bottom {
    justify-content: space-between;
}

.topbar-inner {
    min-height: 52px;
    gap: 1rem;
}

.topbar-emails {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(247, 247, 244, 0.82);
    border-bottom: 1px solid rgba(20, 33, 61, 0.08);
}

.nav-wrap {
    min-height: 88px;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
}

.brand img {
    width: 56px;
    height: 56px;
}

.brand strong,
.hero-copy h1,
.section-title,
.service-card h3,
.page-hero h1,
.card-panel h3,
.timeline-card h3 {
    font-family: 'Space Grotesk', sans-serif;
}

.brand span {
    display: grid;
    gap: 0.15rem;
}

.brand strong {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.brand small {
    color: var(--muted);
}

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

.site-nav a {
    color: var(--muted);
    font-weight: 600;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--ink);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    box-shadow: 0 18px 40px rgba(184, 82, 27, 0.22);
    position: relative;
    overflow: hidden;
}

.button-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-105%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: transform 0.55s ease;
}

.button-primary:hover::after {
    transform: translateX(105%);
}

.button-secondary {
    color: var(--ink);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.66);
}

.menu-toggle {
    display: none;
    border: 0;
    padding: 0;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    margin: 6px 0;
    background: var(--ink);
}

.hero {
    padding: 4rem 0 5rem;
}

.hero-panel,
.service-card,
.feature-card,
.timeline-card,
.card-panel,
.tracking-panel,
.contact-panel,
.form-panel,
.cta-panel,
.stat-box {
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: var(--surface);
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow);
}

.hero-panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    padding: 2rem;
    border-radius: 36px;
    animation: panel-rise 0.85s ease both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(20, 33, 61, 0.06);
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-copy h1,
.page-hero h1 {
    margin: 1rem 0;
    font-size: clamp(2.8rem, 5vw, 5.1rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.hero-copy p,
.page-hero p,
.section-copy,
.card-panel p,
.service-card p,
.feature-card p,
.timeline-card p,
.contact-panel p,
.form-panel p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.hero-actions,
.hero-stats,
.service-grid,
.feature-grid,
.timeline-grid,
.value-grid,
.footer-grid {
    gap: 1rem;
}

.hero-actions {
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-stats {
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-box {
    min-width: 180px;
    padding: 1.1rem 1.2rem;
    border-radius: var(--radius-sm);
}

.stat-box strong {
    display: block;
    font-size: 1.9rem;
    font-family: 'Space Grotesk', sans-serif;
}

.hero-visual {
    position: relative;
    min-height: 460px;
    border-radius: 32px;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(16, 35, 61, 0.88), rgba(16, 35, 61, 0.42)),
        url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1200&q=80') center/cover;
    isolation: isolate;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: auto 1.5rem 1.5rem auto;
    width: 210px;
    height: 210px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(226, 122, 45, 0.9), rgba(184, 82, 27, 0.3));
    animation: float-card 5.8s ease-in-out infinite;
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 28px;
    transform: rotate(-7deg);
    animation: route-pulse 4.5s ease-in-out infinite;
    z-index: -1;
}

.hero-badge,
.route-card {
    position: absolute;
    border-radius: 22px;
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.hero-badge {
    top: 1.5rem;
    left: 1.5rem;
    max-width: 220px;
    animation: float-card 6.2s ease-in-out infinite;
}

.route-card {
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 260px;
    animation: float-card 6.8s ease-in-out infinite reverse;
}

.hero-badge strong,
.route-card strong {
    display: block;
    margin-bottom: 0.35rem;
}

.section {
    padding: 4.75rem 0;
}

.section.alt {
    background: rgba(255, 255, 255, 0.48);
}

.section-head {
    gap: 1rem;
    align-items: end;
    margin-bottom: 2rem;
}

.section-title {
    margin: 0.4rem 0 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.section-copy {
    max-width: 560px;
}

.service-grid,
.feature-grid,
.timeline-grid,
.value-grid {
    display: grid;
}

.service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.feature-card,
.timeline-card,
.card-panel,
.tracking-panel,
.contact-panel,
.form-panel {
    padding: 1.6rem;
    border-radius: var(--radius);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover,
.feature-card:hover,
.timeline-card:hover,
.card-panel:hover,
.tracking-panel:hover,
.contact-panel:hover,
.form-panel:hover {
    transform: translateY(-8px);
    border-color: rgba(226, 122, 45, 0.28);
    box-shadow: 0 28px 70px rgba(20, 33, 61, 0.16);
}

.service-card h3,
.feature-card h3,
.timeline-card h3,
.card-panel h3 {
    margin: 0 0 0.8rem;
    font-size: 1.35rem;
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, rgba(226, 122, 45, 0.14), rgba(16, 35, 61, 0.1));
    color: var(--accent-deep);
    font-weight: 800;
    transition: transform 0.28s ease, background 0.28s ease;
}

.service-card:hover .service-icon {
    transform: rotate(-6deg) scale(1.08);
    background: linear-gradient(135deg, rgba(226, 122, 45, 0.22), rgba(16, 35, 61, 0.16));
}

.service-link,
.inline-link {
    color: var(--accent-deep);
    font-weight: 800;
}

.split {
    gap: 2rem;
    align-items: stretch;
}

.split > * {
    flex: 1;
}

.media-panel {
    border-radius: 30px;
    min-height: 420px;
    background:
        linear-gradient(180deg, rgba(16, 35, 61, 0.18), rgba(16, 35, 61, 0.52)),
        url('https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?auto=format&fit=crop&w=1200&q=80') center/cover;
    box-shadow: var(--shadow);
}

.check-list,
.mini-list,
.contact-list,
.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 1.3rem 0 0;
}

.check-list li,
.mini-list li,
.contact-list li,
.footer-grid li {
    margin-bottom: 0.85rem;
    color: var(--muted);
}

.check-list li::before {
    content: '';
    display: inline-block;
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: var(--accent-deep);
    margin-right: 0.65rem;
}

.contact-strip,
.cta-panel {
    gap: 1rem;
}

.contact-strip {
    padding: 1.3rem 1.5rem;
    border-radius: 24px;
    margin-top: 1.75rem;
    background: rgba(16, 35, 61, 0.92);
    color: rgba(255, 255, 255, 0.92);
}

.page-hero {
    padding: 3.3rem 0 2.4rem;
}

.page-hero-panel {
    padding: 2rem;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(16, 35, 61, 0.94), rgba(16, 35, 61, 0.68)),
        url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=1200&q=80') center/cover;
    color: #fff;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.page-hero-panel::after {
    content: '';
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    animation: route-pulse 5.5s ease-in-out infinite;
}

.page-hero p,
.page-hero .eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.page-hero .eyebrow {
    background: rgba(255, 255, 255, 0.08);
}

.tracking-layout,
.contact-grid {
    align-items: stretch;
    gap: 1.5rem;
}

.tracking-layout > *,
.contact-grid > * {
    flex: 1;
}

form {
    display: grid;
    gap: 1rem;
}

label {
    display: grid;
    gap: 0.45rem;
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid rgba(20, 33, 61, 0.12);
    border-radius: 18px;
    padding: 0.95rem 1rem;
    font: inherit;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.88);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.alert {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    font-weight: 700;
}

.alert-success {
    margin-top: 1rem;
    background: rgba(65, 146, 75, 0.14);
    color: #1c6a29;
}

.kpi-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.kpi {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(16, 35, 61, 0.05);
}

.kpi strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.35rem;
    font-family: 'Space Grotesk', sans-serif;
}

.site-footer {
    padding: 3.5rem 0 1.75rem;
    color: rgba(255, 255, 255, 0.8);
    background: #10233d;
}

.footer-grid {
    align-items: start;
    gap: 2rem;
}

.footer-grid > * {
    flex: 1;
}

.footer-grid h3 {
    color: #fff;
}

.footer-grid ul {
    margin-top: 1rem;
}

.footer-brand span small,
.site-footer p,
.footer-grid a,
.footer-grid li {
    color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.72s ease, transform 0.72s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes panel-rise {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes float-card {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

@keyframes route-pulse {
    0%,
    100% {
        opacity: 0.52;
        transform: rotate(-7deg) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: rotate(-4deg) scale(1.04);
    }
}

@keyframes soft-pop {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .hero-panel {
        grid-template-columns: 1fr;
    }

    .split,
    .tracking-layout,
    .contact-grid,
    .footer-grid {
        flex-direction: column;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid,
    .timeline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .value-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 820px) {
    .topbar {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.75rem);
        padding: 1rem;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

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

    .nav-cta {
        width: 100%;
    }

    .hero,
    .section {
        padding: 3.5rem 0;
    }

    .hero-panel,
    .page-hero-panel {
        padding: 1.35rem;
    }

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

    .hero-copy h1,
    .page-hero h1 {
        font-size: clamp(2.3rem, 13vw, 3.7rem);
    }

    .service-grid,
    .feature-grid,
    .timeline-grid,
    .kpi-row {
        grid-template-columns: 1fr;
    }

    .contact-strip,
    .cta-panel,
    .section-head {
        flex-direction: column;
        align-items: start;
    }
}
