/* Explain: Styles for the footer's Palestinian and Egyptian identity flags. */
.site-header {
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(18px);
}

/* ===== أعلام الهوية الفلسطينية المصرية في الفوتر ===== */
.footer-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: #ffffff;
    padding-block: 0.5rem;
    padding-inline: 0.55rem 1.15rem;
    box-shadow: 0 12px 30px rgba(19, 19, 22, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.footer-flag:hover {
    border-color: rgba(200, 16, 46, 0.35);
    box-shadow: 0 18px 42px rgba(200, 16, 46, 0.14);
    transform: translateY(-3px);
}

.footer-flag-svg {
    display: block;
    width: 2.7rem;
    height: auto;
    border: 1px solid rgba(19, 19, 22, 0.14);
    border-radius: 0.3rem;
    box-shadow: 0 4px 12px rgba(19, 19, 22, 0.18);
}

.footer-flag-name {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
    .footer-flag,
    .footer-flag:hover {
        transition: none;
        transform: none;
    }
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.85rem;
    font-weight: 700;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 2px;
    border-radius: 999px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.70));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(200, 16, 46, 0.35);
    background: var(--surface-color);
    box-shadow: 0 34px 90px rgba(14, 14, 16, 0.32);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-medium {
    height: 620px;
    max-width: 450px;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.about-detail {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: #ffffff;
    padding: 1.4rem;
    box-shadow: 0 14px 40px rgba(19, 19, 22, 0.05);
}

.about-detail span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.about-detail p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.stat-block {
    border-inline-start: 2px solid var(--accent-color);
    padding-inline-start: 1rem;
}

.stat-block strong {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
}

.stat-block span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.service-card {
    min-height: 380px;
    border-radius: 2.2rem;
    padding: 1.6rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.service-card:hover {
    border-color: rgba(200, 16, 46, 0.45);
    box-shadow: 0 30px 80px rgba(200, 16, 46, 0.14);
    transform: translateY(-6px);
}

.service-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--sage-soft);
    padding: 0.45rem 1rem;
    color: var(--sage-dark);
    font-size: 0.75rem;
    font-weight: 700;
}

.feature-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: #ffffff;
    padding: 1.3rem;
    box-shadow: 0 14px 40px rgba(19, 19, 22, 0.05);
}

.feature-dot {
    width: 0.85rem;
    height: 0.85rem;
    margin-top: 0.4rem;
    border-radius: 999px;
    background: var(--accent-color);
    box-shadow: 0 0 0 0.45rem var(--terracotta-soft);
}

.feature-image-wrap {
    height: 660px;
    overflow: hidden;
    border: 1px solid rgba(200, 16, 46, 0.35);
    border-radius: 3rem 999px 999px 3rem;
    box-shadow: 0 34px 90px rgba(14, 14, 16, 0.18);
}

.step-card {
    position: relative;
    border-radius: 1.8rem;
    padding: 1.8rem;
    transition: transform 300ms ease, background 300ms ease, border-color 300ms ease;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-6px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(200, 16, 46, 0.45);
}

.quote-form,
.quote-overlay-panel {
    border-radius: 2.4rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 700;
}

.form-status.success {
    color: #2E7D4F;
}

.form-status.error {
    color: var(--primary-color);
}

.mobile-quote-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    display: flex;
    align-items: stretch;
    gap: 0.6rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.92);
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

@media (min-width: 768px) {
    .mobile-quote-bar {
        display: none;
    }
}

.quick-action {
    display: inline-flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 3rem;
    border: 0;
    border-radius: 1rem;
    background: var(--surface-color);
    color: var(--text-color);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.quick-action i {
    font-size: 1.05rem;
    color: var(--primary-color);
}

.quick-action:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.quick-action--primary {
    background: var(--primary-color);
    color: #ffffff;
}

.quick-action--primary i {
    color: #ffffff;
}

.quick-action--primary:hover {
    background: var(--accent-color);
}

.quote-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(14, 14, 16, 0.55);
    padding: 1rem;
}

.quote-overlay.is-open {
    display: block;
}

