/*!
 * Local lightweight UI helpers replacing the Bootstrap and Font Awesome CDN
 * surface used by this static site.
 */
:root {
    --bs-primary: #dc3545;
    --bs-secondary: #343a40;
    --bs-success: #128C7E;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 12px;
    padding-left: 12px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

.row > * {
    width: 100%;
    max-width: 100%;
    padding-right: 12px;
    padding-left: 12px;
}

.g-4 {
    margin-right: -12px;
    margin-left: -12px;
    row-gap: 24px;
}

.g-4 > * {
    padding-right: 12px;
    padding-left: 12px;
}

.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.text-center { text-align: center; }
.text-white { color: #fff !important; }
.text-primary { color: var(--bs-primary) !important; }
.text-muted { color: #6c757d !important; }
.text-lg-end, .text-md-end { text-align: inherit; }
.fw-bold { font-weight: 700; }
.lead { font-size: 1.25rem; font-weight: 300; }
.display-4 { font-size: 2.5rem; font-weight: 700; }
.small { font-size: .875rem; }
.h4 { font-size: 1.5rem; }
.h5 { font-size: 1.25rem; }
.h6 { font-size: 1rem; }

.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.p-4 { padding: 1.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.me-1 { margin-right: .25rem !important; }
.me-2 { margin-right: .5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-2 { margin-left: .5rem !important; }
.ms-auto { margin-left: auto !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }

.bg-light { background-color: var(--bs-light) !important; }
.bg-dark { background-color: var(--bs-dark) !important; }
.bg-primary { background-color: var(--bs-primary) !important; }
.bg-secondary { background-color: var(--bs-secondary) !important; }
.bg-success { background-color: var(--bs-success) !important; }
.bg-danger { background-color: #dc3545 !important; }

.border { border: 1px solid #dee2e6 !important; }
.border-0 { border: 0 !important; }
.rounded { border-radius: .375rem !important; }
.shadow { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important; }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important; }
.h-100 { height: 100% !important; }
.w-100 { width: 100% !important; }

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: .375rem;
}

.list-group-item {
    position: relative;
    display: block;
    padding: .75rem 1rem;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: #212529;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .375rem;
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem;
}

.card-header {
    padding: .75rem 1rem;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.card-title { margin-bottom: .5rem; }
.card-text:last-child { margin-bottom: 0; }

.alert {
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .375rem;
}

.alert-info { color: #055160; background-color: #cff4fc; }
.alert-warning { color: #664d03; background-color: #fff3cd; }

.btn {
    display: inline-block;
    font-weight: 600;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: .375rem;
    padding: .75rem 1rem;
    transition: all .2s ease-in-out;
}

.btn-lg {
    padding: .75rem 1.25rem;
    font-size: 1.125rem;
    border-radius: .5rem;
}

.btn-sm {
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: .25rem;
}

.btn-primary { color: #fff; background-color: var(--bs-primary); border-color: var(--bs-primary); }
.btn-success { color: #fff; background-color: var(--bs-success); border-color: var(--bs-success); }
.btn-light { color: #000; background-color: #f8f9fa; border-color: #f8f9fa; }
.btn-danger { color: #fff; background-color: #dc3545; border-color: #dc3545; }
.btn-outline-primary { color: var(--bs-primary); border-color: var(--bs-primary); background: transparent; }
.btn-outline-primary:hover { color: #fff; background-color: var(--bs-primary); }

.d-grid { display: grid !important; }
.gap-2 { gap: .5rem !important; }

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar > .container {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    margin-right: 1rem;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-link {
    display: block;
    text-decoration: none;
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
    display: none;
}

.navbar-collapse.show {
    display: block;
}

.navbar-toggler {
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    color: rgba(255,255,255,.85);
    background-color: transparent;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: .375rem;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);
    background-repeat: no-repeat;
    background-position: center 35%, center 50%, center 65%;
    background-size: 1.2em 2px;
}

.dropdown { position: relative; }
.dropdown-toggle::after { content: "▾"; margin-left: .35rem; font-size: .75em; }
.dropdown-menu {
    display: none;
    position: static;
    z-index: 1000;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    color: #212529;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .375rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.dropdown-menu.show { display: block; }
.dropdown:hover > .dropdown-menu { display: block; }
.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1rem;
    clear: both;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-item:hover,
.dropdown-item.active {
    color: #fff;
    background-color: var(--bs-primary);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 1rem;
    list-style: none;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding-right: .5rem;
    padding-left: .5rem;
    color: #6c757d;
}

.breadcrumb a { color: inherit; }

.accordion-item {
    color: #212529;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    cursor: pointer;
}

.accordion-button::after {
    flex-shrink: 0;
    margin-left: auto;
    content: "−";
}

.accordion-button.collapsed::after {
    content: "+";
}

.accordion-collapse {
    display: none;
}

.accordion-collapse.show {
    display: block;
}

.accordion-body {
    padding: 1rem 1.25rem;
}

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.form-control,
.form-select {
    display: block;
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
}

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: 1px solid;
    opacity: .25;
}

.fas,
.fab {
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}

.fa-phone-alt::before { content: "☎"; }
.fa-whatsapp::before { content: "✆"; }
.fa-map-marker-alt::before { content: "⌖"; }
.fa-road::before { content: "▰"; }
.fa-tools::before { content: "⚒"; }
.fa-clock::before { content: "◷"; }
.fa-tire::before { content: "◎"; }
.fa-location-arrow::before { content: "➤"; }
.fa-chevron-up::before { content: "⌃"; }
.fa-info-circle::before { content: "i"; }
.fa-exclamation-triangle::before { content: "⚠"; }
.fa-truck-pickup::before,
.fa-truck-moving::before { content: "▣"; }
.fa-home::before { content: "⌂"; }
.fa-highway::before { content: "═"; }
.fa-industry::before { content: "▥"; }
.fa-quote-left::before { content: "“"; }
.fa-quote-right::before { content: "”"; }
.fa-user-tie::before { content: "●"; }
.fa-bolt::before { content: "⚡"; }

.fa-3x { font-size: 3em; }

@media (min-width: 576px) {
    .col-sm-6 { flex: 0 0 auto; width: 50%; }
}

@media (min-width: 768px) {
    .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .text-md-end { text-align: right !important; }
}

@media (min-width: 992px) {
    .navbar-expand-lg {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .navbar-expand-lg .navbar-toggler { display: none; }
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
        align-items: center;
    }
    .navbar-expand-lg .dropdown-menu {
        position: absolute;
    }
    .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-lg-6 { flex: 0 0 auto; width: 50%; }
    .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
    .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
    .col-lg-12 { flex: 0 0 auto; width: 100%; }
    .text-lg-end { text-align: right !important; }
}
