/* ── XTOOLS — Bootstrap 5 Light Theme ── */
:root {
    --xt-green:      #22c55e;
    --xt-green-dark: #16a34a;
    --xt-blue:       #2563eb;
    --xt-blue-dark:  #1d4ed8;
    --xt-black:      #000;
    --xt-ink:        #1e293b;
    --xt-muted:      #64748b;
    --xt-light:      #f8fafc;
    --xt-border:     #e2e8f0;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--xt-ink);
    background-color: #fff;
}

/* ── Brand color overrides (Bootstrap 5 CSS vars) ── */
.btn-success {
    --bs-btn-bg:            var(--xt-green);
    --bs-btn-border-color:  var(--xt-green);
    --bs-btn-color:         #000;
    --bs-btn-hover-bg:      var(--xt-green-dark);
    --bs-btn-hover-border-color: var(--xt-green-dark);
    --bs-btn-hover-color:   #000;
    --bs-btn-active-bg:     var(--xt-green-dark);
    font-weight: 600;
}
.btn-outline-success {
    --bs-btn-color:         var(--xt-green-dark);
    --bs-btn-border-color:  var(--xt-green);
    --bs-btn-hover-bg:      var(--xt-green);
    --bs-btn-hover-border-color: var(--xt-green);
    --bs-btn-hover-color:   #000;
    font-weight: 600;
}
.btn-dark {
    --bs-btn-bg:            var(--xt-black);
    --bs-btn-border-color:  var(--xt-black);
    --bs-btn-hover-bg:      #1a1a1a;
    --bs-btn-hover-border-color: #1a1a1a;
    font-weight: 600;
}
.btn-outline-dark {
    --bs-btn-color:         var(--xt-black);
    --bs-btn-border-color:  var(--xt-black);
    --bs-btn-hover-bg:      var(--xt-black);
    --bs-btn-hover-border-color: var(--xt-black);
    font-weight: 600;
}
.text-success  { color: var(--xt-green) !important; }
.bg-success    { background-color: var(--xt-green) !important; }
.border-success{ border-color: var(--xt-green) !important; }
.badge.bg-success { color: #000; }

/* ── Navbar ── */
.navbar-dark.bg-black {
    background-color: var(--xt-black) !important;
}
/* Subtle green hairline under the sticky navbar */
.navbar.sticky-top {
    border-bottom: 1px solid rgba(34, 197, 94, .18);
}
.navbar .navbar-nav .nav-link {
    font-weight: 500;
    font-size: .9rem;
    padding-left: .75rem !important;
    padding-right: .75rem !important;
    transition: color .15s;
}
.navbar-dark .navbar-nav .nav-link:hover { color: var(--xt-green) !important; }

/* ── Mega-menu (RENTALS) ── */
/* Desktop: make the dropdown span the full navbar width */
@media (min-width: 992px) {
    .xt-mega-item {
        position: static !important;
    }
    .xt-mega-menu {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: unset !important;
        margin-top: 0 !important;
        border-radius: 0 0 .5rem .5rem !important;
        border-top: 2px solid var(--xt-green) !important;
    }
    .xt-mega-col + .xt-mega-col {
        border-left: 1px solid #e2e8f0;
    }
}

/* Mobile: inline within the collapsed nav (no floating panel) */
@media (max-width: 991.98px) {
    .xt-mega-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid rgba(255,255,255,.1) !important;
        background: rgba(255,255,255,.04) !important;
        border-radius: 0 !important;
        padding-bottom: .5rem !important;
    }
}

.xt-mega-parent-link {
    color: var(--xt-ink) !important;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    transition: color .15s;
}
.xt-mega-parent-link:hover { color: var(--xt-green-dark) !important; }

.xt-mega-child-link {
    color: var(--xt-muted) !important;
    text-decoration: none;
    font-size: .82rem;
    display: block;
    padding: .22rem 0;
    transition: color .15s;
}
.xt-mega-child-link:hover { color: var(--xt-black) !important; }

.xt-mega-all-link {
    color: var(--xt-green);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 600;
    display: block;
    padding: .3rem 0 0;
    transition: opacity .15s;
}
.xt-mega-all-link:hover { opacity: .8; }