.quote-overlay-panel {
    min-height: calc(100vh - 2rem);
    background: var(--background-color);
    box-shadow: 0 30px 90px rgba(14, 14, 16, 0.35);
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-medium,
    .feature-image-wrap {
        height: 500px;
        min-height: 0;
    }

    .feature-image-wrap {
        border-radius: 999px 999px 2rem 2rem;
    }
}

/* Scroll reveal + marketing showcase motion */
.reveal-enabled [data-reveal] {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-enabled [data-reveal="up"] {
    transform: translateY(55px);
}

.reveal-enabled [data-reveal="left"] {
    transform: translateX(60px);
}

.reveal-enabled [data-reveal="right"] {
    transform: translateX(-60px);
}

.reveal-enabled [data-reveal="zoom"] {
    transform: scale(0.86);
}

.reveal-enabled [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

.marketing-reveal {
    height: 100%;
}

.marketing-card {
    position: relative;
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    background: linear-gradient(150deg, #ffffff 0%, var(--surface-color) 100%);
    padding: 0.85rem 0.85rem 1.4rem;
    box-shadow: 0 20px 55px rgba(19, 19, 22, 0.08);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s ease, border-color 0.55s ease;
}

.marketing-reveal:nth-child(even) .marketing-card {
    animation: marketingFloat 7s ease-in-out infinite;
}

.marketing-card:hover {
    border-color: rgba(200, 16, 46, 0.5);
    box-shadow: 0 32px 75px rgba(200, 16, 46, 0.26);
    transform: translateY(-10px) scale(1.02);
}

.marketing-frame {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    aspect-ratio: 1 / 1;
    background: var(--ink-color);
}

.marketing-frame::after {
    position: absolute;
    inset: 0;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.marketing-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.marketing-card:hover .marketing-img {
    transform: scale(1.09);
}

.marketing-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.5) 48%, transparent 64%);
    transform: translateX(-130%);
    transition: transform 1s ease;
    pointer-events: none;
}

.marketing-card:hover .marketing-shine {
    transform: translateX(130%);
}

.marketing-body {
    padding-inline: 0.5rem;
}

@keyframes marketingFloat {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -10px;
    }
}

.feature-row,
.about-detail {
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.feature-row:hover,
.about-detail:hover {
    border-color: rgba(200, 16, 46, 0.35);
    box-shadow: 0 20px 55px rgba(19, 19, 22, 0.12);
    transform: translateY(-5px);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-enabled [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .marketing-reveal:nth-child(even) .marketing-card {
        animation: none;
    }

    .marketing-card:hover .marketing-img,
    .marketing-card:hover .marketing-shine,
    .feature-row:hover,
    .about-detail:hover {
        transform: none;
    }
}

/* ===== Hero — folded map journey (Egypt > West Bank > Gaza) ===== */
.hero-copy {
    min-width: 0;
}

.hero-copy-title {
    text-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
}

.hero-dots {
    color: var(--accent-color);
}

.hero-ribbon {
    display: inline-block;
    padding: 0.5rem 1.7rem;
    background: linear-gradient(100deg, var(--primary-color) 0%, var(--accent-color) 80%);
    box-shadow: 0 18px 45px rgba(200, 16, 46, 0.55);
    transform: skewX(-9deg);
}

.hero-ribbon span {
    display: inline-block;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.3vw, 1.45rem);
    font-weight: 800;
    transform: skewX(9deg);
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-map {
    min-width: 0;
}

.hero-map-stage {
    position: relative;
    width: 100%;
    direction: ltr;
    perspective: 1500px;
}

.map-panels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.map-panel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--ink-color);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    will-change: transform;
}

.map-panel::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.94) 3%, rgba(10, 10, 12, 0.5) 40%, rgba(10, 10, 12, 0.12) 72%);
    content: "";
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.map-panel-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-panel-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, 0.5) 48%, transparent 62%);
    transform: translateX(-140%);
    pointer-events: none;
}

.map-panel:nth-child(1) {
    transform: rotateY(9deg);
    transform-origin: right center;
}

.map-panel:nth-child(3) {
    transform: rotateY(-9deg);
    transform-origin: left center;
}

.map-panel:hover {
    transform: rotateY(0deg) translateY(-6px);
}

