/* ── Variables ── */
:root {
    --ac: #3399cc;
    --ac-hover: #2277aa;
    --ac-rgb: 51,153,204;
}

button:focus:not(:focus-visible) {
    box-shadow: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
}

.fs-14px {
    font-size: 0.875rem;
}

*, *::before, *::after {
    transition: background-color .3s ease, border-color .3s ease, color .15s ease;
}

.text-bg-danger a {
    color: #fff;
    font-weight: bolder;
}

.form-check-input:focus {
    box-shadow: none;
}

/* ── Accent helpers ── */
.text-ac {
    color: var(--ac) !important;
}

.form-check-input:checked {
    background-color: var(--ac);
    border-color: var(--ac);
}

[data-bs-theme="light"] a.text-ac {
    color: #1a6699 !important;
}

.bg-ac {
    background-color: var(--ac) !important;
}

.btn-ac {
    background: var(--ac);
    border-color: var(--ac);
    color: #fff;
}

    .btn-ac:hover {
        background: var(--ac-hover);
        border-color: var(--ac-hover);
        color: #fff;
    }

.btn-outline-ac {
    border: 2px solid var(--ac);
    color: var(--ac);
    font-weight: 600;
    border-radius: 8px;
    padding: .5rem 1.5rem;
    background: transparent;
}

    .btn-outline-ac:hover {
        background: var(--ac);
        color: #fff;
    }

/* ── Section rhythm ── */
section {
    padding: 96px 0;
}

[data-bs-theme="dark"] .alt-bg {
    background: rgba(255,255,255,.025);
}

[data-bs-theme="light"] .alt-bg {
    background: #f4f6f9;
}

.eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--ac);
}

.sec-title {
    font-size: clamp(1.75rem,3.5vw,2.4rem);
    font-weight: 800;
    line-height: 1.15;
}

.divider-ac {
    width: 52px;
    height: 4px;
    background: var(--ac);
    border-radius: 2px;
}

/* ── Navbar ── */
#nav {
    padding: .9rem 0;
    transition: padding .35s, background .35s, box-shadow .35s;
}

    #nav.scrolled {
        padding: .45rem 0;
    }

        #nav.scrolled.dark {
            background: var(--bs-dark-bg-subtle) !important;
            backdrop-filter: blur(14px);
            box-shadow: 0 1px 24px rgba(0,0,0,.45);
        }

        #nav.scrolled.light {
            background: rgba(255,255,255,.92) !important;
            backdrop-filter: blur(14px);
            box-shadow: 0 1px 24px rgba(0,0,0,.1);
        }

#nav:not(.scrolled) .navbar-toggler {
    border-color: rgba(255,255,255,.3) !important;
}

[data-bs-theme="light"] #Misc-Index #nav:not(.scrolled):not(.menu-open) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991.98px) {
    [data-bs-theme="dark"] #nav.menu-open {
        background: rgba(13,17,23,.97) !important;
        backdrop-filter: blur(14px);
    }

    [data-bs-theme="light"] #nav.menu-open {
        background: rgba(255,255,255,.97) !important;
        backdrop-filter: blur(14px);
    }
}

[data-bs-theme="dark"] .brand,
[data-bs-theme="light"] #Misc-Index #nav:not(.scrolled):not(.menu-open) .brand {
    color: #fff;
}

[data-bs-theme="light"] #Misc-Index #nav:not(.scrolled):not(.menu-open) .nav-link {
    color: rgba(255, 255, 255, 0.55);
}

.brand {
    color: #000;
    font-weight: 800;
    letter-spacing: -.5px;
    text-decoration: none;
}

    .brand span {
        color: var(--ac);
    }

header .brand, footer .brand {
    font-size: 1.55rem;
}

.nav-link {
    font-weight: 500;
    font-size: .875rem;
    border-radius: 6px;
    padding: .35rem .8rem !important;
}

    .nav-link:hover, .nav-link.active {
        color: var(--ac) !important;
    }

[data-bs-theme="light"] .nav-link:hover,
[data-bs-theme="light"] .nav-link.active {
    color: #1a6699 !important;
}

#themeBtn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(var(--ac-rgb),.5);
    color: var(--ac);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    #themeBtn:hover {
        background: rgba(var(--ac-rgb),.12);
    }

