/* =============================================
   Theme layer
   Visual polish on top of site.css and the page stylesheets.
   Selectors are prefixed with "html body" so they win over the
   page-level <link>/<style> blocks that load later in the body.
============================================= */

:root {
    --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
    --brand: #EC1C24;
    --brand-dark: #b8141b;
    --brand-soft: rgba(236, 28, 36, 0.08);
    --ink: #1b1d22;
    --ink-2: #4a4f5a;
    --ink-3: #7a808c;
    --surface: #ffffff;
    --surface-2: #f6f7f9;
    --line: #e7e9ee;
    --dark: #16181d;
    --dark-2: #1f2228;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
    --shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 18px 40px rgba(16, 24, 40, 0.14);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */

html body {
    font-family: var(--font-sans);
    color: var(--ink);
    background-color: var(--surface-2);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* site.css sets height:100%, which caps the sticky header's range */
    height: auto;
    min-height: 100vh;
}

/* full-bleed sections use 100vw, which overflows by the scrollbar width */
html body > div.container {
    overflow-x: clip;
}

html body h1, html body h2, html body h3,
html body h4, html body h5, html body h6 {
    font-family: var(--font-sans);
    letter-spacing: -0.015em;
}

html body ::selection {
    background: var(--brand);
    color: #fff;
}

html body .btn:focus-visible,
html body .form-control:focus,
html body .form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(236, 28, 36, 0.18);
}

/* ---------- Navbar ---------- */

html body header {
    position: sticky;
    top: 0;
    z-index: 1060;
}

html body .custom-navbar {
    min-height: 88px;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background: rgba(22, 24, 29, 0.96) !important;
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

html body .custom-navbar .navbar-brand img {
    max-height: 64px;
    transition: transform .3s var(--ease);
}

html body .custom-navbar .navbar-brand:hover img {
    transform: scale(1.03);
}

html body .navbar-collapse {
    background-color: transparent !important;
}

html body .navbar-nav {
    gap: .25rem;
    align-items: center;
}

html body .navbar-nav .nav-item .nav-link {
    position: relative;
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .01em;
    color: rgba(255, 255, 255, 0.82) !important;
    padding: .55rem .95rem;
    border-radius: 999px;
    transition: color .2s ease, background-color .2s ease;
}

html body .navbar-nav .nav-link:hover,
html body .navbar-nav .nav-link:focus {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    border-radius: 999px;
}

html body .navbar-nav .nav-link.active {
    background-color: var(--brand);
    color: #fff !important;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(236, 28, 36, 0.35);
}

html body .navbar .dropdown-menu {
    background-color: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: .4rem;
    box-shadow: var(--shadow-lg);
    min-width: 12rem;
}

html body .navbar .dropdown-menu .dropdown-item {
    border-radius: 8px;
    padding: .5rem .75rem;
    font-size: .92rem;
}

html body .navbar .dropdown-menu .dropdown-item label {
    cursor: pointer;
    margin: 0;
    width: 100%;
}

@media (max-width: 767.98px) {
    html body .custom-navbar {
        min-height: 76px;
    }

    html body .navbar-collapse {
        top: 100%;
        background-color: var(--dark) !important;
        box-shadow: var(--shadow-lg);
    }

    html body .navbar-collapse.show {
        width: min(78vw, 320px);
        background-color: var(--dark) !important;
        min-height: calc(100vh - 76px);
        padding: 1rem .75rem;
    }

    html body .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
    }

    html body .navbar-nav .nav-item .nav-link {
        border-radius: var(--radius-sm);
        padding: .75rem 1rem;
    }

    html body .navbar-nav .nav-link:hover,
    html body .navbar-nav .nav-link.active {
        border-radius: var(--radius-sm);
    }
}

/* ---------- Page heroes (Products, Projects, FAQ, About, Contact) ---------- */

html body .implementedhero-section,
html body .faq-hero-section,
html body .contacthero-section,
html body > div > main > .hero-section:not(section) {
    overflow: hidden;
}

html body .implementedhero-section .overlay,
html body .faq-hero-section .overlay,
html body .contacthero-section .overlay,
html body > div > main > .hero-section:not(section) .overlay {
    background:
        radial-gradient(ellipse at center, rgba(10, 12, 16, 0.25) 0%, rgba(10, 12, 16, 0.55) 70%),
        linear-gradient(180deg, rgba(10, 12, 16, 0.15) 0%, rgba(10, 12, 16, 0.55) 100%);
}

