/* ============================================================
   RoboSpati — Components
   Buttons · Navbar · Cards · Forms · Footer · Utility UI
   ============================================================ */

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-pill);
    padding: .8rem 1.6rem;
    transition: transform var(--transition), box-shadow var(--transition),
                background-color var(--transition), border-color var(--transition),
                color var(--transition);
    letter-spacing: .01em;
    border-width: 1px;
}
.btn:focus-visible { outline: 3px solid rgba(11, 143, 234, .45); }

.btn-gradient {
    background: var(--gradient-blue);
    color: #fff;
    border: none;
    box-shadow: 0 10px 24px rgba(0, 148, 255, .32);
}
.btn-gradient:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0, 148, 255, .42);
}

.btn-outline-primary {
    border-color: var(--cta);
    color: var(--cta);
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--cta);
    color: #fff;
    border-color: var(--cta);
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0, 148, 255, .3);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, .65);
    color: #fff;
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
    transform: translateY(-3px);
}

.btn-light {
    background: #fff;
    color: var(--navy);
    border: none;
}
.btn-light:hover {
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(3, 27, 58, .25);
}

.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1.15rem; font-size: .875rem; }

.btn-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-color);
    transition: all var(--transition);
}
.btn-icon:hover {
    border-color: var(--cta);
    color: #fff;
    background: var(--gradient-blue);
    transform: translateY(-3px);
}

/* ---- Filter pills ---- */
.btn-filter {
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--muted);
    background: var(--white);
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    padding: .55rem 1.25rem;
    transition: all var(--transition);
}
.btn-filter:hover,
.btn-filter.active {
    background: var(--gradient-blue);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(0, 148, 255, .28);
}

/* ============================================================
   BADGES / PILLS
   ============================================================ */
.pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border-radius: var(--radius-pill);
    padding: .4rem 1rem;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.pill--blue {
    background: rgba(10, 132, 255, .12);
    color: var(--accent);
}

.pill--dark {
    background: rgba(3, 27, 58, .08);
    color: var(--navy);
}

/* ============================================================
   CARDS (shared shell)
   ============================================================ */
.card-shell {
    background: var(--white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition),
                border-color var(--transition);
    height: 100%;
}
.card-shell:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(11, 143, 234, .45);
}

/* ============================================================
   NAVBAR — floating pill navigation
   ============================================================ */
.navbar-site {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 0;
    background: transparent;
    transition: padding var(--transition);
}

.navbar-pill {
    margin-top: 1.1rem;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 40px rgba(3, 27, 58, .1);
    padding: .5rem .65rem;
    transition: box-shadow var(--transition), transform var(--transition);
}

.navbar-site.scrolled .navbar-pill {
    box-shadow: 0 16px 48px rgba(3, 27, 58, .16);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 0 .35rem;
    margin: 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
}
.brand-mark img,
.brand-mark svg.brand-logo {
    display: block;
    height: 40px;
    width: auto;
    max-height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
.brand-mark svg.brand-logo { color: var(--navy); }

.brand-text {
    font-family: var(--font-heading);
    font-weight: var(--fw-black);
    font-size: 1.35rem;
    letter-spacing: -.02em;
    color: var(--navy);
    line-height: 1;
    white-space: nowrap;
}

.navbar-site .navbar-nav { gap: .15rem; }

.navbar-site .nav-link {
    color: var(--body-color);
    font-weight: var(--fw-medium);
    font-size: var(--fs-small);
    padding: .55rem 1.1rem;
    border-radius: var(--radius-pill);
    transition: all var(--transition);
}
.navbar-site .nav-link:hover { color: var(--navy); }
.navbar-site .nav-link.active {
    background: rgba(10, 132, 255, .12);
    color: var(--accent);
    font-weight: var(--fw-bold);
}

.nav-tools { gap: .45rem; }

.btn-lang {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    height: 44px;
    padding: 0 .85rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-color);
    font-weight: var(--fw-bold);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: .02em;
    transition: all var(--transition);
}
.btn-lang:hover {
    border-color: var(--cta);
    color: var(--accent);
}
.btn-lang-caret { font-size: .6rem; opacity: .7; }

.theme-toggle {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-color);
}
.theme-icon-dark { display: none; }
.theme-icon-light { display: inline-block; }
[data-bs-theme="dark"] .theme-icon-dark { display: inline-block; }
[data-bs-theme="dark"] .theme-icon-light { display: none; }