/* ── Hero ── */
#hero {
    min-height: 100dvh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    /* background: url('https://picsum.photos/seed/heusec-city/1920/1080') center/cover no-repeat; */
    background: url('/images/photo-1563920443079-783e5c786b83.avif') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0,0,0,.88) 0%, rgba(0,18,36,.82) 55%, rgba(0,0,0,.72) 100%);
}

#hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(var(--ac-rgb),.18);
    border: 1px solid rgba(var(--ac-rgb),.38);
    border-radius: 100px;
    padding: .3rem 1rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ac);
    margin-bottom: 1.4rem;
}

.hero-title {
    font-size: clamp(2.2rem,5.5vw,4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 1.4rem;
}

    .hero-title .hi {
        color: var(--ac);
    }

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.72);
    max-width: 580px;
    line-height: 1.75;
}

.hero-stat-val {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--ac);
}

.hero-stat-lbl {
    font-size: .75rem;
    color: rgba(255,255,255,.5);
}

.scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.4);
    font-size: 1.4rem;
    z-index: 2;
    animation: cue 2.2s ease-in-out infinite;
}

@keyframes cue {
    0%,100% {
        transform: translateX(-50%) translateY(0)
    }

    50% {
        transform: translateX(-50%) translateY(9px)
    }
}

/* ── Service cards ── */
.svc-card {
    border-radius: 14px;
    padding: 1.75rem;
    height: 100%;
    border: 1px solid rgba(var(--ac-rgb),.1);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}

[data-bs-theme="dark"] .svc-card {
    background: rgba(255,255,255,.03);
}

[data-bs-theme="light"] .svc-card {
    background: #fff;
    box-shadow: 0 2px 14px rgba(0,0,0,.06);
}

.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(var(--ac-rgb),.16);
    border-color: rgba(var(--ac-rgb),.3);
}

.svc-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: rgba(var(--ac-rgb),.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--ac);
    margin-bottom: 1.1rem;
}

.svc-card h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: .6rem;
}

.svc-card p {
    font-size: .875rem;
    line-height: 1.7;
    opacity: .72;
    margin: 0;
}

/* ── Process ── */
.proc-num {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: var(--ac);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proc-line {
    width: 2px;
    height: 36px;
    margin-left: 22px;
    background: linear-gradient(to bottom, var(--ac), rgba(var(--ac-rgb),.08));
}

.proc-content h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: .3rem;
}

.proc-content p {
    font-size: .875rem;
    opacity: .7;
    margin: 0;
}

/* ── About ── */
.about-img {
    border-radius: 16px;
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.chk-row {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    margin-bottom: .9rem;
}

    .chk-row .ci {
        color: var(--ac);
        font-size: 1rem;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .chk-row strong {
        font-weight: 600;
        font-size: .95rem;
    }

    .chk-row p {
        font-size: .8rem;
        opacity: .7;
        margin: .1rem 0 0;
    }

/* ── Gallery ── */
.gal-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

    .gal-item img {
        width: 100%;
        height: 210px;
        object-fit: cover;
        transition: transform .4s;
    }

    .gal-item:hover img {
        transform: scale(1.06);
    }

.gal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.78) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: .85rem 1rem;
}

    .gal-overlay span {
        color: #fff;
        font-size: .8rem;
        font-weight: 600;
    }

/* ── Why us ── */
.why-item {
    display: flex;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all .3s;
}

    .why-item:hover {
        border-color: rgba(var(--ac-rgb),.2);
        background: rgba(var(--ac-rgb),.05);
    }

.why-icon {
    font-size: 1.8rem;
    color: var(--ac);
    flex-shrink: 0;
}

.why-item h5 {
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: .35rem;
}

.why-item p {
    font-size: 0.875rem;
    opacity: .7;
    margin: 0;
}

/* ── Contact ── */
.cinfo-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.4rem;
}

.cinfo-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 10px;
    background: rgba(var(--ac-rgb),.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ac);
    font-size: 1rem;
}

