:root {
    --site-header-height: 84px;
    --site-topbar-height: 38px;
}

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
    background-color: var(--site-bg);
    -webkit-font-smoothing: antialiased;
}

main { display: block; }

.site-footer a,
.site-footer address,
.contact-item span { overflow-wrap: anywhere; }

.section { padding: 5rem 0; }
.section--tight { padding: 3rem 0; }
.section--surface { background-color: var(--site-surface); }
.section--dark { background-color: var(--site-dark); color: #e6e9ec; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lead-text, .section--dark p { color: #cfd4da; }

.section-title { margin-bottom: 2.5rem; }
.section-title .eyebrow {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--site-accent);
    margin-bottom: .75rem;
}
.section--dark .section-title .eyebrow { color: #fff; opacity: .8; }
.section-title h2 { margin-bottom: 0; }
.section-title h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background-color: var(--site-accent);
    margin-top: 1.25rem;
    border-radius: 2px;
}
.section-title.text-center h2::after { margin-left: auto; margin-right: auto; }
.section-title--bare h2::after { display: none; }

.lead-text {
    font-size: 1.0625rem;
    color: var(--site-muted);
    max-width: 60ch;
}

.img-cover { width: 100%; height: 100%; object-fit: cover; }
.ratio-photo { aspect-ratio: 4 / 3; overflow: hidden; background-color: var(--site-surface); border-radius: var(--site-radius-lg); }
.ratio-photo--wide { aspect-ratio: 3 / 2; }
.ratio-photo--tall { aspect-ratio: 4 / 5; }
.ratio-photo img { transition: transform .6s ease; }
a:hover .ratio-photo img { transform: scale(1.04); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .ratio-photo img { transition: none; }
}

