/* ---------- Shared inner-page banner (used by About, Services, single Service) ---------- */
.page-banner {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(3.2rem, 8vw, 5rem) 0;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, var(--blue-deep), var(--blue-dark) 60%, var(--blue-mid));
    background-size: 200% 200%;
    animation: bannerGradientDrift 14s ease-in-out infinite alternate;
}

@keyframes bannerGradientDrift {
    0% { background-position: 0% 40%; }
    100% { background-position: 100% 60%; }
}

.page-banner-inner {
    position: relative;
    z-index: 1;
    animation: bannerContentIn 0.7s ease both;
}

@keyframes bannerContentIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-banner h1 {
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 2.9rem);
    margin-bottom: 0.9rem;
}

.page-banner-underline {
    display: block;
    width: 64px;
    height: 3px;
    margin: 0 auto 1.3rem;
    background: var(--blue-mid);
    border-radius: 2px;
    animation: bannerUnderlineDraw 0.6s ease 0.35s both;
}

@keyframes bannerUnderlineDraw {
    from { width: 0; opacity: 0; }
    to { width: 64px; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .page-banner-bg,
    .page-banner-inner,
    .page-banner-underline {
        animation: none;
    }
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-current {
    color: #fff;
    font-weight: 600;
}

/* ---------- Shared pill CTA link (used inside closing CTA bands) ---------- */
.cta-link,
.cta-link:link,
.cta-link:visited,
.cta-link:hover,
.cta-link:focus,
.cta-link:active {
    display: inline-flex;
    align-items: center;
    gap: clamp(1.2rem, 3vw, 2rem);
    color: #fff !important;
    text-decoration: none;
}

.cta-link {
    position: relative;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    animation: ctaPillPulseRing 2.6s ease-out infinite;
}

@keyframes ctaPillPulseRing {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.cta-link-label {
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
}

.cta-link-arrow {
    flex: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 14px -4px rgba(0, 8, 30, 0.35);
    transition: transform 0.25s ease;
    animation: ctaArrowBreathe 2.6s ease-in-out infinite;
}

@keyframes ctaArrowBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.cta-link-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue-deep);
    transition: transform 0.25s ease;
    animation: ctaArrowNudge 2.6s ease-in-out infinite;
}

@keyframes ctaArrowNudge {
    0%, 80%, 100% { transform: translateX(0); }
    40% { transform: translateX(3px); }
}

.cta-link:hover {
    background: rgba(255, 255, 255, 0.26);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
    animation-play-state: paused;
}

.cta-link:hover .cta-link-arrow {
    animation-play-state: paused;
    transform: scale(1.08);
}

.cta-link:hover .cta-link-arrow svg {
    animation-play-state: paused;
    transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce) {
    .cta-link, .cta-link-arrow, .cta-link-arrow svg {
        animation: none;
    }
}