.map-panel.is-active {
    z-index: 3;
    box-shadow: 0 36px 85px rgba(200, 16, 46, 0.38), inset 0 0 0 2px rgba(225, 29, 56, 0.65);
    transform: rotateY(0deg) scale(1.05);
}

.map-panel.is-active .map-panel-img {
    transform: scale(1.08);
}

.map-panel.is-active .map-panel-shine {
    animation: mapShine 1.2s ease 0.15s;
}

@keyframes mapShine {
    from {
        transform: translateX(-140%);
    }

    to {
        transform: translateX(140%);
    }
}

.map-route {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.map-route-base {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100 100;
    stroke-dashoffset: 100;
    filter: drop-shadow(0 0 7px rgba(225, 29, 56, 0.95));
}

.map-route-flow {
    fill: none;
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-dasharray: 1.2 3;
    opacity: 0;
    animation: mapRouteFlow 1s linear infinite;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.85));
}

.map-route-spark {
    fill: #ffffff;
    opacity: 0;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 16px rgba(225, 29, 56, 0.95));
}

@keyframes mapRouteDraw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes mapRouteFlow {
    to {
        stroke-dashoffset: -4.2;
    }
}

@keyframes mapRouteFade {
    to {
        opacity: 1;
    }
}

.map-stops {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.map-stop {
    position: absolute;
    top: 62%;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translate(-50%, -50%);
}

.map-stop:nth-child(1) {
    left: 16.2%;
}

.map-stop:nth-child(2) {
    left: 50%;
}

.map-stop:nth-child(3) {
    left: 83.8%;
}

.map-pin {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    background: radial-gradient(circle at 34% 28%, #FF6076, var(--primary-color) 62%, var(--primary-hover));
    color: #ffffff;
    font-size: 1rem;
    box-shadow: 0 0 0 6px rgba(225, 29, 56, 0.18), 0 0 26px rgba(225, 29, 56, 0.75);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
}

.map-pin::before,
.map-pin::after {
    position: absolute;
    inset: -3px;
    border: 2px solid rgba(255, 116, 134, 0.7);
    border-radius: 999px;
    content: "";
    animation: mapPinRing 2.6s ease-out infinite;
}

.map-pin::after {
    animation-delay: 1.3s;
}

.map-stop.is-active .map-pin {
    box-shadow: 0 0 0 8px rgba(225, 29, 56, 0.22), 0 0 34px rgba(225, 29, 56, 0.9);
    transform: scale(1.14);
}

.map-stop-name {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 50%;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
    transform: translateX(-50%);
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.9);
}

.map-stop-sub {
    position: absolute;
    top: calc(100% + 2rem);
    left: 50%;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.68rem;
    white-space: nowrap;
    transform: translateX(-50%);
}

@keyframes mapStopIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes mapPinRing {
    0% {
        opacity: 0.85;
        transform: scale(0.85);
    }

    100% {
        opacity: 0;
        transform: scale(2.1);
    }
}

.map-cloud-layer {
    position: absolute;
    inset: 0;
    z-index: 4;
    overflow: hidden;
    border-radius: 1rem;
    pointer-events: none;
}

.map-cloud-veil {
    position: absolute;
    top: -30%;
    bottom: -30%;
    left: 8%;
    right: 8%;
    background: linear-gradient(95deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.88) 46%, rgba(255, 232, 236, 0.72) 60%, rgba(255, 255, 255, 0) 90%);
    filter: blur(38px);
    opacity: 0;
    transform: translateX(112%);
    will-change: transform, opacity;
}

.map-cloud-puff {
    position: absolute;
    right: -40%;
    border-radius: 999px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.98), rgba(255, 226, 231, 0.7) 42%, rgba(255, 255, 255, 0) 74%);
    filter: blur(40px);
    opacity: 0;
    transform: translate(46%, -50%) scale(0.5);
    will-change: transform, opacity;
}

.map-cloud-puff--one {
    top: 26%;
    width: 22rem;
    height: 22rem;
}

.map-cloud-puff--two {
    top: 72%;
    width: 26rem;
    height: 26rem;
}

.map-cloud-layer.is-clouding .map-cloud-veil {
    animation: mapCloudVeil 1.15s cubic-bezier(0.66, 0, 0.3, 1) 0.05s forwards;
}