.navbar-toggler {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: .45rem .6rem;
}
/* Keep the hamburger icon dark so it stays visible on the light pill in
   both themes (Bootstrap's dark scheme would otherwise lighten the icon). */
.navbar-toggler-icon {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(17,24,39,.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (max-width: 991.98px) {
    .navbar-pill { border-radius: 1.5rem; }
    .navbar-site .navbar-collapse {
        margin-top: .6rem;
        padding: .75rem .5rem;
        background: rgba(255, 255, 255, .98);
        border-radius: var(--radius-card);
        border: 1px solid var(--border-card);
        box-shadow: var(--shadow-lg);
        /* Tall menus must scroll instead of being cut off on short screens. */
        max-height: calc(100vh - 8rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .navbar-site .navbar-nav { width: 100%; gap: .1rem; }
    .navbar-site .navbar-nav .nav-item { width: 100%; }
    .navbar-site .nav-link {
        padding: .75rem 1.1rem;
        font-size: 1rem;
        color: var(--navy);
    }
    .navbar-site .nav-tools {
        width: 100%;
        padding: .5rem .35rem;
        border-top: 1px solid var(--border);
        margin-top: .5rem;
    }
    /* The language dropdown must stay inside the viewport on narrow screens. */
    .navbar-site .dropdown-menu {
        left: 0;
        right: auto;
        min-width: 9.5rem;
        max-width: calc(100vw - 2.5rem);
    }
}

@media (max-width: 575.98px) {
    .brand-text { font-size: 1.15rem; }
    .navbar-site .nav-tools { flex-wrap: wrap; gap: .4rem; }
    .navbar-site .nav-tools .btn { height: 42px; }
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    transition: opacity .5s ease, visibility .5s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-spinner { text-align: center; }
.preloader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: var(--fw-black);
    background: linear-gradient(135deg, #6CC3FF, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: pulseLogo 1.6s ease-in-out infinite;
}
.preloader-bar {
    width: 160px;
    height: 4px;
    margin: 1rem auto 0;
    background: rgba(255, 255, 255, .16);
    border-radius: var(--radius-pill);
    overflow: hidden;
}
.preloader-bar span {
    display: block;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #6CC3FF, var(--dark-blue));
    border-radius: var(--radius-pill);
    animation: loaderSlide 1.2s ease-in-out infinite;
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
    background: var(--gradient-dark);
    color: #fff;
    padding: .5rem 0;
    font-size: var(--fs-small);
    position: relative;
    z-index: 1031;
}
.announcement-bar .btn-close { font-size: .7rem; }

/* ============================================================
   FORMS
   ============================================================ */
.form-label {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    font-size: var(--fs-small);
    color: var(--heading-color);
    margin-bottom: .45rem;
}

.form-control,
.form-select {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-color);
    padding: .85rem 1.15rem;
    border-radius: var(--radius-input);
    font-size: var(--fs-small);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control::placeholder { color: var(--muted); opacity: .75; }
.form-control:focus,
.form-select:focus {
    background: var(--white);
    border-color: var(--cta);
    box-shadow: 0 0 0 4px rgba(0, 148, 255, .14);
    color: var(--text-color);
}

.form-check-input:checked {
    background-color: var(--cta);
    border-color: var(--cta);
}

/* ============================================================
   ACCORDION / FAQ
   ============================================================ */
.faq-item {
    background: var(--white);
    border: 1px solid var(--border-card) !important;
    border-radius: var(--radius-card) !important;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-xs);
}
.faq-item .accordion-button {
    background: var(--white);
    color: var(--heading-color);
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    font-size: var(--fs-body);
    padding: 1.4rem 1.6rem;
    box-shadow: none;
}
.faq-item .accordion-button:not(.collapsed) {
    color: var(--accent);
    background: rgba(10, 132, 255, .05);
}
.faq-item .accordion-button:focus { box-shadow: none; }
.faq-item .accordion-button::after {
    filter: hue-rotate(160deg);
    opacity: .7;
}
.faq-item .accordion-body { color: var(--body-color); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination .page-link {
    border: 1px solid var(--border);
    border-radius: var(--radius-md) !important;
    color: var(--body-color);
    margin: 0 .2rem;
    padding: .5rem .9rem;
    font-weight: var(--fw-medium);
}
.pagination .page-item.active .page-link {
    background: var(--gradient-blue);
    border-color: transparent;
    color: #fff;
}
.pagination .page-link:hover { color: var(--accent); }

/* ============================================================
   BACK TO TOP & WHATSAPP (fixed, must never be covered)
   ============================================================ */
.btn-backtotop {
    position: fixed;
    left: 1.4rem;
    bottom: 1.4rem;
    z-index: 1050;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-blue);
    color: #fff;
    font-size: 1.2rem;
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: all var(--transition);
    box-shadow: 0 12px 30px rgba(0, 148, 255, .4);
}
.btn-backtotop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.btn-backtotop:hover { color: #fff; transform: translateY(-4px); }

.btn-whatsapp-float {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 1050;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    font-size: 1.8rem;
    border: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
    transition: transform var(--transition), box-shadow var(--transition);
}
.btn-whatsapp-float:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 14px 34px rgba(37, 211, 102, .55);
}
@media (max-width: 575.98px) {
    .btn-whatsapp-float { right: 1rem; bottom: 1rem; width: 54px; height: 54px; font-size: 1.65rem; }
    .btn-backtotop { left: 1rem; bottom: 1rem; }
}

/* ============================================================
   SOCIAL ICONS
   ============================================================ */
.social-icons { display: flex; gap: .55rem; flex-wrap: wrap; }
.social-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--body-color);
    font-size: 1.05rem;
    transition: all var(--transition);
}
.social-icon:hover {
    background: var(--gradient-blue);
    color: #fff;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 148, 255, .32);
}
.section-dark .social-icon,
.footer .social-icon {
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .85);
}
.section-dark .social-icon:hover,
.footer .social-icon:hover {
    background: var(--gradient-blue);
    color: #fff;
    transform: translateY(-4px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    position: relative;
    background-color: var(--dark);
    color: rgba(255, 255, 255, .72);
    overflow: hidden;
}
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%);
    mask-image: linear-gradient(to bottom, transparent, #000 30%);
    pointer-events: none;
}
.footer > .container { position: relative; z-index: 1; }
.footer-glow {
    position: absolute;
    top: -140px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: .25;
    background: var(--dark-blue);
    pointer-events: none;
}

.footer-brand { display: flex; align-items: center; gap: .6rem; }
.footer-brand img,
.footer-brand svg.brand-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}
.footer-brand svg.brand-logo { color: #fff; }
.footer-brand .brand-text { color: #fff; }

.footer-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: var(--fw-bold);
    color: #fff;
    margin-bottom: 1.2rem;
}

.footer-links,
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li,
.footer-contact li { margin-bottom: .6rem; }
.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, .7);
    font-size: var(--fs-small);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: color var(--transition), transform var(--transition);
}
.footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}
.footer-contact i { color: #6CC3FF; }
.footer-about {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, .66);
    line-height: 1.75;
}
.footer-divider { border-color: rgba(255, 255, 255, .13); opacity: 1; }
.footer-legal a {
    color: rgba(255, 255, 255, .58);
    font-size: var(--fs-xs);
}
.footer-legal a:hover { color: #fff; }
.footer .small { color: rgba(255, 255, 255, .55); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 1.6rem;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow-xs);
}
.sidebar-cta {
    background: var(--gradient-dark);
    color: #fff;
    border: none;
}
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li { margin-bottom: .35rem; }
.sidebar-links a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .8rem;
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-size: var(--fs-small);
    transition: all var(--transition);
}
.sidebar-links a:hover {
    background: rgba(10, 132, 255, .08);
    color: var(--accent);
    padding-left: 1.1rem;
}