html body .implementedhero-section .overlay h1,
html body .faq-hero-section .overlay h1,
html body .contacthero-section .overlay h1,
html body > div > main > .hero-section:not(section) .overlay h1 {
    font-weight: 800;
    letter-spacing: 0.04em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    padding-bottom: .9rem;
}

    html body .implementedhero-section .overlay h1::after,
    html body .faq-hero-section .overlay h1::after,
    html body .contacthero-section .overlay h1::after,
    html body > div > main > .hero-section:not(section) .overlay h1::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 64px;
        height: 4px;
        border-radius: 4px;
        background: var(--brand);
        transform: translateX(-50%);
    }

/* ---------- Home page ---------- */

html body .hero-section .slide-caption {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--brand);
}

html body .slide-text h2 {
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

html body .slide-text p {
    font-style: normal;
    color: var(--ink-2);
}

html body .slide-label {
    border-radius: 999px;
    font-weight: 600;
    padding-left: 1.4em;
    padding-right: 1.4em;
    box-shadow: 0 8px 20px rgba(236, 28, 36, 0.35);
    transition: background-color .2s ease, transform .2s var(--ease);
}

    html body .slide-label:hover {
        background-color: var(--brand-dark);
        transform: translateY(-2px);
    }

html body .slider-dots .dot {
    width: 10px;
    height: 10px;
    transition: width .3s var(--ease), background-color .3s ease;
}

    html body .slider-dots .dot.active {
        width: 28px;
        border-radius: 999px;
        background-color: var(--brand);
    }

html body .about-section {
    background: var(--surface);
    padding: 4.5rem 1.25rem 4rem;
}

html body .about-section h2,
html body .solutions-title,
html body .featured-projects .section-title {
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
    font-weight: 800;
    color: var(--ink) !important;
    letter-spacing: -0.02em;
    margin-bottom: .75rem;
}

html body .about-section p,
html body .solutions-subtitle,
html body .featured-projects .section-desc {
    color: var(--ink-2) !important;
    font-size: 1.05rem;
    line-height: 1.7;
}

html body .about-section > .about-container > p {
    margin-bottom: 3rem;
}

html body .selling-points {
    gap: 1.25rem;
}

html body .point {
    flex: 1 1 200px;
    max-width: 240px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem 1rem 1.4rem;
    transition: transform .3s var(--ease), box-shadow .3s ease, background-color .3s ease;
}

    html body .point:hover {
        transform: translateY(-4px);
        background: var(--surface);
        box-shadow: var(--shadow);
    }

    html body .point svg.size-6 {
        width: 56px;
        height: 56px;
        padding: 12px;
        border-radius: 14px;
        background: var(--brand-soft);
    }

    html body .point p {
        color: var(--ink) !important;
        font-weight: 600;
        font-size: .98rem;
        white-space: normal;
        line-height: 1.4;
    }

@media (max-width: 575px) {
    html body .selling-points {
        gap: .75rem;
    }

    html body .point {
        flex: 1 1 calc(50% - .375rem);
        max-width: calc(50% - .375rem);
        margin: 0;
        padding: 1.2rem .6rem 1rem;
    }

        html body .point p {
            font-size: .88rem;
        }

    html body .about-section {
        padding: 3rem 1rem;
    }

    html body .solution-row {
        padding: 1.1rem 1.1rem;
        flex-wrap: nowrap;
    }

    html body .solution-arrow {
        margin: 0;
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

html body > div > main {
    background: var(--surface-2);
}

html body .solutions-section {
    padding: 4.5rem 0 3rem;
}

html body hr.cc-horizontal-line {
    width: 72px;
    height: 4px;
    border-radius: 4px;
    opacity: 1;
    background: var(--brand);
    margin: 0 auto 2rem;
}

html body .solutions-section hr.cc-horizontal-line:last-child {
    display: none;
}

html body .solutions-rows {
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

html body .solution-row {
    padding: 1.4rem 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    text-align: left;
    position: relative;
    overflow: hidden;
}

    html body .solution-row::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--brand);
        transform: scaleY(0);
        transform-origin: bottom;
        transition: transform .3s var(--ease);
    }

    html body .solution-row:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow);
        border-color: transparent;
    }

        html body .solution-row:hover::before {
            transform: scaleY(1);
        }