.form-control, .form-select {
    border-radius: 8px;
    padding: .62rem 1rem;
    font-size: .9rem;
    border-width: 1.5px;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--ac) !important;
        box-shadow: 0 0 0 .22rem rgba(var(--ac-rgb),.22) !important;
    }

.hint-box {
    background: rgba(var(--ac-rgb),.08);
    border: 1px solid rgba(var(--ac-rgb),.2);
    border-radius: 10px;
    padding: 1rem;
}

/* ── Footer ── */
footer {
    border-top: 1px solid rgba(var(--ac-rgb),.18);
}

    footer div a {
        text-decoration: none;
        transition: color .2s;
    }

[data-bs-theme="dark"] footer div a:not(.brand) {
    color: #9ca3af;
}

[data-bs-theme="light"] footer div a:not(.brand) {
    color: #4b5563;
}

[data-bs-theme="dark"] footer div a:not(.brand):hover {
    color: var(--ac) !important;
}

[data-bs-theme="light"] footer div a:not(.brand):hover {
    color: #1a6699 !important;
}

/* ── Scroll-to-top ── */
#scrollTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--ac);
    color: #fff;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(var(--ac-rgb),.4);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease, background .2s;
    pointer-events: none;
}

    #scrollTop.visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    #scrollTop:hover {
        background: var(--ac-hover);
        box-shadow: 0 6px 22px rgba(var(--ac-rgb),.55);
    }

/* ── Toast ── */
#toast {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    z-index: 9999;
    min-width: 300px;
}

/* ── Animations ── */
.fiu {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

    .fiu.in {
        opacity: 1;
        transform: none;
    }

    .fiu:nth-child(2) {
        transition-delay: .08s;
    }

    .fiu:nth-child(3) {
        transition-delay: .16s;
    }

    .fiu:nth-child(4) {
        transition-delay: .24s;
    }

    .fiu:nth-child(5) {
        transition-delay: .32s;
    }

    .fiu:nth-child(6) {
        transition-delay: .40s;
    }

    .fiu:nth-child(7) {
        transition-delay: .48s;
    }

    .fiu:nth-child(8) {
        transition-delay: .56s;
    }

/* ── Map ── */
.map-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(var(--ac-rgb),.2);
    box-shadow: 0 12px 40px rgba(0,0,0,.22);
}

#map {
    height: 480px;
}

.map-pin {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ac);
    border: 2.5px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.45);
}

.map-legend {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 800;
    background: rgba(17,24,39,.82);
    backdrop-filter: blur(6px);
    color: #e5e7eb;
    font-size: .78rem;
    border-radius: 8px;
    padding: .4rem .8rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid rgba(255,255,255,.08);
    pointer-events: none;
}

.map-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(51,153,204,.2);
    border: 2px solid #3399cc;
}

[data-bs-theme="light"] .map-legend {
    background: rgba(255,255,255,.88);
    color: #1f2937;
    border-color: rgba(0,0,0,.08);
}

.leaflet-popup-content-wrapper {
    border-radius: 10px !important;
    font-family: 'Inter', sans-serif !important;
}

.leaflet-popup-tip-container {
    display: none;
}

/* ── Map ── */

#Misc-Imprint main,
#Misc-PrivacyPolicy main {
    padding-top: 120px;
    padding-bottom: 96px;
}

    #Misc-Imprint main h1,
    #Misc-PrivacyPolicy main h1 {
        font-size: clamp(1.75rem,3.5vw,2.4rem);
        font-weight: 800;
        line-height: 1.15;
    }

    #Misc-Imprint main h2,
    #Misc-PrivacyPolicy main h2 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-top: 2.5rem;
        margin-bottom: .5rem;
    }

    #Misc-Imprint main p,
    #Misc-Imprint main address,
    #Misc-PrivacyPolicy main p,
    #Misc-PrivacyPolicy main address {
        font-size: .95rem;
        line-height: 1.8;
        opacity: .85;
        font-style: normal;
    }

    #Misc-Imprint main a:not(.btn),
    #Misc-PrivacyPolicy main a:not(.btn) {
        color: var(--ac);
    }

[data-bs-theme="light"] #Misc-Imprint main a:not(.btn),
[data-bs-theme="light"] #Misc-PrivacyPolicy main a:not(.btn) {
    color: #1a6699;
}