.map-cloud-layer.is-clouding .map-cloud-puff {
    animation: mapCloudSweep 1s cubic-bezier(0.66, 0, 0.3, 1) forwards;
}

.map-cloud-layer.is-clouding .map-cloud-puff--two {
    animation-delay: 0.12s;
}

@keyframes mapCloudSweep {
    0% {
        opacity: 0;
        transform: translate(46%, -50%) scale(0.5);
    }

    18% {
        opacity: 0.96;
    }

    54% {
        opacity: 0.86;
    }

    100% {
        opacity: 0;
        transform: translate(-320%, -50%) scale(1.6);
    }
}

@keyframes mapCloudVeil {
    0% {
        opacity: 0;
        transform: translateX(112%);
    }

    20% {
        opacity: 0.8;
    }

    56% {
        opacity: 0.62;
    }

    100% {
        opacity: 0;
        transform: translateX(-112%);
    }
}

.map-caption-wrap {
    margin-top: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.1rem 1.2rem;
    backdrop-filter: blur(16px);
}

.map-caption {
    position: relative;
    min-height: 6.4rem;
}

.map-caption-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.map-caption-item.is-active {
    opacity: 1;
    transform: translateY(0);
}

.map-caption-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
}

.map-caption-title i {
    color: var(--accent-color);
}

.map-caption-text {
    margin-top: 0.5rem;
    color: var(--text-on-dark-muted);
    font-size: 0.86rem;
    line-height: 1.9;
}

.map-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 0.9rem;
}

.map-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.map-nav-btn:hover {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-2px);
}

.map-nav-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.map-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-dot {
    width: 0.6rem;
    height: 0.6rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.map-dot.is-active {
    width: 1.7rem;
    background: var(--accent-color);
}

.hero-hotline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    margin-top: clamp(2.5rem, 5vw, 3.8rem);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.6rem;
    background: linear-gradient(100deg, rgba(200, 16, 46, 0.36), rgba(14, 14, 16, 0.6));
    padding: 0.85rem 1rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
}

.hero-hotline-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3rem;
    color: #ffffff;
}

.hero-hotline-item + .hero-hotline-item {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-hotline-item i {
    color: var(--accent-color);
    font-size: 1.05rem;
}

.hero-hotline-label {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    font-weight: 700;
}

.hero-hotline-number {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    transition: color 0.3s ease;
}

.hero-hotline-item:hover .hero-hotline-number {
    color: var(--accent-soft);
}

@media (min-width: 640px) {
    .hero-hotline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
    }

    .hero-hotline-item + .hero-hotline-item {
        border-top: 0;
        border-inline-start: 1px solid rgba(255, 255, 255, 0.18);
    }

    .map-caption {
        min-height: 5.6rem;
    }
}

/* Cinematic entrance for the hero copy, map and hotline bar */
.hero-anim-ready .hero-copy .section-kicker,
.hero-anim-ready .hero-copy-title,
.hero-anim-ready .hero-ribbon,
.hero-anim-ready .hero-copy-text,
.hero-anim-ready .hero-copy-actions,
.hero-anim-ready .hero-copy-trust,
.hero-anim-ready .hero-hotline,
.hero-anim-ready .map-panels,
.hero-anim-ready .map-stop,
.hero-anim-ready .map-caption-wrap {
    opacity: 0;
    will-change: opacity, transform, filter;
}

