/* Legacy Cranes — minimal overrides on Porto theme */

/* Brand gold palette (replaces Porto accounting green skin) */
:root {
    --primary: #C5A059;
    --primary-100: #B8924F;
    --primary-200: #AD8747;
    --primary-300: #A27C3F;
    --primary--100: #D0AD6B;
    --primary--200: #DBB87D;
    --primary--300: #E6C38F;
    --primary-rgba-0: rgba(197, 160, 89, 0);
    --primary-rgba-10: rgba(197, 160, 89, 0.1);
    --primary-rgba-20: rgba(197, 160, 89, 0.2);
    --primary-rgba-30: rgba(197, 160, 89, 0.3);
    --primary-rgba-40: rgba(197, 160, 89, 0.4);
    --primary-rgba-50: rgba(197, 160, 89, 0.5);
    --primary-rgba-60: rgba(197, 160, 89, 0.6);
    --primary-rgba-70: rgba(197, 160, 89, 0.7);
    --primary-rgba-80: rgba(197, 160, 89, 0.8);
    --primary-rgba-90: rgba(197, 160, 89, 0.9);
    --secondary: #8F7340;
    --secondary-100: #7D6538;
    --secondary-200: #735D33;
    --secondary-300: #69552E;
    --secondary--100: #9B804E;
    --secondary--200: #A78D5C;
    --secondary--300: #B39A6A;
    --secondary-rgba-0: rgba(143, 115, 64, 0);
    --secondary-rgba-10: rgba(143, 115, 64, 0.1);
    --secondary-rgba-20: rgba(143, 115, 64, 0.2);
    --secondary-rgba-30: rgba(143, 115, 64, 0.3);
    --secondary-rgba-40: rgba(143, 115, 64, 0.4);
    --secondary-rgba-50: rgba(143, 115, 64, 0.5);
    --secondary-rgba-60: rgba(143, 115, 64, 0.6);
    --secondary-rgba-70: rgba(143, 115, 64, 0.7);
    --secondary-rgba-80: rgba(143, 115, 64, 0.8);
    --secondary-rgba-90: rgba(143, 115, 64, 0.9);
    --primary-inverse: #FFF;
}

.lc-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-inline-end: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.lc-lang-switch a {
    color: inherit;
    text-decoration: none;
    opacity: 0.65;
}

.lc-lang-switch a.active,
.lc-lang-switch a:hover {
    opacity: 1;
    color: var(--primary);
}

.lc-lang-divider {
    opacity: 0.4;
}

.lc-logo-img {
    width: min(160px, calc(100vw - 4.5rem));
    max-width: 100%;
    height: auto;
    aspect-ratio: 556.89 / 337.88;
    object-fit: contain;
    image-rendering: auto;
}

@media (min-width: 768px) {
    .lc-logo-img {
        width: min(200px, calc(100vw - 6rem));
    }
}

@media (min-width: 992px) {
    .header-logo .lc-logo-img,
    .lc-footer .lc-logo-img {
        width: 250px;
    }
}

#offCanvasLogo .lc-logo-img {
    width: min(250px, 100%);
    height: auto;
    aspect-ratio: 556.89 / 337.88;
    object-fit: contain;
    image-rendering: auto;
}

.lc-header-inner {
    gap: 0.5rem;
}

.lc-header-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

#header .header-logo {
    margin: 0.25rem 0;
}

#header .header-nav {
    padding: 0;
    min-height: 0;
}

@media (min-width: 992px) {
    #header .header-nav-main nav > ul > li > a {
        padding: 0.4rem 0.55rem;
        font-size: 12px;
        letter-spacing: -0.3px;
    }

    #header .lc-lang-switch {
        margin-inline-end: 0.35rem;
        font-size: 0.8rem;
    }

    .lc-header-actions .btn-swap-1 {
        padding-inline: 0.65rem !important;
        font-size: 0.8rem;
    }
}

@media (min-width: 1200px) {
    #header .header-nav-main nav > ul > li > a {
        padding: 0.45rem 0.75rem;
        font-size: 13px;
    }
}

html[dir="rtl"] .header-nav-main .nav {
    padding-right: 0;
}

html[dir="rtl"] .feature-box-info {
    text-align: start;
}

html[dir="rtl"] .breadcrumb {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.vision-2030-logo {
    width: auto;
    height: auto;
    object-fit: contain;
}

.vision-2030-logo--default {
    max-height: 72px;
}

.vision-2030-logo--footer {
    max-height: 56px;
}

.lc-fleet-stat__value {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--dark);
    word-break: break-word;
}

.lc-fleet-stat__icon img {
    display: inline-block;
}

.lc-fleet-stat__desc {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}

.lc-favicon-icon {
    object-fit: contain;
}

.lc-safety-first-badge {
    text-align: start;
    background: #fff;
    padding: 0.65rem 1rem 0.75rem;
    border-radius: 0.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.lc-safety-first-badge__value {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--dark);
}

.lc-safety-first-badge__label {
    font-family: var(--font-tertiary, Georgia, serif);
    font-style: italic;
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--dark);
}

html[dir="rtl"] .lc-safety-first-badge.custom-el-1 {
    right: auto;
    left: 7%;
}

@media (max-width: 1200px) {
    html[dir="rtl"] .lc-safety-first-badge.custom-el-1 {
        left: 0;
    }
}

.lc-who-image {
    max-width: 100%;
    object-fit: contain;
}

.lc-services-intro-media {
    display: flex;
    width: 94%;
    min-height: 250px;
    align-self: center;
}

#intro.lc-services-intro {
    --bs-gutter-x: 1.5rem;
}

.lc-services-intro-col {
    padding-inline-start: 0;
}

.lc-services-intro-text-col {
    min-width: 0;
}

.lc-services-intro-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 992px) {
    #intro.lc-services-intro {
        padding-inline-start: 0.75rem;
    }

    .lc-services-intro-media {
        height: 88%;
        max-height: 480px;
        margin-inline-start: calc(var(--bs-gutter-x) * -0.5);
        width: calc(94% + var(--bs-gutter-x) * 0.25);
    }

    .lc-services-intro-image {
        height: 100%;
    }
}

/* Footer — 3-zone dark layout with gold accents */
.lc-footer {
    border-top: 3px solid var(--primary);
}

.lc-footer-top {
    background-color: #15201b;
    padding-top: 0.5rem;
}

.lc-footer-main {
    background-color: #1f2f28;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.lc-footer-bottom {
    background-color: #111111;
    border-top: 1px solid var(--primary-rgba-20);
    padding-top: 1rem;
}

.lc-footer .text-color-dark {
    color: var(--light) !important;
}

.lc-footer a.text-color-grey {
    color: rgba(255, 255, 255, 0.65);
}

.lc-footer .social-icons-clean a {
    background: rgba(255, 255, 255, 0.08);
}

.lc-footer .social-icons-clean a:hover {
    background: var(--primary);
}

html[dir="rtl"] .lc-footer .social-icons {
    padding-right: 0;
}