.topbar {
    background-color: var(--site-dark);
    color: #d5dae0;
    font-size: .8125rem;
    height: var(--site-topbar-height);
    display: flex;
    align-items: center;
}
.topbar a { color: #fff; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .bi { color: var(--site-accent); margin-right: .35rem; }
.topbar__social { display: flex; align-self: stretch; }
.topbar__social a { display: flex; align-items: center; justify-content: center; width: 38px; height: var(--site-topbar-height); transition: background-color .2s ease; }
.topbar__social a:hover { background-color: var(--site-accent); text-decoration: none; }
.topbar__social .bi { color: #fff; margin: 0; font-size: .95rem; }
@media (max-width: 767.98px) {
    .topbar__hours, .topbar__social { display: none; }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: var(--site-bg);
    border-bottom: 3px solid var(--site-accent);
    transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .1); }
.site-header .navbar { padding-top: 0; padding-bottom: 0; }
.site-header .navbar > .container { min-height: 84px; }
.site-header .navbar-brand { padding: 0; margin-right: 2rem; }
.site-header .navbar-brand img { height: 52px; width: auto; }

.site-header .navbar-nav { align-items: stretch; }
.site-header .nav-item { display: flex; }
.site-header .nav-link {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    min-height: 84px;
    font-family: var(--site-font-heading);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--site-text);
    transition: color .2s ease, background-color .2s ease;
}
.site-header .nav-link:hover { color: var(--site-accent); }
.site-header .nav-link.active,
.site-header .nav-link.active:hover { color: #fff; background-color: var(--site-accent); }
.site-header .nav-link .bi-chevron-down { font-size: .65em; margin-left: .35rem; transition: transform .2s ease; }
.site-header .nav-item.dropdown:hover .nav-link .bi-chevron-down { transform: rotate(180deg); }
.site-header .btn-header {
    align-self: center;
    margin-left: 1.25rem;
    padding: .7rem 1.35rem;
    border-radius: 0;
    font-family: var(--site-font-heading);
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.site-header .nav-item.dropdown .dropdown-menu {
    display: block;
    top: 100%;
    margin-top: 3px;
    border: 0;
    border-radius: 0;
    background-color: var(--site-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    min-width: 14rem;
    padding: .5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.site-header .nav-item.dropdown:hover .dropdown-menu,
.site-header .nav-item.dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.site-header .dropdown-item { padding: .6rem 1.25rem; font-size: .9375rem; color: #e6e9ec; }
.site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background-color: rgba(255, 255, 255, .06); color: #fff; }
.site-header .dropdown-divider { border-color: rgba(255, 255, 255, .12); }

.offcanvas__sub { list-style: none; padding: 0 0 .5rem 1rem; margin: -.4rem 0 0; }
.offcanvas__sub a { display: block; padding: .45rem 0; color: var(--site-muted); font-size: .9375rem; }
.offcanvas__sub a:hover { color: var(--site-accent); text-decoration: none; }

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--site-dark);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
}
.page-loader.is-active { opacity: 1; visibility: visible; }
.page-loader__box { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.page-loader__box img { height: 56px; width: auto; }
.page-loader__bar { width: 160px; height: 3px; background-color: rgba(255, 255, 255, .15); overflow: hidden; }
.page-loader__bar::after { content: ""; display: block; width: 40%; height: 100%; background-color: var(--site-accent); animation: page-loader-slide 1s ease-in-out infinite; }
@keyframes page-loader-slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .page-loader__bar::after { animation: none; width: 100%; } }

.navbar-toggler { border: 0; padding: .25rem .5rem; }
.navbar-toggler:focus { box-shadow: none; }

.offcanvas .nav-link {
    font-size: 1.0625rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--site-border);
}
.offcanvas__contact { margin-top: 1.5rem; font-size: .9rem; color: var(--site-muted); }
.offcanvas__contact div + div { margin-top: .5rem; }

.hero { background-color: var(--site-dark); color: #fff; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; min-height: 560px; }
.hero__content { padding: 4rem 3rem 4rem 0; }
.hero__content .eyebrow {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--site-accent);
    margin-bottom: 1rem;
}
.hero__content h1 {
    color: #fff;
    font-size: clamp(2.25rem, 4.2vw, 3.5rem);
    max-width: 14ch;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.hero__content p { color: #cfd3d8; font-size: 1.125rem; max-width: 44ch; margin-bottom: 1.75rem; }
.hero__slides { position: relative; background-color: #fff; align-self: stretch; display: flex; align-items: center; }
.hero__slides .carousel { width: 100%; touch-action: pan-y; }
.hero__slides .carousel-item img { width: 100%; height: auto; display: block; -webkit-user-drag: none; user-select: none; }
.hero__slides .carousel-indicators { margin-bottom: .75rem; }
.hero__slides .carousel-indicators [data-bs-target] { background-color: var(--site-dark); border: 0; border-radius: 2px; }
.hero__slides .carousel-control-prev-icon,
.hero__slides .carousel-control-next-icon { filter: invert(1) grayscale(1); }
.hero__slides .carousel-caption { display: none; }
.hero__strip { border-top: 1px solid rgba(255, 255, 255, .1); }
.hero__strip .container { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; padding-top: 1rem; padding-bottom: 1rem; font-size: .9375rem; color: #cfd3d8; }
.hero__strip .bi { color: var(--site-accent); margin-right: .5rem; }

@media (max-width: 991.98px) {
    .hero__grid { grid-template-columns: 1fr; min-height: 0; }
    .hero__slides { order: -1; }
    .hero__content { padding: 2.5rem 0 2.75rem; }
    .hero__content h1 { font-size: clamp(2rem, 8vw, 2.75rem); max-width: none; }
    .hero__content p { font-size: 1.0625rem; margin-bottom: 1.25rem; }
    .hero__slides .carousel-control-prev, .hero__slides .carousel-control-next { display: none; }
    .hero__strip .container { gap: .35rem 1.5rem; font-size: .875rem; }
}

.page-header {
    background-color: var(--site-surface);
    border-bottom: 1px solid var(--site-border);
    padding: 3rem 0;
}
.page-header h1 { margin-bottom: 0; font-size: clamp(1.875rem, 3.5vw, 2.75rem); }
.page-header .breadcrumb { margin-bottom: .75rem; font-size: .875rem; }
.page-header--photo {
    position: relative;
    padding: 5rem 0 3.5rem;
    color: #fff;
    border: 0;
}
.page-header--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.page-header--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, .2) 100%); }
.page-header--photo .container { position: relative; z-index: 1; }
.page-header--photo h1 { color: #fff; }
.page-header--photo .lead-text { color: #e6e9ec; }
.page-header--photo .breadcrumb a { color: #e6e9ec; }
.page-header--photo .breadcrumb-item.active { color: #fff; }

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--site-border);
}
.about-stats strong {
    display: block;
    font-family: var(--site-font-heading);
    font-size: 2rem;
    line-height: 1;
    color: var(--site-text);
    margin-bottom: .35rem;
}
.about-stats span { font-size: .875rem; color: var(--site-muted); }

.photo-stack { position: relative; padding-bottom: 3rem; padding-right: 3rem; }
.photo-stack__main { aspect-ratio: 3 / 2; }
.photo-stack__small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45%;
    aspect-ratio: 4 / 3;
    border: 6px solid var(--site-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}
@media (max-width: 575.98px) {
    .photo-stack { padding: 0; }
    .photo-stack__small { display: none; }
}

.service-card {
    display: block;
    height: 100%;
    color: inherit;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius-lg);
    overflow: hidden;
    background-color: var(--site-bg);
    transition: box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { color: inherit; text-decoration: none; border-color: transparent; box-shadow: 0 8px 28px rgba(0, 0, 0, .1); }
.service-card .ratio-photo { border-radius: 0; }
.service-card__body { padding: 1.5rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.service-card p { color: var(--site-muted); margin-bottom: .75rem; font-size: .9375rem; }
.service-card__link { font-weight: 600; color: var(--site-accent); }
.service-card__link .bi { font-size: .85em; margin-left: .25rem; transition: transform .2s ease; }
.service-card:hover .service-card__link .bi { transform: translateX(3px); }

.project-card { position: relative; display: block; overflow: hidden; border-radius: var(--site-radius-lg); color: #fff; }
.project-card .ratio-photo { border-radius: 0; }
.project-card__caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 2.5rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0));
}
.project-card__caption small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.project-card__caption h3 { color: #fff; font-size: 1.125rem; margin: .25rem 0 0; }
.project-card:hover { color: #fff; text-decoration: none; }

.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.feature-list li {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 0;
    border-top: 1px solid var(--site-border);
}
.feature-list li:last-child { border-bottom: 1px solid var(--site-border); }
.feature-list .bi { color: var(--site-accent); font-size: 1.35rem; flex-shrink: 0; line-height: 1.3; }
.feature-list strong { display: block; margin-bottom: .2rem; }
.feature-list p { margin: 0; color: var(--site-muted); font-size: .9375rem; }

.testimonial {
    height: 100%;
    padding: 2rem;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius-lg);
    background-color: var(--site-bg);
}
.testimonial .bi-quote { font-size: 2.25rem; color: var(--site-accent); line-height: 1; display: block; margin-bottom: .75rem; }
.testimonial p { font-size: 1.0625rem; }
.testimonial footer { margin-top: 1.25rem; font-size: .9rem; color: var(--site-muted); }
.testimonial footer strong { display: block; color: var(--site-text); }

.band {
    position: relative;
    color: #fff;
    padding: 5rem 0;
    background-color: var(--site-dark);
    overflow: hidden;
}
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background-color: rgba(0, 0, 0, .62); }
.band .container { position: relative; z-index: 1; }
.band h2 { color: #fff; }
.band__stat strong { display: block; font-family: var(--site-font-heading); font-size: 2.75rem; line-height: 1; color: #fff; }
.band__stat span { font-size: .9375rem; color: #d5dae0; }

.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem 3.5rem; }
.logos img { height: 44px; width: auto; filter: grayscale(1); opacity: .65; transition: opacity .2s ease, filter .2s ease; }
.logos img:hover { filter: none; opacity: 1; }
@media (max-width: 575.98px) { .logos { gap: 1.5rem 2rem; } .logos img { height: 32px; } }

.contact-cta .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--site-border);
    color: inherit;
}
.contact-cta .contact-item:first-child { border-top: 1px solid var(--site-border); }
.contact-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.contact-pair .contact-item { border-top: 1px solid var(--site-border); }
@media (max-width: 575.98px) { .contact-pair { grid-template-columns: 1fr; } .contact-pair .contact-item + .contact-item { border-top: 0; } }
.contact-cta .contact-item .bi { font-size: 1.35rem; color: var(--site-accent); }
.contact-cta .contact-item small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--site-muted); }
.contact-cta .contact-item span { font-size: 1.0625rem; color: var(--site-text); }
a.contact-item:hover { text-decoration: none; }
a.contact-item:hover span { color: var(--site-accent); }

.map-embed { line-height: 0; }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }
.contact-cta .contact-item--address { border-bottom: 0; padding-bottom: .75rem; }
.map-embed--inline { border: 1px solid var(--site-border); border-radius: var(--site-radius-lg); overflow: hidden; }
.map-embed--inline iframe { height: 300px; }
@media (max-width: 767.98px) { .map-embed iframe { height: 300px; } }

.site-footer {
    background-color: var(--site-dark);
    color: #c9cfd6;
    padding: 4.5rem 0 0;
    font-size: .9375rem;
}
.site-footer img { height: 40px; width: auto; }
.site-footer h4 {
    font-family: var(--site-font-body);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.25rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .5rem; }
.site-footer a { color: #e6e9ec; }
.site-footer a:hover { color: #fff; }
.site-footer address { margin: 0; font-style: normal; }
.site-footer .social a {
    display: inline-flex;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--site-radius);
    margin-right: .5rem;
    font-size: 1.1rem;
    transition: border-color .2s ease, background-color .2s ease;
}
.site-footer .social a:hover { border-color: #fff; text-decoration: none; }
.site-footer .footer-bottom {
    margin-top: 3.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .8125rem;
    color: #aab2bb;
}

.whats-float {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1040;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background-color: #25d366;
    color: #fff;
    font-size: 1.9rem;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
    transition: transform .2s ease;
}
.whats-float:hover { color: #fff; transform: scale(1.06); text-decoration: none; }

.cookie-notice {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1039;
    max-width: 420px;
    padding: 1rem 1.25rem;
    background-color: var(--site-dark);
    color: #e6e9ec;
    border-radius: var(--site-radius-lg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
    font-size: .875rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.cookie-notice a { color: #fff; text-decoration: underline; }
.cookie-notice .btn { flex-shrink: 0; }
@media (max-width: 575.98px) {
    .section { padding: 3.25rem 0; }
    .whats-float { width: 52px; height: 52px; font-size: 1.7rem; right: 1rem; bottom: 1rem; }
    .cookie-notice { left: .75rem; right: 4.75rem; bottom: .75rem; max-width: none; flex-direction: column; align-items: stretch; gap: .5rem; }
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--site-border);
}
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.filter-tabs a, .filter-tabs button {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .5rem 1rem;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: transparent;
    color: var(--site-text);
    font-size: .875rem;
    font-weight: 500;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.filter-tabs a:hover, .filter-tabs button:hover { border-color: var(--site-accent); color: var(--site-accent); text-decoration: none; }
.filter-tabs .active { color: var(--site-accent-contrast); background-color: var(--site-accent); border-color: var(--site-accent); }
.filter-tabs span { font-size: .75rem; opacity: .7; }
.filter-search { display: flex; gap: .5rem; flex: 1 1 320px; max-width: 420px; }
.filter-search .form-control { font-size: .9375rem; }

.breadcrumb a { color: var(--site-muted); }
.breadcrumb a:hover { color: var(--site-accent); }

.slider { position: relative; margin-top: 2.5rem; }
.slider__track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: .25rem;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__item { flex: 0 0 calc((100% - 4.5rem) / 4); scroll-snap-align: start; display: flex; }
.slider__item > * { width: 100%; }
.slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--site-border);
    border-radius: 50%;
    background-color: var(--site-bg);
    color: var(--site-text);
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    transition: opacity .2s ease, border-color .2s ease;
}
.slider__arrow:hover { border-color: var(--site-accent); color: var(--site-accent); }
.slider__arrow--prev { left: -22px; }
.slider__arrow--next { right: -22px; }
.slider__arrow[disabled] { opacity: .25; pointer-events: none; }
@media (max-width: 991.98px) { .slider__item { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (max-width: 575.98px) {
    .slider__track { gap: 1rem; margin-right: -16px; padding-right: 16px; }
    .slider__item { flex-basis: 78%; }
    .slider__arrow { display: none; }
}

.gallery-item { position: relative; display: block; }
.gallery-item::after {
    content: "\F62C";
    font-family: 'bootstrap-icons';
    position: absolute;
    right: .75rem; bottom: .75rem;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    background-color: rgba(0, 0, 0, .6);
    color: #fff;
    border-radius: var(--site-radius);
    font-size: 1rem;
    opacity: 0;
    transition: opacity .2s ease;
}
.gallery-item:hover::after { opacity: 1; }

.lightbox .modal-content { background-color: rgba(0, 0, 0, .96); border: 0; height: 100%; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; color: #d0d0d0; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.lightbox__stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 4.5rem 2rem; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 1.25rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.lightbox__nav:hover { border-color: #fff; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
@media (max-width: 575.98px) {
    .lightbox__stage { padding: 0 .5rem 4.5rem; }
    .lightbox__nav { top: auto; bottom: 1rem; transform: none; }
}

.rich-text { color: var(--site-text); }
.rich-text p { margin-bottom: 1.25rem; }
.rich-text ul { padding-left: 1.25rem; }
.spec-sheet { border: 1px solid var(--site-border); border-radius: var(--site-radius-lg); padding: 1.5rem; background-color: var(--site-surface); }
.spec-sheet dl { margin: 0; }
.spec-sheet dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--site-border); }
.spec-sheet dl > div:first-child { border-top: 0; padding-top: 0; }
.spec-sheet dt { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--site-muted); }
.spec-sheet dd { margin: 0; text-align: right; }

.ratio-photo--contain { background-color: #fff; }
.ratio-photo--contain img { object-fit: contain; padding: 8%; }
.ratio-photo--square { aspect-ratio: 1 / 1; }

.category-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius-lg);
    background-color: var(--site-bg);
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.category-card:hover { color: inherit; text-decoration: none; border-color: var(--site-dark); box-shadow: 0 8px 28px rgba(0, 0, 0, .08); }
.category-card .ratio-photo { border-radius: 0; border-bottom: 1px solid var(--site-border); }
.category-card__body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.category-card h3 { font-size: 1.375rem; text-transform: uppercase; margin-bottom: .35rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.category-card h3 small { font-family: var(--site-font-body); font-size: .8125rem; font-weight: 600; text-transform: none; color: var(--site-muted); white-space: nowrap; }
.category-card p { color: var(--site-muted); font-size: .9375rem; margin-bottom: 1rem; flex: 1; }
.category-card__link { font-weight: 600; color: var(--site-accent); }
.category-card__link .bi { font-size: .85em; margin-left: .25rem; transition: transform .2s ease; }
.category-card:hover .category-card__link .bi { transform: translateX(3px); }

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius-lg);
    background-color: var(--site-bg);
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.product-card:hover { color: inherit; text-decoration: none; border-color: var(--site-dark); box-shadow: 0 8px 28px rgba(0, 0, 0, .08); }
.product-card .ratio-photo { border-radius: 0; }
.product-card__body { padding: 1.1rem 1.25rem 1.25rem; border-top: 1px solid var(--site-border); }
.product-card__category { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--site-accent); margin-bottom: .3rem; }
.product-card h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.product-card__model { display: block; font-size: .875rem; color: var(--site-muted); margin-bottom: .75rem; overflow-wrap: anywhere; }
.product-card__specs { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-size: .875rem; padding-top: .75rem; border-top: 1px dashed var(--site-border); }
.product-card__specs span { color: var(--site-muted); }
.product-card__specs strong { color: var(--site-text); font-weight: 600; }

.product-hero { border-bottom: 1px solid var(--site-border); }
.product-hero .ratio-photo { aspect-ratio: 4 / 3; border: 1px solid var(--site-border); }
.product-gallery__main { display: block; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-top: .5rem; }
.product-gallery__thumbs .ratio-photo { aspect-ratio: 1 / 1; }
.product-gallery__thumbs .ratio-photo img { padding: 6%; }
@media (max-width: 575.98px) { .product-gallery__thumbs { grid-template-columns: repeat(4, 1fr); } }
.product-hero h1 { font-size: clamp(2rem, 3.5vw, 2.75rem); margin-bottom: .25rem; }
.product-hero__model { font-size: 1.125rem; color: var(--site-muted); margin-bottom: 1.5rem; }
.spec-sheet { margin: 1.5rem 0; }
.spec-sheet dd { font-weight: 600; }
.product-hero__pdf { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--site-border); border-radius: var(--site-radius-lg); color: inherit; margin-top: 1rem; }
.product-hero__pdf:hover { color: inherit; text-decoration: none; border-color: var(--site-dark); }
.product-hero__pdf .bi-file-earmark-pdf { font-size: 1.75rem; color: var(--site-accent); }
.product-hero__pdf small { display: block; color: var(--site-muted); }
.product-hero__pdf strong { display: block; }

.service-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.service-list li + li { border-top: 1px solid var(--site-border); }
.service-list a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 0;
    color: inherit;
}
.service-list a:hover { text-decoration: none; }
.service-list a:hover strong { color: var(--site-accent); }
.service-list .bi { font-size: 1.6rem; color: var(--site-accent); }
.service-list strong { display: block; font-family: var(--site-font-heading); font-weight: 500; font-size: 1.25rem; transition: color .2s ease; }
.service-list p { margin: 0; color: var(--site-muted); font-size: .9375rem; }
.service-list .bi-arrow-right { font-size: 1.1rem; color: var(--site-muted); }

.video-thumb { position: relative; display: block; color: #fff; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background-color: rgba(0, 0, 0, .25); transition: background-color .2s ease; }
.video-thumb:hover::after { background-color: rgba(0, 0, 0, .4); }
.video-thumb__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 76px; height: 76px;
    display: flex; align-items: center; justify-content: center;
    background-color: var(--site-accent);
    color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    padding-left: .35rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}
.video-modal .modal-content { background-color: #000; border: 0; }
.video-modal .ratio { background-color: #000; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .75rem; padding: .6rem 0; border-top: 1px solid var(--site-border); }
.check-list li:last-child { border-bottom: 1px solid var(--site-border); }
.check-list .bi { color: var(--site-accent); flex-shrink: 0; }

@media (max-width: 767.98px) {
    .category-card__body { padding: 1rem 1.1rem 1.25rem; }
    .category-card h3 { font-size: 1.2rem; }
    .service-list a { gap: 1rem; }
    .video-thumb__play { width: 60px; height: 60px; font-size: 1.5rem; }
}

@media (max-width: 767.98px) {
    :root { --site-header-height: 72px; }
    .site-header .navbar > .container { min-height: 68px; }
    .site-header .navbar-brand img { height: 40px; }
    h1 { font-size: 2rem; }
    h2, .section-title h2 { font-size: 1.625rem; }
    .section-title { margin-bottom: 1.75rem; }
    .lead-text { font-size: 1rem; }
    .about-stats { gap: 1.5rem; }
    .about-stats strong { font-size: 1.5rem; }
    .service-card__body { padding: 1.25rem; }
    .testimonial { padding: 1.5rem; }
    .band { padding: 3.5rem 0; }
    .band__stat strong { font-size: 2.125rem; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-search { max-width: none; }
    .page-header { padding: 2.25rem 0; }
    .site-footer { padding-top: 3rem; }
    .site-footer .row { --bs-gutter-y: 2rem; }
    .site-footer .footer-bottom { margin-top: 2.5rem; padding-bottom: 4.5rem; text-align: center; }
}