.xt-mega-chevron {
    background: none;
    border: none;
    padding: .15rem .3rem;
    color: rgba(255,255,255,.45);
    line-height: 1;
    transition: transform .2s, color .15s;
}
.xt-mega-chevron[aria-expanded="true"] { transform: rotate(180deg); color: var(--xt-green); }
.xt-mega-chevron:hover { color: #fff; }

/* ── Hero ── */
.hero-section {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 90px 0 80px;
}
.hero-section .hero-title {
    color: #0f172a !important;
}
.hero-section p, 
.hero-section .text-white-50 {
    color: #475569 !important;
}
.hero-section a.text-white-50 {
    color: #64748b !important;
}
.hero-section a.text-white-50:hover {
    color: var(--xt-green-dark) !important;
}
.hero-section .text-white {
    color: #0f172a !important;
}
.hero-section .btn-outline-light {
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}
.hero-section .btn-outline-light:hover {
    background: #f1f5f9 !important;
}

/* Home page hero — light theme, photo-style background.
   Drop a real job-site photo at assets/img/hero-equipment.jpg (or .svg/.webp)
   and update the url() below — the light gradient stays as a legibility overlay. */
.home-hero {
    position: relative;
    padding: 80px 0 80px;
    background-color: var(--xt-light);
    border-bottom: 1px solid var(--xt-border);
}
.home-hero .hero-title { color: var(--xt-black); }

/* Homepage hero with uploaded background photo */
.home-hero.has-hero-bg {
    background-size: cover;
    background-position: center;
    background-color: #111;
    border-bottom: none;
}
.home-hero.has-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.52);
    z-index: 0;
}
.home-hero.has-hero-bg > .container { position: relative; z-index: 1; }
.home-hero.has-hero-bg .hero-title  { color: #fff; }
.home-hero.has-hero-bg .hero-badge  { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }
.home-hero.has-hero-bg p.text-muted { color: rgba(255,255,255,.78) !important; }

/* Hero image grid (right column) */
.hero-img-grid {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.hero-img-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}
.hero-machine-img {
    display: block;
    width: 100%;
    border-radius: .75rem;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    transition: transform .25s, box-shadow .25s;
}
.hero-machine-img:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0,0,0,.15);
}
.hero-machine-img--main { height: 280px; }
.hero-machine-img--sm   { height: 160px; }
.hero-machine-img--full { height: 440px; }

.hero-img-placeholder {
    height: 420px;
    background: var(--xt-border);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: var(--xt-muted);
}
.hero-badge {
    display: inline-block;
    background: rgba(34,197,94,.15);
    color: var(--xt-green);
    border: 1px solid rgba(34,197,94,.3);
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: .3rem .9rem;
    margin-bottom: 1.25rem;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.02em;
    color: #fff;
}
.hero-title .text-success { color: var(--xt-green) !important; }

/* ── Trust bar ── */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid var(--xt-border);
}
.trust-item {
    font-size: .8rem;
    font-weight: 600;
    color: var(--xt-muted);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.trust-item i { color: var(--xt-green); font-size: .95rem; }

/* ── Section label ── */
.section-eyebrow {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--xt-green-dark);
    background: #dcfce7;
    border-radius: 50px;
    padding: .25rem .85rem;
    margin-bottom: .75rem;
}

/* ── Product card ── */
.product-card {
    border: 1px solid var(--xt-border);
    border-radius: .75rem;
    overflow: hidden;
    background: #fff;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.1);
}
.product-card .card-img-top {
    height: 280px;
    object-fit: contain;
    background: var(--xt-light);
    padding: .75rem;
}
.card-img-placeholder {
    height: 280px;
    background: var(--xt-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 3rem;
}
.product-photo {
    height: 380px;
    background: var(--xt-light);
    border: 1px solid var(--xt-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.product-card .card-body { padding: 1.1rem 1.25rem; }
.product-card .eyebrow {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--xt-green-dark);
    margin-bottom: .25rem;
}
.product-card .card-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--xt-ink);
    line-height: 1.3;
    margin-bottom: .4rem;
}
.product-card .card-text {
    font-size: .82rem;
    color: var(--xt-muted);
    line-height: 1.5;
}
.price-block { font-size: 1rem; font-weight: 700; color: var(--xt-green-dark); }
.price-block .period { font-size: .75rem; font-weight: 500; color: var(--xt-muted); }
/* Category number badge — top-left of product card when browsing a subcategory */
.cat-num-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--xt-green);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: .2rem .55rem;
    border-radius: 4px;
    z-index: 3;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(34,197,94,.35);
}