.hero-anim-ready .hero-copy .section-kicker {
    animation: heroLabelIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero-anim-ready .hero-copy-title {
    animation: heroTitleIn 1.05s cubic-bezier(0.22, 1, 0.28, 1) 0.28s forwards;
}

.hero-anim-ready .hero-ribbon {
    animation: heroRibbonIn 0.9s cubic-bezier(0.34, 1.4, 0.64, 1) 0.55s forwards;
}

.hero-anim-ready .hero-copy-text {
    animation: heroTextIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.hero-anim-ready .hero-copy-actions {
    animation: heroTextIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.85s forwards;
}

.hero-anim-ready .hero-copy-trust {
    animation: heroTextIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.hero-anim-ready .map-panels {
    animation: mapUnfold 1.2s cubic-bezier(0.19, 1, 0.22, 1) 0.35s forwards;
}

.hero-anim-ready .map-route-base {
    animation: mapRouteDraw 1.6s cubic-bezier(0.62, 0, 0.32, 1) 1.4s forwards;
}

.hero-anim-ready .map-route-flow {
    animation: mapRouteFade 0.6s ease 3.1s forwards, mapRouteFlow 1s linear infinite;
}

.hero-anim-ready .map-route-spark {
    animation: mapRouteFade 0.6s ease 3.2s forwards;
}

.hero-anim-ready .map-stop {
    animation: mapStopIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-anim-ready .map-stop:nth-child(1) {
    animation-delay: 1.5s;
}

.hero-anim-ready .map-stop:nth-child(2) {
    animation-delay: 1.72s;
}

.hero-anim-ready .map-stop:nth-child(3) {
    animation-delay: 1.94s;
}

.hero-anim-ready .map-caption-wrap {
    animation: heroTextIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 2.1s forwards;
}

.hero-anim-ready .hero-hotline {
    animation: heroTextIn 1s cubic-bezier(0.16, 1, 0.3, 1) 2.3s forwards;
}

@keyframes mapUnfold {
    0% {
        opacity: 0;
        transform: perspective(1200px) rotateX(26deg) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: perspective(1200px) rotateX(0deg) scale(1);
    }
}

@keyframes heroLabelIn {
    0% {
        opacity: 0;
        transform: translateY(-18px) scale(0.88);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes heroTitleIn {
    0% {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
        transform: translateY(34px);
    }

    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
    }
}

@keyframes heroRibbonIn {
    0% {
        opacity: 0;
        transform: translateY(26px) skewX(-9deg) scale(0.86);
    }

    100% {
        opacity: 1;
        transform: translateY(0) skewX(-9deg) scale(1);
    }
}

@keyframes heroTextIn {
    0% {
        opacity: 0;
        transform: translateY(36px);
        filter: blur(14px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@media (max-width: 767px) {
    .map-pin {
        width: 2.1rem;
        height: 2.1rem;
        font-size: 0.85rem;
    }

    .map-stop-name {
        font-size: 0.78rem;
    }

    .map-stop-sub {
        top: calc(100% + 1.7rem);
        font-size: 0.6rem;
    }

    .map-caption-wrap {
        margin-top: 1.3rem;
        padding: 1rem;
    }

    .map-caption {
        min-height: 7.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-anim-ready .hero-copy .section-kicker,
    .hero-anim-ready .hero-copy-title,
    .hero-anim-ready .hero-ribbon,
    .hero-anim-ready .hero-copy-text,
    .hero-anim-ready .hero-copy-actions,
    .hero-anim-ready .hero-copy-trust,
    .hero-anim-ready .hero-hotline,
    .hero-anim-ready .map-panels,
    .hero-anim-ready .map-stop,
    .hero-anim-ready .map-caption-wrap {
        opacity: 1;
        clip-path: none;
        transform: none;
        filter: none;
    }

    .hero-anim-ready .hero-copy .section-kicker,
    .hero-anim-ready .hero-copy-title,
    .hero-anim-ready .hero-ribbon,
    .hero-anim-ready .hero-copy-text,
    .hero-anim-ready .hero-copy-actions,
    .hero-anim-ready .hero-copy-trust,
    .hero-anim-ready .hero-hotline,
    .hero-anim-ready .map-panels,
    .hero-anim-ready .map-route-base,
    .hero-anim-ready .map-route-flow,
    .hero-anim-ready .map-route-spark,
    .hero-anim-ready .map-stop,
    .hero-anim-ready .map-caption-wrap,
    .map-panel.is-active .map-panel-shine,
    .map-pin::before,
    .map-pin::after {
        animation: none;
    }

    .map-panel,
    .map-panel:nth-child(1),
    .map-panel:nth-child(3),
    .map-panel.is-active,
    .map-panel.is-active .map-panel-img {
        transform: none;
    }

    .map-route-base {
        stroke-dashoffset: 0;
    }

    .map-route-flow {
        opacity: 0.7;
    }

    .map-route-spark,
    .map-cloud-layer {
        display: none;
    }
}