html body .solution-title {
    font-size: 1.15rem;
    font-weight: 700;
}

html body .solution-desc {
    color: var(--ink-2);
    font-size: .98rem;
}

html body .solution-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    padding-bottom: .12em;
    background: var(--brand-soft);
    transition: background-color .25s ease, color .25s ease, transform .25s var(--ease);
}

html body .solution-row:hover .solution-arrow {
    background: var(--brand);
    color: #fff;
    transform: translateX(4px);
}

html body .featured-projects {
    padding-top: 3rem !important;
    padding-bottom: 5rem !important;
}

html body .featured-projects .section-desc {
    margin-bottom: 2.5rem;
}

html body .project-card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow) !important;
}

    html body .project-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg) !important;
    }

html body .project-img {
    height: 300px;
}

html body .project-overlay {
    text-align: left;
    padding: 2.5rem 1.25rem 1.1rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.85) 100%);
}

    html body .project-overlay h5 {
        color: #fff;
        font-weight: 700;
        letter-spacing: .02em;
        position: relative;
        padding-left: .75rem;
    }

        html body .project-overlay h5::before {
            content: "";
            position: absolute;
            left: 0;
            top: .15em;
            bottom: .15em;
            width: 3px;
            border-radius: 3px;
            background: var(--brand);
        }

    html body .project-overlay p {
        color: rgba(255, 255, 255, 0.85);
        font-size: .92rem;
    }

html body .portfolio-label-container {
    justify-content: center;
    padding-right: 0;
    margin-top: 2.5rem;
}

html body .portfolio-label {
    font-weight: 600;
    color: var(--brand);
    border: 1.5px solid var(--brand);
    border-radius: 999px;
    padding: .65rem 1.5rem;
    transition: background-color .2s ease, color .2s ease;
}

    html body .portfolio-label::after {
        display: none;
    }

    html body .portfolio-label:hover {
        background: var(--brand);
        color: #fff;
        font-weight: 600;
    }

    html body .portfolio-label .arrow {
        font-size: 1.1rem;
        margin-left: .25rem;
    }

/* ---------- Generic cards & buttons ---------- */

html body .card {
    border-radius: var(--radius) !important;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: transform .3s var(--ease), box-shadow .3s ease;
    overflow: hidden;
}

    html body a:hover > .card,
    html body .card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg) !important;
    }

html body .card .card-img-top {
    transition: transform .5s var(--ease);
}

html body .card:hover .card-img-top {
    transform: scale(1.03);
}

html body .card-title {
    font-weight: 700;
    color: var(--ink);
}

html body .btn {
    border-radius: 999px;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}

html body .btn-danger,
html body .btn-primary {
    background-color: var(--brand);
    border-color: var(--brand);
}

    html body .btn-danger:hover,
    html body .btn-primary:hover {
        background-color: var(--brand-dark);
        border-color: var(--brand-dark);
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(236, 28, 36, 0.3);
    }

html body .form-control,
html body .form-select {
    border-radius: var(--radius-sm);
    border-color: var(--line);
    padding: .65rem .9rem;
}

/* ---------- Products page ---------- */

html body .product-type-buttons .custom-product-btn,
html body .subcategory-panel .btn-group > .custom-product-btn {
    border: 1.5px solid var(--line) !important;
    background-color: var(--surface);
    color: var(--ink-2);
    box-shadow: var(--shadow-sm) !important;
    border-radius: 999px !important;
    font-weight: 600;
}

    html body .product-type-buttons .custom-product-btn:hover,
    html body .subcategory-panel .btn-group > .custom-product-btn:hover {
        border-color: var(--brand) !important;
        background-color: var(--surface);
        color: var(--brand);
        box-shadow: var(--shadow) !important;
        transform: translateY(-2px);
    }

    html body .product-type-buttons .custom-product-btn.active,
    html body .subcategory-panel .btn-group > .custom-product-btn.active {
        background-color: var(--brand) !important;
        border-color: var(--brand) !important;
        color: #fff !important;
        box-shadow: 0 8px 20px rgba(236, 28, 36, 0.3) !important;
    }