.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--xt-black);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .25rem .6rem;
    border-radius: 4px;
    z-index: 2;
}
/* Push featured-badge right when cat-num-badge is also shown */
.cat-num-badge + .featured-badge {
    left: auto;
    right: 10px;
}

/* ── Home category card (full-image glass overlay) ── */
/* ── Home category card — 1:1 cover image + clean body ── */
.home-cat-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: var(--xt-ink);
    height: 100%;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    transition: border-color .25s, box-shadow .25s, transform .22s;
}
.home-cat-card:hover {
    border-color: var(--xt-green-dark);
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--xt-ink);
}
/* 1:1 square image */
.home-cat-card-img {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--xt-light);
}
.home-cat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .38s ease;
}
.home-cat-card:hover .home-cat-card-img img { transform: scale(1.06); }
/* Fallback when no image */
.home-cat-card-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--xt-green-dark);
}
/* Body */
.home-cat-card-body {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .4rem;
    border-top: 1px solid #f1f5f9;
}
.home-cat-card-title {
    font-size: 0.95rem;
    font-weight: 750;
    color: var(--xt-ink);
    margin: 0;
    line-height: 1.3;
    flex: 1;
    text-transform: uppercase;
}
.home-cat-card-arrow {
    flex-shrink: 0;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--xt-green);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    transition: background .2s, transform .2s;
}
.home-cat-card:hover .home-cat-card-arrow {
    background: var(--xt-green-dark);
    color: #fff;
    transform: translateX(2px);
}

/* ── Category card ── */
.category-card {
    display: block;
    text-align: center;
    padding: 1.5rem 1rem;
    border: 1px solid var(--xt-border);
    border-radius: .75rem;
    background: #fff;
    text-decoration: none;
    color: var(--xt-ink);
    transition: all .2s ease;
}
.category-card:hover {
    border-color: var(--xt-green);
    background: #f0fdf4;
    color: var(--xt-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34,197,94,.12);
}
.category-card i {
    font-size: 1.8rem;
    color: var(--xt-green);
    display: block;
    margin-bottom: .6rem;
}
.category-card .cat-name {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.category-card .cat-cta {
    display: block;
    margin-top: .4rem;
    font-size: .7rem;
    font-weight: 600;
    color: var(--xt-green-dark);
}
.category-card .cat-cta i {
    font-size: .65rem;
    display: inline;
    margin-bottom: 0;
    color: inherit;
}

/* ── Why / feature cards ── */
.feature-card {
    padding: 1.75rem;
    border: 1px solid var(--xt-border);
    border-radius: .75rem;
    background: #fff;
    height: 100%;
    position: relative;
    transition: box-shadow .2s, border-color .2s;
}
.feature-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.07);
    border-color: var(--xt-green);
}
.feature-icon {
    width: 52px;
    height: 52px;
    background: #f0fdf4;
    border-radius: .6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--xt-green-dark);
    margin-bottom: 1.1rem;
}

/* ── Stat counter ── */
.stat-box {
    text-align: center;
    padding: 1.5rem 1rem;
    border: 1px solid var(--xt-border);
    border-radius: .75rem;
    background: #fff;
}
.stat-box .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--xt-green-dark);
    line-height: 1;
}
.stat-box .stat-label {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--xt-muted);
    margin-top: .35rem;
}

/* ── CTA strip ── */
.cta-strip {
    background: #f0fdf4;
    border-top: 1px solid #bbf7d0;
    border-bottom: 1px solid #bbf7d0;
    padding: 4rem 0;
}
.cta-strip h2 {
    color: #0f172a !important;
}
.cta-strip p.text-white-50 {
    color: #475569 !important;
}
.cta-strip .btn-outline-light {
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}
.cta-strip .btn-outline-light:hover {
    background: #f1f5f9 !important;
}