/* ============================================================
   CTA BAND (reused across pages)
   ============================================================ */
.cta-band {
    padding: var(--section-y) 0 0;
    background: var(--white);
}
.cta-box {
    position: relative;
    background: var(--gradient-blue);
    background-size: 160% auto;
    border-radius: var(--radius-card);
    padding: clamp(2.25rem, 5vw, 3.5rem);
    color: #fff;
    box-shadow: 0 30px 70px rgba(0, 148, 255, .35);
    overflow: hidden;
}
.cta-box::before {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
}
.cta-box::after {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -100px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(3, 27, 58, .2);
}
.cta-box-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    pointer-events: none;
}
.cta-label { color: #fff; }
.cta-label::before { background: linear-gradient(90deg, #fff, #d6f0ff); }
.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    font-weight: var(--fw-bold);
    color: #fff;
    letter-spacing: -.02em;
    margin: .25rem 0 .75rem;
}
.cta-text { color: rgba(255, 255, 255, .92); }

/* ============================================================
   PAGE HERO / HEADER (shared across all interior pages)
   ============================================================ */
.page-header {
    position: relative;
    padding: clamp(9rem, 14vw, 12.5rem) 0 clamp(3.5rem, 6vw, 5rem);
    background:
        radial-gradient(900px 420px at 82% -10%, rgba(11, 143, 234, .35), transparent 60%),
        radial-gradient(760px 420px at 6% 110%, rgba(8, 44, 90, .6), transparent 55%),
        linear-gradient(135deg, #031B3A 0%, #082C5A 55%, #005CB8 100%);
    color: #fff;
    overflow: hidden;
}
.page-header-short { padding-bottom: 3rem; }

.page-header-bg {
    position: absolute;
    inset: 0;
    opacity: .5;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
    mask-image: linear-gradient(to bottom, #000, transparent);
    pointer-events: none;
}
.page-header-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .4;
    pointer-events: none;
}
.page-header-orb-1 { width: 340px; height: 340px; background: var(--cta); top: -100px; right: 6%; }
.page-header-orb-2 { width: 260px; height: 260px; background: var(--dark-blue); bottom: -90px; left: -40px; }

.page-header > .container { position: relative; z-index: 2; }

.page-header .page-label { color: #6CC3FF; }
.page-header .page-label::before { background: linear-gradient(90deg, #6CC3FF, #fff); }

.page-title {
    font-family: var(--font-heading);
    font-size: var(--fs-hero);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    letter-spacing: -.03em;
    color: #fff;
    margin: 0;
}
.page-lead {
    color: rgba(255, 255, 255, .78);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    max-width: 640px;
    margin: 1.1rem 0 0;
}

/* Decorative right-side number indicator */
.page-number {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    font-family: var(--font-heading);
    line-height: 1;
}
.page-number-current {
    font-size: clamp(4rem, 8vw, 6.5rem);
    font-weight: var(--fw-black);
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, .45);
    letter-spacing: -.03em;
}
.page-number-total {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: var(--fw-bold);
    color: rgba(255, 255, 255, .4);
}

/* Thin divider line under hero content */
.page-divider {
    margin-top: clamp(2rem, 4vw, 3rem);
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08) 70%);
}

.page-breadcrumb .breadcrumb { font-size: var(--fs-xs); }
.page-breadcrumb .breadcrumb-item a { color: rgba(255, 255, 255, .7); }
.page-breadcrumb .breadcrumb-item a:hover { color: #fff; }
.page-breadcrumb .breadcrumb-item.active { color: rgba(255, 255, 255, .55); }
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .45); }

.page-header-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 1;
}
.page-header-wave svg { display: block; width: 100%; }

[data-bs-theme="dark"] .page-header-wave svg path { fill: var(--body-bg, #0e1d3c); }

/* ============================================================
   MISC COMPONENTS
   ============================================================ */
.tech-tag {
    display: inline-block;
    background: #F1F8FE;
    border: 1px solid #DCEBF8;
    color: var(--navy-2);
    border-radius: var(--radius-pill);
    padding: .25rem .85rem;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    margin-bottom: .35rem;
}

.project-outcome {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #F1F8FE;
    border: 1px dashed rgba(11, 143, 234, .4);
    border-radius: var(--radius-md);
    padding: .6rem .9rem;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: var(--accent);
    margin-bottom: .9rem;
}

.map-frame {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.map-frame iframe { display: block; }

.benefit-list { list-style: none; padding: 0; margin: 0; }
.benefit-list li {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    padding: .5rem 0;
    color: var(--body-color);
}
.benefit-list i { color: var(--cta); margin-top: .3rem; }

.error-code {
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: var(--fw-black);
    letter-spacing: -.04em;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: var(--fw-bold);
    margin-top: 2.4rem;
    color: var(--heading-color);
}
.legal-content p,
.legal-content li { color: var(--body-color); }

/* ---- Alerts ---- */
.alert { border-radius: var(--radius-lg); border-width: 1px; }