html body .product-type-buttons > .btn-group > a.custom-product-btn,
html body .subcategory-panel .btn-group > a.custom-product-btn {
    border-top-left-radius: 999px !important;
    border-top-right-radius: 999px !important;
    border-bottom-left-radius: 999px !important;
    border-bottom-right-radius: 999px !important;
}

html body .subcategory-panel:not(.commercial-subcategories) {
    max-width: 1000px;
}

html body .subcategory-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 600px) {
    html body .subcategory-panel:not(.commercial-subcategories) .btn-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    html body .subcategory-panel:not(.commercial-subcategories) .btn-group > .custom-product-btn {
        max-width: none;
        min-width: 0;
        flex: 0 0 auto;
        padding: .6rem 1.15rem;
        white-space: nowrap;
        min-height: 0;
        justify-content: center;
    }
}

@media (min-width: 1097px) {
    html body .product-type-buttons > .btn-group {
        max-width: 1120px;
        flex-wrap: wrap;
        justify-content: center;
        gap: .75rem;
        padding: 0 1rem;
    }

        html body .product-type-buttons > .btn-group > .custom-product-btn {
            min-width: 190px !important;
            flex: 0 1 auto;
            padding: .8rem 1.6rem !important;
            font-size: 1rem;
        }
}

html body .product-type-buttons::before,
html body .product-type-buttons::after {
    display: none;
}

html body .search-bar {
    border-radius: 999px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    background: var(--surface);
}

    html body .search-bar .form-control {
        border: 0;
        border-radius: 0;
        padding-left: 1.25rem;
        box-shadow: none;
    }

    html body .search-bar .btn {
        border-radius: 999px !important;
        margin: 4px;
        padding-left: 1.4rem;
        padding-right: 1.4rem;
    }

@media (max-width: 599px) {
    html body .search-form,
    html body .subcategory-panel {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

html body .pagination {
    gap: .35rem;
}

html body .pagination .page-link {
    border-radius: 10px !important;
    border: 1px solid var(--line);
    color: var(--ink-2);
    min-width: 40px;
    text-align: center;
    font-weight: 600;
}

html body .pagination .page-item.active .page-link {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

/* ---------- Implemented projects ---------- */

html body .projects-container {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
    max-width: 1200px;
    margin: 3.5rem auto 2rem;
    padding: 0 1.25rem;
}

html body .projects-container .project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease;
}

    html body .projects-container .project-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: transparent;
    }

/* let the image and description sit directly in the card so the image can go first */
html body .projects-container .project-body {
    display: contents;
}

html body .projects-container .project-image,
html body .projects-container .no-image {
    order: -1;
    width: 100%;
    max-width: none;
    height: 230px;
    max-height: none;
    border-radius: 0;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

html body .projects-container .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eceef2, #f7f8fa);
    color: var(--ink-3);
    font-weight: 500;
}

html body .projects-container .project-card:hover .project-image {
    transform: scale(1.06);
}

html body .projects-container .project-card-header {
    position: relative;
    z-index: 1;
    background: var(--surface);
    padding: 1.25rem 1.4rem 0;
    gap: .75rem;
}

html body .projects-container .project-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: .01em;
    line-height: 1.3;
    transition: color .2s ease;
}

html body .projects-container .project-card:hover .project-title {
    color: var(--brand);
}

html body .projects-container .project-client {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: .4rem 0 0;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: .06em;
}

    html body .projects-container .project-client::before {
        content: "";
        width: 14px;
        height: 2px;
        border-radius: 2px;
        background: var(--brand);
    }

html body .projects-container .admin-controls {
    padding: 0;
    gap: .4rem;
}

html body .projects-container .btn-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-soft);
    font-size: .9rem;
    transition: background-color .2s ease, color .2s ease;
}

    html body .projects-container .btn-icon:hover {
        background: var(--brand);
        color: #fff;
    }

html body .projects-container .project-description-wrapper {
    position: relative;
    z-index: 1;
    background: var(--surface);
    flex: 1;
    padding: .9rem 1.4rem 1.4rem;
}

html body .projects-container .project-description {
    color: var(--ink-2);
    font-size: .95rem;
    line-height: 1.65;
}