/* ── Forms ── */
.form-control, .form-select {
    border-color: var(--xt-border);
    border-radius: .5rem;
    font-size: .9rem;
    color: var(--xt-ink);
}
.form-control:focus, .form-select:focus {
    border-color: var(--xt-green);
    box-shadow: 0 0 0 .2rem rgba(34,197,94,.2);
}
.form-label {
    font-weight: 600;
    font-size: .85rem;
    color: var(--xt-ink);
}

/* ── Badges ── */
.badge { font-weight: 600; font-size: .7rem; letter-spacing: .03em; }
.badge.bg-success { color: #000; background-color: var(--xt-green) !important; }

/* ── Sidebar filter panel ── */
.filter-panel {
    border: 1px solid var(--xt-border);
    border-radius: .75rem;
    overflow: hidden;
    background: #fff;
}
.filter-panel .filter-header {
    background: var(--xt-light);
    border-bottom: 1px solid var(--xt-border);
    padding: .65rem 1rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--xt-muted);
}
.filter-panel .filter-body { padding: .85rem 1rem; }
.filter-panel label {
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--xt-ink);
}
.filter-panel input[type=radio],
.filter-panel input[type=checkbox] { accent-color: var(--xt-green); }

/* ── Detail page boxes ── */
.info-box {
    border: 1px solid var(--xt-border);
    border-radius: .75rem;
    overflow: hidden;
    background: #fff;
}
.info-box .info-header {
    background: var(--xt-light);
    border-bottom: 1px solid var(--xt-border);
    padding: .65rem 1.25rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--xt-muted);
}
.info-box .info-body { padding: 1.1rem 1.25rem; }

/* ── Contact info items ── */
.contact-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--xt-border);
    text-decoration: none;
    color: var(--xt-ink);
    transition: background .15s;
}
.contact-item:last-child { border-bottom: none; }
.contact-item:hover { background: var(--xt-light); color: var(--xt-green-dark); }
.contact-icon {
    width: 40px;
    height: 40px;
    background: #f0fdf4;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--xt-green-dark);
    flex-shrink: 0;
}

/* ── Service area ── */
.area-map {
    background: var(--xt-light);
    border: 1px solid var(--xt-border);
    border-radius: .75rem;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--xt-muted);
}