html body .projects-container .project-description .read-more-link {
    display: inline-flex;
    margin-top: .6rem;
    color: var(--brand);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
}

    html body .projects-container .project-description .read-more-link::after {
        content: "→";
        margin-left: .35rem;
        transition: transform .2s var(--ease);
    }

    html body .projects-container .project-description .read-more-link:hover {
        color: var(--brand-dark);
    }

        html body .projects-container .project-description .read-more-link:hover::after {
            transform: translateX(3px);
        }

html body #loadMoreBtn {
    border-radius: 999px;
    border: 1.5px solid var(--brand);
    color: var(--brand);
    padding: .7rem 1.8rem;
    margin-bottom: 4rem;
}

    html body #loadMoreBtn:hover {
        background: var(--brand);
        color: #fff;
    }

html body > div > main > .admin-controls {
    max-width: 1200px;
    margin: 2rem auto -1.5rem;
    padding: 0 1.25rem;
}

@media (max-width: 600px) {
    html body .projects-container {
        grid-template-columns: 1fr;
        margin-top: 2rem;
        padding: 0 1rem;
        gap: 1.25rem;
    }

    html body .projects-container .project-image,
    html body .projects-container .no-image {
        height: 200px;
    }
}

/* Project details */

html body .project-details-container {
    max-width: 1200px;
    margin: 3rem auto 2rem;
    padding: 0 1.25rem;
    /* one shadow around header + description so there is no seam between them */
    filter: drop-shadow(0 2px 6px rgba(16, 24, 40, 0.07));
}

    html body .project-details-container .project-header {
        position: relative;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        border-bottom: 0;
        padding: 2.25rem 2.5rem 1.25rem;
        margin: 0;
        overflow: hidden;
    }

        html body .project-details-container .project-header::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            height: 4px;
            background: var(--brand);
        }

    html body .project-details-container .project-title {
        font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
        font-weight: 800;
        color: var(--ink);
        letter-spacing: -0.02em;
        margin-bottom: .5rem;
    }

    html body .project-details-container .project-client {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        margin: 0;
        font-size: .9rem;
        font-weight: 600;
        color: var(--ink-3);
        text-transform: uppercase;
        letter-spacing: .08em;
    }

        html body .project-details-container .project-client::before {
            content: "";
            width: 18px;
            height: 2px;
            border-radius: 2px;
            background: var(--brand);
        }

    html body .project-details-container .project-description {
        background: var(--surface);
        border: 1px solid var(--line);
        border-top: 0;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        padding: .5rem 2.5rem 2.25rem;
        margin: 0;
        color: var(--ink-2);
        font-size: 1.05rem;
        line-height: 1.8;
    }

        html body .project-details-container .project-description p {
            margin: 0;
            max-width: 75ch;
        }

html body .gallery-title {
    max-width: 1200px;
    margin: 2.5rem auto 1.25rem;
    padding: 0 1.25rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ink);
}

html body .project-gallery-full {
    width: auto;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 1.25rem;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

html body .gallery-item {
    height: 240px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s ease;
}

    html body .gallery-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    html body .gallery-item img {
        object-fit: cover;
        background: var(--surface-2);
    }

@media (max-width: 600px) {
    html body .project-details-container {
        margin-top: 1.5rem;
        padding: 0 1rem;
    }

        html body .project-details-container .project-header {
            padding: 1.75rem 1.4rem 1rem;
        }

        html body .project-details-container .project-description {
            padding: .25rem 1.4rem 1.75rem;
        }

    html body .project-gallery-full {
        padding: 0 1rem;
        grid-template-columns: repeat(2, 1fr);
        gap: .75rem;
    }

    html body .gallery-item {
        height: 150px;
    }
}

/* ---------- FAQ ---------- */

html body .intro-section {
    color: var(--ink-2);
    line-height: 1.75;
    background: transparent;
}

html body .questions-section {
    background: var(--surface-2);
}

    html body .questions-section h2 {
        color: var(--ink);
        font-weight: 800;
        margin-right: 0;
    }

html body .timeline {
    border-left-color: rgba(236, 28, 36, 0.35);
}

html body .questions-section .timeline {
    width: 100%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

html body .milestone .marker {
    box-shadow: 0 0 0 4px rgba(236, 28, 36, 0.15);
    top: 31px;
    transform: translateY(-50%);
}

html body .milestone .header {
    gap: 1rem;
    min-height: 1.5rem;
}

    html body .milestone .header h3 {
        flex: 1;
        text-align: left;
        line-height: 1.4;
    }

html body .milestone .toggle-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

html body .milestone .description {
    text-align: left;
}

html body .milestone .content {
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

html body .milestone:hover .content,
html body .milestone.active .content {
    box-shadow: var(--shadow);
    border-color: transparent;
}

html body .milestone h3 {
    font-weight: 600;
    color: var(--ink);
}

/* ---------- About ---------- */

html body .icon-grid {
    gap: 1.25rem;
    justify-items: stretch;
    align-items: stretch;
}

html body .icon-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s ease;
}

    html body .icon-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }

    html body .icon-item p,
    html body .icon-item span,
    html body .icon-item h3,
    html body .icon-item h4 {
        font-weight: 600;
        color: var(--ink);
    }

html body .mySwiper .swiper-slide img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

html body .mySwiper .swiper-button-prev,
html body .mySwiper .swiper-button-next {
    color: var(--brand);
}

/* ---------- Contact ---------- */

html body .contact-card,
html body .hours-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s ease;
}

    html body .contact-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }

html body .icon-badge {
    box-shadow: 0 8px 20px rgba(236, 28, 36, 0.3);
}

html body .contact-heading,
html body .hours-title,
html body .map-heading {
    font-weight: 700;
    letter-spacing: .03em;
}

html body .map-container iframe {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */

html body .footer-container {
    background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
    color: rgba(255, 255, 255, 0.72);
    padding: 3.5rem clamp(1.25rem, 4vw, 4rem) 2.5rem;
    font-size: .92rem;
    line-height: 1.7;
    border-top: 3px solid var(--brand);
}

    html body .footer-container h4 {
        color: #fff;
        font-size: 1.05rem;
        font-weight: 700;
        letter-spacing: .02em;
        margin-bottom: 1rem;
        position: relative;
        padding-bottom: .6rem;
    }

        html body .footer-container h4::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 32px;
            height: 3px;
            border-radius: 3px;
            background: var(--brand);
        }

    html body .footer-container span {
        color: rgba(255, 255, 255, 0.92);
        font-weight: 500;
    }

    html body .footer-container i:not([class]) {
        font-style: normal;
    }

    html body .footer-container a,
    html body .footer-container a:visited {
        color: rgba(255, 255, 255, 0.72) !important;
        transition: color .2s ease;
    }

        html body .footer-container a:hover {
            color: #fff !important;
            text-decoration: none;
        }

html body .footer-distributor {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

html body .footer-logo {
    max-width: 150px;
    margin-top: .25rem;
}

html body .footer-social-section .social-icons {
    display: flex;
    gap: .6rem;
    margin-bottom: 1rem;
}

    html body .footer-social-section .social-icons a {
        margin: 0;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        font-size: 1.1rem;
        transition: background-color .2s ease, transform .2s var(--ease);
    }

        html body .footer-social-section .social-icons a:hover {
            background: var(--brand);
            transform: translateY(-2px);
        }

html body .footer-links {
    color: rgba(255, 255, 255, 0.5);
    font-size: .85rem;
}

    html body .footer-links span {
        color: rgba(255, 255, 255, 0.5);
        font-weight: 400;
    }

@media (min-width: 768px) {
    html body .footer-container {
        align-items: stretch;
    }

    html body .footer-logo-section,
    html body .footer-contact-section,
    html body .footer-social-section {
        justify-content: flex-start;
        padding: 0 2rem;
    }

    html body .footer-logo-section::after,
    html body .footer-contact-section::after {
        background-color: rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 767px) {
    html body .footer-container h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    html body .footer-social-section .social-icons {
        justify-content: center;
    }

    html body .footer-logo-section::after,
    html body .footer-contact-section::after {
        background-color: rgba(255, 255, 255, 0.08);
    }
}

/* ---------- Scrollbar ---------- */

html body ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

html body ::-webkit-scrollbar-track {
    background: var(--surface-2);
}

html body ::-webkit-scrollbar-thumb {
    background: #c9ccd3;
    border-radius: 999px;
    border: 2px solid var(--surface-2);
}

    html body ::-webkit-scrollbar-thumb:hover {
        background: #a9adb6;
    }

@media (prefers-reduced-motion: reduce) {
    html body *,
    html body *::before,
    html body *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