/* ── Footer ── */
.site-footer {
    background-color: #f8fafc;
    color: #475569;
    padding-top: 3.5rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid #cbd5e1;
}
.site-footer a:not(.btn) { color: #475569; text-decoration: none; transition: color .15s; }
.site-footer a:not(.btn):hover { color: var(--xt-green-dark); }
.site-footer .footer-heading {
    color: #0f172a;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1rem;
}
.site-footer .footer-brand {
    font-size: 1.6rem;
    font-weight: 850;
    line-height: 1;
    margin-bottom: .5rem;
    display: inline-block;
}
.site-footer .footer-brand .x   { color: var(--xt-green); }
.site-footer .footer-brand .tools { color: #0f172a; }
.footer-divider { border-color: #e2e8f0; }
.footer-social a {
    width: 36px;
    height: 36px;
    background: #e2e8f0;
    border-radius: .4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 1rem;
    transition: background .15s, color .15s;
}
.footer-social a:hover { background: var(--xt-green); color: #000; }

/* ── Language switcher (navbar) ── */
.lang-switcher .lang-link { transition: color .15s; }
.lang-switcher .lang-link:hover { color: var(--xt-green) !important; }

/* ── How it works steps ── */
.step-card { text-align: center; padding: 0 .5rem; }
.step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto .9rem;
    border-radius: 50%;
    background: var(--xt-black);
    color: var(--xt-green);
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.step-card p { font-size: .88rem; color: var(--xt-muted); line-height: 1.6; margin-bottom: 0; }

/* ── Notice / "by request" box (used equipment, secondary CTAs) ── */
.notice-box {
    border: 1px dashed var(--xt-border);
    border-radius: .75rem;
    background: var(--xt-light);
    padding: 1.25rem 1.5rem;
}

/* ── Simple checklist (used vs. rent fit lists) ── */
.fit-list { list-style: none; padding-left: 0; margin-bottom: 0; }
.fit-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .9rem;
    color: var(--xt-ink);
    line-height: 1.55;
    margin-bottom: .6rem;
}
.fit-list li:last-child { margin-bottom: 0; }
.fit-list li i { color: var(--xt-green-dark); margin-top: .2rem; flex-shrink: 0; }

/* ── Welcome modal / mobile bottom sheet ── */
.welcome-modal .modal-content {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
}
.welcome-modal .btn-link { color: var(--xt-ink); }
.welcome-modal .btn-link:hover { color: var(--xt-green-dark); }
.welcome-modal-brand span { letter-spacing: -.02em; }

/* Flag-based language picker */
.welcome-lang-flag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--xt-light);
    border: 1.5px solid var(--xt-border);
    border-radius: 50px;
    padding: .35rem .8rem .35rem .55rem;
    text-decoration: none;
    color: var(--xt-ink);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
    transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}
.welcome-lang-flag-icon {
    display: inline-flex;
    width: 24px;
    height: 17px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(15,23,42,.1);
}
.welcome-lang-flag-icon svg { width: 100%; height: 100%; display: block; }
.welcome-lang-flag:hover {
    transform: translateY(-2px);
    border-color: var(--xt-green);
    color: var(--xt-ink);
}
.welcome-lang-flag.active {
    background: #f0fdf4;
    border-color: var(--xt-green);
    color: var(--xt-green-dark);
}

@media (max-width: 767.98px) {
    .welcome-modal .modal-dialog {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        max-width: 100%;
        min-height: 0;
        transform: translateY(100%);
        transition: transform .3s ease-out;
    }
    .welcome-modal.show .modal-dialog {
        transform: translateY(0);
    }
    .welcome-modal .modal-content {
        border-radius: 1.25rem 1.25rem 0 0;
    }
}

/* ── Admin (light content area, dark sidebar for contrast/branding) ── */
.admin-wrapper { display: flex; min-height: 100vh; background: #f8fafc; }
.admin-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #000;
    border-right: 1px solid #111;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}
.admin-sidebar .nav-link {
    color: #94a3b8;
    font-size: .82rem;
    font-weight: 500;
    border-radius: .4rem;
    padding: .38rem .6rem;
    margin-bottom: .05rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    white-space: nowrap;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active { background: #141414; color: #fff; }
.admin-sidebar .nav-link.active { color: var(--xt-green); }
.admin-sidebar .nav-link i { width: 1.2rem; flex-shrink: 0; text-align: center; }

/* Section captions keep a long menu readable without extra dividers. */
.admin-sidebar .nav-section {
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #475569;
    padding: .1rem .6rem;
    margin: .7rem 0 .25rem;
}

/* ── Collapsed rail ───────────────────────────────────────────────────────
   Width and label visibility are the only things that change, so the markup
   stays one list and nothing needs duplicating for the narrow state. */
.admin-sidebar-toggle {
    background: transparent;
    border: 1px solid #1e293b;
    color: #64748b;
    border-radius: .4rem;
    padding: .25rem .5rem;
    line-height: 1;
    cursor: pointer;
    transition: color .12s, border-color .12s;
}
.admin-sidebar-toggle:hover { color: var(--xt-green); border-color: var(--xt-green); }

.xt-sidebar-collapsed .admin-sidebar { width: 62px; padding: 1.25rem .5rem; }
.xt-sidebar-collapsed .admin-sidebar .nav-link { justify-content: center; padding: .45rem 0; gap: 0; }
.xt-sidebar-collapsed .admin-sidebar .nav-link span,
.xt-sidebar-collapsed .admin-sidebar .nav-section,
.xt-sidebar-collapsed .admin-sidebar .collapse-hide { display: none; }
.xt-sidebar-collapsed .admin-sidebar .brand-mark { text-align: center; }

@media (max-width: 767px) {
    .admin-sidebar { width: 62px; padding: 1.25rem .5rem; }
    .admin-sidebar .nav-link { justify-content: center; padding: .45rem 0; gap: 0; }
    .admin-sidebar .nav-link span,
    .admin-sidebar .nav-section,
    .admin-sidebar .collapse-hide { display: none; }
    .admin-sidebar-toggle { display: none; }
    .admin-main { padding: 1rem; }
}

.admin-main { flex: 1; padding: 2rem; overflow: auto; background: #f8fafc; color: #1e293b; }
.admin-main .text-white,
.admin-main .text-white-50 { color: var(--xt-ink) !important; }
.admin-main .text-secondary{ color: #64748b !important; }
.admin-main .text-muted    { color: #94a3b8 !important; }
.admin-main hr,
.admin-main .border-top,
.admin-main .border-bottom { border-color: #e2e8f0 !important; }
.admin-main table thead tr { color: #64748b !important; }

.admin-card, .detail-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}
.admin-stat { font-size: 2.4rem; font-weight: 800; color: var(--xt-green-dark); line-height: 1; }
.admin-stat-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; }
.table-admin { --bs-table-bg: #ffffff; --bs-table-border-color: #e2e8f0; color: #1e293b; }
.admin-form-control {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    border-radius: .5rem;
}
.admin-form-control:focus {
    background: #ffffff;
    border-color: var(--xt-green);
    box-shadow: 0 0 0 .2rem rgba(34,197,94,.15);
    color: var(--xt-black);
}
.admin-form-control::placeholder { color: #94a3b8; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-section { padding: 60px 0 50px; }
    .home-hero { padding: 60px 0 50px; }
    .hero-title { font-size: 2rem; }
    .cta-strip { padding: 2.5rem 0; }
}

/* ── Floating contact widget ── */
/* ── Quote bottom bar ── */
.xt-quote-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1045;
    background: var(--xt-green-dark);
    color: #fff;
    padding: .9rem 1.25rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,.18);
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.xt-quote-bar.is-visible {
    transform: translateY(0);
}
.xt-quote-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.xt-quote-bar-label {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 600;
    font-size: .92rem;
}
.xt-quote-bar-count-pill {
    background: rgba(255,255,255,.25);
    border-radius: 50px;
    padding: .1rem .55rem;
    font-size: .8rem;
    font-weight: 700;
    min-width: 1.4em;
    text-align: center;
}

/* Lift float widget above bar when bar is visible */
.has-quote-bar .xt-float-cta {
    bottom: calc(1.5rem + 60px);
    transition: bottom .3s cubic-bezier(.4,0,.2,1);
}

.xt-float-cta {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
    transition: bottom .3s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .6rem;
}

.xt-float-main {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: var(--xt-green);
    border: none;
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(34,197,94,.45);
    cursor: pointer;
    transition: background .2s, transform .2s;
    flex-shrink: 0;
}
.xt-float-main:hover { background: #16a34a; transform: scale(1.07); }

.xt-float-close-icon { display: none; }
.xt-float-cta.is-open .xt-float-open-icon { display: none; }
.xt-float-cta.is-open .xt-float-close-icon { display: inline; }

.xt-float-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(.75rem);
    transition: opacity .2s, transform .2s;
}
.xt-float-cta.is-open .xt-float-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.xt-float-btn {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .9rem .5rem .7rem;
    border-radius: 2rem;
    color: #fff;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
    transition: transform .15s, opacity .15s;
    white-space: nowrap;
}
.xt-float-btn:hover { transform: scale(1.04); color: #fff; }
.xt-float-btn i { font-size: 1.1rem; flex-shrink: 0; }

.xt-float-whatsapp { background: #25d366; }
.xt-float-call     { background: #3b82f6; }
.xt-float-sms      { background: #64748b; }

/* ── XNav page transitions ── */
#xt-page { transition: opacity .12s ease; }
#xt-page.xt-nav-out { opacity: 0; pointer-events: none; }
#xt-page.xt-nav-in  { animation: xtnav-in .25s ease; }
@keyframes xtnav-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── v2: Mini hero (legacy — kept for reference) ── */
.xt-mini-hero { background: #fff; }

/* ── v2: Hero carousel ── */
.xt-hero-carousel { position: relative; overflow: hidden; background: #f8fafc; border-bottom: 1px solid #cbd5e1; }
.xt-hero-carousel-img {
    width: 100%;
    /* Mobile: natural height by default; --xt-h-m is set per-slide when the admin overrides */
    height: var(--xt-h-m, auto);
    object-fit: cover;
    object-position: center;
    display: block;
}
.xt-hero-carousel-img--contain {
    object-fit: contain;
    background: #f8fafc;
}
.xt-hero-carousel-caption {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.94);
    border-left: 5px solid var(--xt-green);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    z-index: 5;
    width: auto;
    max-width: 600px;
    pointer-events: auto;
}
.xt-hero-carousel-title {
    color: #0f172a;
    font-size: 1.45rem;
    font-weight: 850;
    line-height: 1.25;
    margin: 0;
    text-shadow: none;
}
.xt-hero-carousel-fallback {
    background: var(--xt-light);
}
@media (min-width: 768px) {
    .xt-hero-carousel-img {
        /* Desktop: 380px by default; --xt-h-d overrides per-slide */
        height: var(--xt-h-d, 380px);
    }
    .xt-hero-carousel-title { font-size: 2rem; }
    .xt-hero-carousel-caption {
        bottom: 2.5rem;
        left: 2.5rem;
        right: 2.5rem;
        padding: 2rem 2.5rem;
    }
}
@media (max-width: 767.98px) {
    .xt-hero-carousel-caption {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        padding: 1rem 1.25rem;
        border-left-width: 4px;
    }
    .xt-hero-carousel-title {
        font-size: 1.15rem;
    }
}

/* ── v2: App-style homepage ── */
.xt-app-welcome { background: #fff; }

.xt-app-eyebrow {
    font-size: .75rem;
    font-weight: 600;
    color: var(--xt-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.xt-app-headline {
    font-size: clamp(1.7rem, 5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--xt-black);
    line-height: 1.15;
}

.xt-action-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.6rem 1rem;
    border-radius: 1rem;
    text-decoration: none;
    min-height: 148px;
    transition: transform .15s ease, box-shadow .15s ease;
    gap: .3rem;
}
.xt-action-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,.16);
    text-decoration: none;
}
.xt-action-tile--rent {
    background: var(--xt-green);
    color: #000;
}
.xt-action-tile--buy {
    background: var(--xt-blue);
    color: #fff;
}
.xt-action-tile--buy:hover {
    background: var(--xt-blue-dark);
    color: #fff;
}
.xt-action-tile-icon {
    font-size: 2.8rem;
    line-height: 1;
    margin-bottom: .3rem;
}

/* Stacked / mixed icon cluster */
.xt-tile-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .4rem;
}
.xt-tile-icon-main {
    font-size: 2.6rem;
    line-height: 1;
}
.xt-tile-icon-badge {
    position: absolute;
    bottom: -6px;
    right: -12px;
    font-size: 1rem;
    width: 1.7rem;
    height: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,.18);
    backdrop-filter: blur(2px);
}
.xt-action-tile--rent .xt-tile-icon-badge { background: rgba(0,0,0,.15); }
.xt-action-tile--buy  .xt-tile-icon-badge { background: rgba(255,255,255,.18); }
.xt-action-tile-label {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
}
.xt-action-tile-sub {
    font-size: .72rem;
    font-weight: 500;
    opacity: .65;
}

/* Wide (full-width) rent tile */
.xt-action-tile--wide {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    min-height: 72px;
    padding: 1.1rem 1.25rem;
}
.xt-action-tile--wide .xt-action-tile-icon { font-size: 1.7rem; margin-bottom: 0; }
.xt-action-tile--wide .xt-action-tile-label { font-size: 1.05rem; }
.xt-action-tile-arrow { font-size: 1.1rem; opacity: .6; }

/* New equipment tile */
.xt-action-tile--new {
    background: var(--xt-black);
    color: #fff;
}
/* Used equipment tile */
.xt-action-tile--used {
    background: #141414;
    color: #fff;
}

.xt-quick-row {
    display: flex;
    gap: .5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.xt-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1.1rem;
    border-radius: 50px;
    border: 1.5px solid var(--xt-border);
    background: #fff;
    color: var(--xt-ink);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 600;
    transition: border-color .15s, background .15s, color .15s;
}
.xt-quick-btn:hover {
    border-color: var(--xt-green);
    color: var(--xt-green-dark);
    background: #f0fdf4;
}
.xt-quick-btn--wa { border-color: #25d366; color: #16a34a; }
.xt-quick-btn--wa:hover { background: #f0fdf4; border-color: #16a34a; }

.xt-area-strip { background: #f8fafc; }

.xt-section-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--xt-muted);
}

.xt-cat-chip {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .75rem .85rem;
    border: 1.5px solid var(--xt-border);
    border-radius: .65rem;
    text-decoration: none;
    color: var(--xt-ink);
    background: #fff;
    font-size: .85rem;
    font-weight: 600;
    transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}
.xt-cat-chip:hover {
    border-color: var(--xt-green);
    background: #f0fdf4;
    color: var(--xt-green-dark);
    box-shadow: 0 4px 12px rgba(34,197,94,.12);
    text-decoration: none;
}
.xt-cat-chip-icon {
    width: 36px;
    height: 36px;
    background: #f0fdf4;
    border-radius: .45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--xt-green-dark);
    flex-shrink: 0;
    transition: background .15s, color .15s;
}
.xt-cat-chip:hover .xt-cat-chip-icon { background: var(--xt-green); color: #fff; }
.xt-cat-chip-name { flex: 1; line-height: 1.3; }
.xt-cat-chip-arrow { font-size: .7rem; color: var(--xt-muted); opacity: .4; flex-shrink: 0; }

/* Rental page category pills (no-filter header) */
.xt-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .85rem;
    border-radius: 50px;
    border: 1.5px solid var(--xt-border);
    background: #fff;
    color: var(--xt-ink);
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600;
    transition: border-color .15s, background .15s, color .15s;
}
.xt-cat-pill:hover {
    border-color: var(--xt-green);
    background: #f0fdf4;
    color: var(--xt-green-dark);
    text-decoration: none;
}
.xt-cat-pill i { font-size: .85rem; color: var(--xt-green-dark); }

/* ── v2: Fixed bottom nav (mobile) ── */
.xt-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1046;
    background: #fff;
    border-top: 1px solid var(--xt-border);
    box-shadow: 0 -2px 16px rgba(0,0,0,.1);
    display: flex;
    height: 60px;
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.xt-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--xt-muted);
    font-size: .58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    gap: .2rem;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    transition: color .15s;
}
.xt-bottom-nav-item:hover { color: var(--xt-green-dark); text-decoration: none; }
.xt-bottom-nav-item--primary { color: var(--xt-green-dark); }
.xt-bottom-nav-item--wa { color: #16a34a; }
.xt-bottom-nav-item i { font-size: 1.3rem; line-height: 1; }

@media (max-width: 991.98px) {
    body { padding-bottom: 60px; }
    .xt-float-cta  { display: none !important; }
    .xt-quote-bar  { display: none !important; }
}

/* ── Global Hard Rectangles (No border-radius on public site) ── */
body:not(.admin-body) *,
body:not(.admin-body) ::before,
body:not(.admin-body) ::after {
    border-radius: 0 !important;
}

/* ── Simplification UI: Static Blocky Hero ── */
.xt-simple-hero {
    background: linear-gradient(135deg, var(--xt-black) 0%, #0c1a10 100%);
    border-bottom: 2px solid var(--xt-green);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.xt-simple-hero-content {
    position: relative;
    z-index: 2;
}
.xt-simple-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.03em;
    text-transform: uppercase;
}
.xt-simple-hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 600px;
    line-height: 1.7;
}
.xt-hero-features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}
.xt-hero-features-list li {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--xt-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ── Blocky Collage Grid (Right Hero side) ── */
.xt-hero-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    position: relative;
}
.xt-hero-collage-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.15);
    background: #111;
    transition: border-color 0.25s, transform 0.25s;
}
.xt-hero-collage-img:hover {
    border-color: var(--xt-green);
    transform: translateY(-2px);
}
.xt-hero-collage-img--large {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}

/* ── Simple Process Step cards ── */
.xt-step-card {
    border: 1px solid var(--xt-border);
    background: #fff;
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.xt-step-card:hover {
    border-color: var(--xt-green);
    box-shadow: 0 8px 0 rgba(34, 197, 94, 0.05);
}
.xt-step-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(34, 197, 94, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}
.xt-step-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--xt-black);
    margin-bottom: 0.5rem;
}

/* ── Custom home section styling ── */
.xt-section-header {
    border-left: 4px solid var(--xt-green);
    padding-left: 1rem;
    margin-bottom: 2.5rem;
}

/* Quick contact badge bar */
.xt-quick-contact-bar {
    background: #f0fdf4;
    border-left: 4px solid var(--xt-green);
    padding: 1.5rem;
}
