﻿/* ==========================================================================
   PJ Cranes - Modern Industrial Design
   Color Palette:
   - Primary Yellow: #fabf03
   - Primary Black: #1b1b1d
   - Dark Grey: #1e1e20
   - Yellow Hover: #fdc702
   - Link Color: #414143
   - White: #ffffff
   ========================================================================== */

/* CSS Variables */
:root {
    --primary-yellow: #fabf03;
    --primary-black: #1b1b1d;
    --dark-grey: #1e1e20;
    --yellow-hover: #fdc702;
    --link-color: #414143;
    --white: #ffffff;
    --light-grey: #f5f5f5;
    --medium-grey: #e0e0e0;
    --text-dark: #1b1b1d;
    --text-light: #6b6b6d;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.2);
    
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-yellow);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-black);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Prevent horizontal overflow */
section {
    overflow-x: hidden;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
}

.btn-primary:hover {
    background-color: var(--yellow-hover);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--primary-black);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--dark-grey);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-black);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.header-top {
    background-color: var(--primary-black);
    padding: 0;
    border-bottom: 3px solid var(--primary-yellow);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: 0;
}

.header-contact a {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.header-contact a:first-child {
    border-left: 1px solid rgba(255,255,255,0.1);
}

.header-contact a:hover {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
}

.header-contact a:hover svg {
    fill: var(--primary-black);
}

.header-contact svg {
    width: 16px;
    height: 16px;
    fill: var(--primary-yellow);
    transition: var(--transition);
}

.language-switcher {
    display: flex;
    gap: 0;
}

.language-switcher a {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 14px;
    border-left: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.language-switcher a:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
}

.language-switcher a.active {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
}

.header-main {
    padding: 16px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 44px;
    width: auto;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-menu a {
    color: var(--primary-black);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-yellow);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-black);
}

.header-search {
    display: flex;
    align-items: center;
    background-color: var(--light-grey);
    border-radius: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.header-search input {
    border: none;
    padding: 12px 16px;
    font-size: 0.9rem;
    background: transparent;
    width: 160px;
    outline: none;
}

.header-search button {
    background-color: var(--primary-yellow);
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition);
}

.header-search button:hover {
    background-color: var(--yellow-hover);
}

.header-search svg {
    width: 20px;
    height: 20px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-black);
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--primary-black);
    margin-top: 116px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,27,29,0.9) 0%, rgba(27,27,29,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.hero-label {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero h1 {
    color: var(--white);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-nav {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-nav button {
    width: 12px;
    height: 12px;
    border-radius: 0;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-nav button.active,
.hero-nav button:hover {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

/* ==========================================================================
   Featured Crane Section
   ========================================================================== */
.featured-crane {
    padding: 100px 0;
    background-color: var(--light-grey);
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--primary-yellow);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.featured-image {
    position: relative;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    background-color: var(--dark-grey);
    box-shadow: var(--shadow-lg);
}

.featured-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 4px solid var(--primary-yellow);
    z-index: -1;
}

.featured-info {
    padding-top: 0;
}

.featured-info h3 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.featured-info h3 span {
    color: var(--text-light);
    font-weight: 400;
}

.specs-table {
    margin-bottom: 32px;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--medium-grey);
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--primary-black);
    width: 40%;
}

.specs-table td:last-child {
    color: var(--text-light);
}

.featured-actions {
    display: flex;
    gap: 16px;
}

/* ==========================================================================
   Available Cranes Section
   ========================================================================== */
.available-cranes {
    padding: 100px 0;
    background-color: var(--primary-black);
}

.available-cranes .section-header h2 {
    color: var(--white);
}

.cranes-search {
    max-width: 500px;
    margin: 0 auto 60px;
    display: flex;
    background-color: var(--white);
}

.cranes-search input {
    flex: 1;
    border: none;
    padding: 18px 24px;
    font-size: 1rem;
    outline: none;
}

.cranes-search button {
    background-color: var(--primary-yellow);
    border: none;
    padding: 18px 24px;
    cursor: pointer;
    transition: var(--transition);
}

.cranes-search button:hover {
    background-color: var(--yellow-hover);
}

.cranes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.crane-card {
    background-color: var(--white);
    transition: var(--transition);
}

.crane-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.crane-card-image {
    position: relative;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    background-color: var(--dark-grey);
    overflow: hidden;
    display: block;
}

.crane-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--primary-yellow);
    transform: scaleX(0);
    transition: var(--transition);
}

.crane-card:hover .crane-card-image::after {
    transform: scaleX(1);
}

.crane-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.crane-card-body {
    padding: 24px;
}

.crane-card h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.crane-card h4 span {
    display: block;
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.95rem;
}

.crane-specs {
    margin: 16px 0;
}

.crane-specs table {
    width: 100%;
}

.crane-specs td {
    padding: 6px 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--light-grey);
}

.crane-specs td:first-child {
    font-weight: 600;
    color: var(--primary-black);
}

.crane-specs td:last-child {
    text-align: right;
    color: var(--text-light);
}

.crane-card .btn {
    width: 100%;
    padding: 12px;
    font-size: 0.85rem;
}

.available-cranes .section-footer {
    text-align: center;
    margin-top: 50px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.services-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-yellow) var(--light-grey);
}

.services-grid::-webkit-scrollbar {
    height: 6px;
}

.services-grid::-webkit-scrollbar-track {
    background: var(--light-grey);
}

.services-grid::-webkit-scrollbar-thumb {
    background: var(--primary-yellow);
    border-radius: 3px;
}

.services-grid::-webkit-scrollbar-thumb:hover {
    background: var(--yellow-hover);
}

.service-card {
    text-align: center;
    padding: 40px 32px;
    background-color: var(--light-grey);
    transition: var(--transition);
    flex: 0 0 280px;
    min-width: 280px;
}

.service-card:hover {
    background-color: var(--primary-black);
}

.service-card:hover h4,
.service-card:hover p {
    color: var(--white);
}

.service-card:hover .service-icon {
    background-color: var(--primary-yellow);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background-color: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.service-card h4 {
    margin-bottom: 12px;
    transition: var(--transition);
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.btn-service {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: var(--transition);
}

.btn-service:hover {
    background-color: var(--yellow-hover);
    color: var(--primary-black);
    transform: translateY(-2px);
}

.service-card:hover .btn-service {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding: 100px 0;
    background-color: var(--light-grey);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-contact {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.brand-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.brand-logo {
    background-color: var(--white);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/10;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.brand-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.brand-logo img {
    max-height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.brand-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */
.newsletter {
    padding: 80px 0;
    background-color: var(--primary-yellow);
}

.newsletter .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.newsletter-content h2 {
    color: var(--primary-black);
    margin-bottom: 8px;
}

.newsletter-content p {
    color: var(--primary-black);
    opacity: 0.8;
    margin-bottom: 0;
}

.newsletter-form {
    display: flex;
    gap: 0;
    flex: 1;
    max-width: 500px;
    flex-wrap: wrap;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 150px;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 24px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    background-color: var(--primary-black);
    color: var(--white);
    border: none;
    padding: 18px 32px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--dark-grey);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--primary-black);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    margin-bottom: 24px;
    display: block;
}

.footer-brand .logo img {
    height: 50px;
    width: auto;
    max-width: 220px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-yellow);
}

.social-links img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.social-links a:hover img {
    filter: brightness(0);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.footer-col ul a:hover {
    color: var(--primary-yellow);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-yellow);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}

.footer-bottom a:hover {
    color: var(--primary-yellow);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    .cranes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .header-main .container {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 16px 0;
        border-bottom: 1px solid var(--light-grey);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .featured-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .featured-image {
        order: -1;
    }
    
    .featured-image::before {
        right: 20px;
        bottom: -15px;
    }
    
    .cranes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter .container {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .header-top {
        display: none;
    }
    
    .hero {
        margin-top: 80px;
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .service-card {
        flex: 0 0 260px;
        min-width: 260px;
    }
    
    .cranes-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .featured-actions,
    .about-contact {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}


/* === pages.css === */

/* ========================================
   Shared Inner Page Styles â€” PJ Cranes
   ======================================== */

/* ---- Page Hero ---- */
.page-hero {
    background-color: var(--primary-black);
    padding: 160px 0 70px;
    margin-top: 120px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-yellow);
}

.page-hero .hero-label {
    display: inline-block;
    background: var(--primary-yellow);
    color: var(--primary-black);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    margin-bottom: 20px;
}

.page-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    max-width: 560px;
}

/* ---- Section Header ---- */
.section-header {
    margin-bottom: 50px;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-yellow);
    margin-bottom: 12px;
}

/* ---- Contact Page ---- */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--primary-black);
}

.contact-info-text h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-black);
    margin-bottom: 6px;
}

.contact-info-text p,
.contact-info-text a {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.6;
    text-decoration: none;
    display: block;
}

.contact-info-text a:hover {
    color: var(--primary-yellow);
}

.contact-person-cards {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.contact-person-card {
    background: var(--light-grey);
    padding: 20px;
    flex: 1;
    border-left: 3px solid var(--primary-yellow);
}

.contact-person-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-black);
    margin-bottom: 2px;
}

.contact-person-card span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-grey);
    margin-bottom: 8px;
}

.contact-person-card a {
    font-size: 0.82rem;
    color: var(--primary-yellow);
    text-decoration: none;
    display: block;
}

.contact-person-card a:hover {
    text-decoration: underline;
}

.contact-form-block {
    background: var(--light-grey);
    padding: 40px;
}

.contact-form-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 28px;
}

.map-section {
    background: var(--primary-black);
    padding: 0;
}

.map-section iframe {
    width: 100%;
    height: 400px;
    display: block;
    border: none;
    filter: grayscale(0.3) contrast(1.1);
}

/* ---- Offices Cards ---- */
.offices-section {
    padding: 80px 0;
    background: var(--light-grey);
}

/* ---- Cranes Page ---- */
.cranes-section {
    padding: 60px 0;
    background: var(--white);
}

.cranes-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

.filter-sidebar {
    background: var(--light-grey);
    padding: 28px;
    position: sticky;
    top: 130px;
}

.filter-sidebar h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-black);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-yellow);
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-grey);
    margin-bottom: 12px;
}

.filter-search {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(0,0,0,0.12);
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    margin-bottom: 8px;
}

.filter-search:focus {
    border-color: var(--primary-yellow);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--dark-grey);
}

.filter-checkbox input {
    accent-color: var(--primary-yellow);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.filter-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-yellow);
    color: var(--primary-black);
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 8px;
    transition: var(--transition);
}

.filter-btn:hover {
    background: var(--yellow-hover);
}

.cranes-grid-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cranes-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.cranes-count {
    font-size: 0.88rem;
    color: var(--text-grey);
}

.cranes-count strong {
    color: var(--primary-black);
}

.cranes-sort select {
    padding: 8px 14px;
    border: 1px solid rgba(0,0,0,0.12);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    outline: none;
    cursor: pointer;
    background: var(--white);
}

.crane-item {
    display: grid;
    grid-template-columns: 280px 1fr auto;
    gap: 0;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    transition: var(--transition);
    position: relative;
}

.crane-item:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.crane-item.sold {
    opacity: 0.65;
}

.crane-item-img {
    width: 280px;
    height: 200px;
    overflow: hidden;
    background: var(--light-grey);
    flex-shrink: 0;
}

.crane-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.crane-item:hover .crane-item-img img {
    transform: scale(1.04);
}

.crane-item-content {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.crane-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.crane-item-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-black);
}

.crane-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    flex-shrink: 0;
}

.crane-badge.available {
    background: var(--primary-yellow);
    color: var(--primary-black);
}

.crane-badge.sold {
    background: var(--dark-grey);
    color: rgba(255,255,255,0.5);
}

.crane-specs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.crane-spec {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.crane-spec-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-grey);
}

.crane-spec-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-black);
}

.crane-item-actions {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-left: 1px solid rgba(0,0,0,0.06);
    min-width: 140px;
}

.sold-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-black);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 12px;
}

/* ---- News Page ---- */
.news-section {
    padding: 80px 0;
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.news-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.news-card-img {
    height: 220px;
    background: var(--primary-black);
    overflow: hidden;
    position: relative;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.news-card-category {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--primary-yellow);
    color: var(--primary-black);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
}

.news-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-date {
    font-size: 0.78rem;
    color: var(--text-grey);
    margin-bottom: 10px;
}

.news-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-body p {
    font-size: 0.9rem;
    color: var(--text-grey);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-yellow);
    text-decoration: none;
    transition: gap 0.2s;
}

.news-card-link:hover {
    gap: 12px;
}

.news-card-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ---- FAQ Page ---- */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 60px;
    align-items: start;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.faq-item {
    border: 1px solid rgba(0,0,0,0.08);
    background: var(--white);
    transition: var(--transition);
}

.faq-item.open {
    border-color: var(--primary-yellow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px;
    cursor: pointer;
    gap: 16px;
    user-select: none;
}

.faq-question h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-black);
    line-height: 1.4;
}

.faq-icon {
    width: 28px;
    height: 28px;
    background: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.3s;
}

.faq-item.open .faq-icon {
    background: var(--primary-yellow);
    transform: rotate(45deg);
}

.faq-icon svg {
    width: 14px;
    height: 14px;
    fill: var(--primary-black);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 0.92rem;
    color: var(--text-grey);
    line-height: 1.7;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 16px;
}

.faq-sidebar {
    position: sticky;
    top: 130px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-contact-card {
    background: var(--primary-black);
    padding: 32px;
    color: var(--white);
}

.faq-contact-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.faq-contact-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin-bottom: 24px;
}

.faq-contact-card .btn {
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

/* ---- Sell Page ---- */
.sell-intro-section {
    padding: 80px 0;
    background: var(--white);
}

.sell-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.sell-process {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
}

.sell-step {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.sell-step:last-child {
    border-bottom: none;
}

.sell-step-num {
    width: 40px;
    height: 40px;
    background: var(--primary-yellow);
    color: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.sell-step-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 6px;
}

.sell-step-text p {
    font-size: 0.88rem;
    color: var(--text-grey);
    line-height: 1.6;
}

.sell-form-block {
    background: var(--light-grey);
    padding: 40px;
}

.sell-form-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 8px;
}

.sell-form-block .form-subtitle {
    font-size: 0.9rem;
    color: var(--text-grey);
    margin-bottom: 28px;
    line-height: 1.5;
}

.sell-usps {
    padding: 60px 0;
    background: var(--primary-black);
}

.sell-usps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.sell-usp {
    background: rgba(255,255,255,0.04);
    padding: 32px 28px;
    text-align: center;
    transition: var(--transition);
}

.sell-usp:hover {
    background: rgba(250,191,3,0.08);
}

.sell-usp-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.sell-usp-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--primary-black);
}

.sell-usp h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.sell-usp p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
}

/* ---- Form styles (shared) ---- */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--dark-grey);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0,0,0,0.12);
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--primary-black);
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-yellow);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .cranes-layout {
        grid-template-columns: 220px 1fr;
    }
    .crane-item {
        grid-template-columns: 220px 1fr auto;
    }
    .crane-item-img {
        width: 220px;
    }
}

@media (max-width: 992px) {
    .page-hero {
        padding: 140px 0 60px;
    }
    .page-hero h1 {
        font-size: 2.4rem;
    }
    .contact-page-grid,
    .sell-intro-grid {
        grid-template-columns: 1fr;
    }
    .faq-layout {
        grid-template-columns: 1fr;
    }
    .faq-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sell-usps-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cranes-layout {
        grid-template-columns: 1fr;
    }
    .filter-sidebar {
        position: static;
    }
    .crane-item {
        grid-template-columns: 200px 1fr;
    }
    .crane-item-img {
        width: 200px;
    }
    .crane-item-actions {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-hero {
        margin-top: 80px;
        padding: 120px 0 50px;
    }
    .page-hero h1 {
        font-size: 2rem;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .sell-usps-grid {
        grid-template-columns: 1fr 1fr;
    }
    .crane-item {
        grid-template-columns: 1fr;
    }
    .crane-item-img {
        width: 100%;
        height: 200px;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .contact-form-block {
        padding: 24px;
    }
    .sell-form-block {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .sell-usps-grid {
        grid-template-columns: 1fr;
    }
    .contact-person-cards {
        flex-direction: column;
    }
}


/* === CMS compatibility layer === */

/* ==========================================================================
   CMS compatibility layer â€” appended after New Design CSS
   Fixes CMS-generated HTML to match New Design visual targets
   ========================================================================== */

/* --------------------------------------------------------------------------
   Alerts
   -------------------------------------------------------------------------- */
.alert {
    display: block;
    position: relative;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    padding: 14px 18px 15px;
    border-radius: 0;
}
.alert ul { padding-left: 17px; margin: 0; }
.alert.alert-danger  { color: #9e0000; background-color: #ffe1e1; border: none !important; }
.alert.alert-success { color: #005a0d; background-color: #d9f5de; border: none !important; }

/* --------------------------------------------------------------------------
   Language flags (i.is-flag)
   -------------------------------------------------------------------------- */
i.is-flag {
    position: relative;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
i.is-flag.flag-nl { background-image: url('/images/flags/nl.png'); }
i.is-flag.flag-en { background-image: url('/images/flags/en.png'); }
i.is-flag.flag-be { background-image: url('/images/flags/be.png'); }
i.is-flag.flag-de { background-image: url('/images/flags/de.png'); }
i.is-flag.flag-es { background-image: url('/images/flags/es.png'); }
i.is-flag.flag-fr { background-image: url('/images/flags/fr.png'); }
i.is-flag.flag-it { background-image: url('/images/flags/it.png'); }
i.is-flag.flag-pl { background-image: url('/images/flags/pl.png'); }
i.is-flag.flag-ru { background-image: url('/images/flags/ru.png'); }
i.is-flag.flag-cn { background-image: url('/images/flags/cn.png'); }
i.is-flag.flag-tr { background-image: url('/images/flags/tr.png'); }

/* --------------------------------------------------------------------------
   Language switch list (language-switch.php outputs ul.language-switch)
   -------------------------------------------------------------------------- */
ul.language-switch {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}
ul.language-switch > li {
    display: inline-block;
}
ul.language-switch > li > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    padding: 2px 5px;
    border-radius: 2px;
    transition: var(--transition);
}
ul.language-switch > li > a:hover     { color: var(--primary-yellow); }
ul.language-switch > li.active > a    { background: var(--primary-yellow); color: var(--primary-black); }
ul.language-switch > li > a span      { display: none !important; }

/* --------------------------------------------------------------------------
   Header nav â€” render_menu() outputs <ul class="menu menu-{id} cf">
   The .nav-menu <nav> is a flex item in .header-main .container.
   We need the <ul> inside to lay out as a horizontal flex row.
   -------------------------------------------------------------------------- */

/* Make nav stretch to fill space and properly host the ul */
.nav-menu {
    display: flex !important;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

/* The <ul> generated by render_menu() */
.nav-menu ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px 22px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Top-level <li> items */
.nav-menu ul > li {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    flex-shrink: 0;
}

/* Top-level links */
.nav-menu ul > li > a {
    display: inline-block;
    padding: 8px 0;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--primary-black);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
}
.nav-menu ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-yellow);
    transition: var(--transition);
}
.nav-menu ul > li.active > a::after,
.nav-menu ul > li > a:hover::after { width: 100%; }

/* Dropdown panel */
.nav-menu .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 600;
    padding: 8px 0;
}
.nav-menu ul > li:hover > .dropdown { display: block; }
.nav-menu .dropdown ul {
    display: block !important;
    flex-direction: column !important;
    width: auto;
    gap: 0;
}
.nav-menu .dropdown ul > li {
    display: block !important;
    width: 100%;
    flex-shrink: unset;
}
.nav-menu .dropdown ul > li > a {
    display: block;
    padding: 10px 18px;
    font-size: 0.88rem;
    text-transform: none;
    font-weight: 500;
    white-space: nowrap;
    color: var(--primary-black);
}
.nav-menu .dropdown ul > li > a:hover {
    background: var(--light-grey);
}
.nav-menu .dropdown ul > li > a::after { display: none; }

/* MOBILE â€” hamburger mode (â‰¤992px) */
@media (max-width: 992px) {
    .nav-menu {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 24px;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        z-index: 500;
        flex: unset;
    }
    .nav-menu.active {
        display: flex !important;
    }
    .nav-menu ul {
        flex-direction: column !important;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    .nav-menu ul > li {
        display: block !important;
        width: 100%;
    }
    .nav-menu ul > li > a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--light-grey);
        font-size: 0.9rem;
    }
    .nav-menu ul > li > a::after { display: none; }
    .nav-menu .dropdown {
        position: static;
        box-shadow: none;
        padding: 0 0 0 16px;
        display: none;
    }
    .nav-menu ul > li.active > .dropdown,
    .nav-menu ul > li:hover > .dropdown { display: block; }
}

/* --------------------------------------------------------------------------
   Hero â€” hide CMS-embedded buttons inside hero-rich-text
   (CMS description may contain .button CTA from old design)
   -------------------------------------------------------------------------- */
.hero-content .hero-rich-text .button,
.hero-content .hero-rich-text a.button,
.hero-content .hero-rich-text .btn {
    display: none !important;
}

/* Hero rich text typography */
.hero-content .hero-rich-text h1,
.hero-content .hero-rich-text h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.1;
}
.hero-content .hero-rich-text p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin-bottom: 12px;
}
.hero-content .hero-rich-text > *:last-child { margin-bottom: 0; }

/* Hero on homepage â€” sits below the fixed header */
body.page-home .hero,
body.no-space .main-wrapper > .hero:first-child {
    margin-top: 116px;
}
/* Inner pages â€” main-wrapper padding provides spacing under fixed header */
body:not(.page-home):not(.no-space) .main-wrapper {
    padding-top: 116px;
}
/* Page hero margin-top already in pages.css; don't double up */
.main-wrapper > .page-hero:first-child {
    margin-top: 0;
}

/* --------------------------------------------------------------------------
   Services section â€” fix overflow-x scroll to a proper responsive grid
   and make service-icon-photo use background image correctly
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    margin: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 576px) {
    .services-grid { grid-template-columns: 1fr !important; }
}

/* Service card: fixed sizing from New Design â†’ auto in grid */
.services .service-card {
    flex: unset !important;
    min-width: unset !important;
}

/* Service icon photo: show background image with proper styling */
.service-icon.service-icon-photo {
    background-size: cover !important;
    background-position: center !important;
    background-color: var(--medium-grey) !important;
    border-radius: 0;
}
/* On hover, tint to yellow instead of black */
.service-card:hover .service-icon.service-icon-photo {
    background-color: var(--primary-yellow) !important;
    filter: brightness(0.9);
}

/* Service card body rendered via render_text() */
.services .service-card-body article,
.services .service-card-body .article { padding: 0; background: none; }
.services .service-card-body h3,
.services .service-card-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-black);
    transition: var(--transition);
}
.services .service-card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
    transition: var(--transition);
}
.service-card:hover .services .service-card-body h3,
.service-card:hover .services .service-card-body h4,
.service-card:hover .services .service-card-body p { color: var(--white); }

/* --------------------------------------------------------------------------
   Crane cards grid â€” ensure it works at all viewports
   -------------------------------------------------------------------------- */
.cranes-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px;
}
@media (max-width: 1200px) { .cranes-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 992px)  { .cranes-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 576px)  { .cranes-grid { grid-template-columns: 1fr !important; } }

/* Crane card image height */
.crane-card-image { min-height: 180px; }

/* --------------------------------------------------------------------------
   Brand logos â€” background-image used instead of <img>
   -------------------------------------------------------------------------- */
.brand-logo > .image {
    width: 100%;
    height: 100%;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}
.brand-logo {
    padding: 24px;
}

/* --------------------------------------------------------------------------
   Footer â€” render_socials() outputs a nested div.socialmedia > ul
   Structure: .footer-brand > .footer-socials.socialmedia > div.socialmedia > ul > li > a > img
   -------------------------------------------------------------------------- */
.footer-socials,
.footer-brand .footer-socials {
    margin-top: 16px;
}

/* The nested socialmedia div and its ul */
.footer-socials .socialmedia ul,
.footer-brand .footer-socials ul {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-socials .socialmedia ul > li,
.footer-brand .footer-socials ul > li {
    display: inline-block;
    list-style: none;
}

/* Social link button */
.footer-socials a,
.footer-brand .footer-socials a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}
.footer-socials a:hover,
.footer-brand .footer-socials a:hover {
    background: var(--primary-yellow);
}

/* Social icon image â€” hard cap */
.footer-socials img,
.footer-brand .footer-socials img {
    display: block;
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    min-width: unset !important;
    min-height: unset !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}
.footer-socials a:hover img,
.footer-brand .footer-socials a:hover img {
    filter: brightness(0);
}

/* Footer menu list (render_menu outputs ul.menu inside .menu-wrap) */
.footer .menu-wrap ul.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer .menu-wrap ul.menu > li > a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    padding: 5px 0;
}
.footer .menu-wrap ul.menu > li > a:hover { color: var(--primary-yellow); }

/* Footer bottom â€” copyright row */
.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}
.footer-bottom-inner .menu-wrap ul.menu {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-bottom-inner .menu-wrap ul.menu > li > a {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}
.footer-copy {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* Footer quick links column */
.footer-col .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col .footer-links > li > a {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    display: block;
    padding: 5px 0;
    text-decoration: none;
}
.footer-col .footer-links > li > a:hover { color: var(--primary-yellow); }

/* --------------------------------------------------------------------------
   Slick slider (reviews, mini galleries)
   -------------------------------------------------------------------------- */
.slick-slider { position: relative; display: block; box-sizing: border-box; user-select: none; touch-action: pan-y; }
.slick-list { position: relative; overflow: hidden; margin: 0; padding: 0; }
.slick-track { display: block; position: relative; top: 0; left: 0; }
.slick-slide { display: none; float: left; height: 100%; min-height: 1px; outline: none !important; }
.slick-initialized .slick-slide { display: block; }
.slick-arrow.slick-hidden { display: none; }

.slider-wrap { display: block; position: relative; margin: 0 0 -1px; }
.slider-wrap .slick-dots { display: inline-block; list-style: none; position: absolute; left: 50%; z-index: 50; margin: 0; text-align: center; transform: translateX(-50%); min-width: 210px; padding: 0; bottom: 24px; }
.slider-wrap .slick-dots li { display: inline-block; vertical-align: top; }
.slider-wrap .slick-dots li > button { display: block; width: 22px; height: 22px; font-size: 0; padding: 0; margin: 0; border: none; background: transparent; cursor: pointer; }
.slider-wrap .slick-dots li > button::before { content: ' '; display: block; width: 11px; height: 11px; border-radius: 999px; background: rgba(255,255,255,0.45); margin: 4px auto 0; }
.slider-wrap .slick-dots li.slick-active > button::before { background: var(--primary-yellow); }
.slider-wrap .slick-arrow { cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 48px; height: 48px; font-size: 0; color: transparent; background: transparent center/contain no-repeat; border: none; }
.slider-wrap .slick-arrow.slick-next { right: 12px; background-image: url('/images/arrow-right-black.png'); background-size: auto 28px; }
.slider-wrap .slick-arrow.slick-prev { left: 12px; background-image: url('/images/arrow-left-black.png'); background-size: auto 28px; }

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs-wrapper { position: relative; background-color: var(--light-grey); padding: 12px 0; }
.breadcrumbs-wrapper ul.breadcrumbs { list-style: none; padding: 0; margin: 0; }
.breadcrumbs-wrapper ul.breadcrumbs > li { display: inline-block; vertical-align: top; position: relative; min-height: 28px; }
.breadcrumbs-wrapper ul.breadcrumbs > li:not(:last-child) { padding-right: 36px; }
.breadcrumbs-wrapper ul.breadcrumbs > li:not(:last-child)::after { content: ' '; position: absolute; top: 50%; right: 6px; width: 24px; height: 24px; background: url(/images/arrow-right-black.png) center/8px no-repeat; transform: translateY(-50%); }
.breadcrumbs-wrapper ul.breadcrumbs > li > a { display: block; padding: 8px 0; font-size: 0.95rem; font-weight: 400; color: var(--text-dark); }
.breadcrumbs-wrapper ul.breadcrumbs > li:last-child > a { font-weight: 600; }

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */
.contact-form { display: block; position: relative; max-width: 100%; width: 650px; padding: 0; margin: 0; }
.contact-form.centered { margin-left: auto; margin-right: auto; }
.contact-form .field { position: relative; padding: 28px 0 0; margin: 0 0 10px; }
.contact-form .field-inner { background-color: #f7f7f7; position: static; }
.contact-form .field select,
.contact-form .field textarea,
.contact-form .field input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]) { display: block; width: 100%; border: none; border-radius: 0; padding: 12px 14px; background: transparent !important; }
.contact-form .field textarea { resize: none; min-height: 10em; }
.contact-form .field label.label,
.contact-form .field .meta { position: absolute; top: 0; left: 0; z-index: 10; font-size: 0.95rem; }
.contact-form .field .meta.placeholder { top: 26px; margin: 8px 0 0 14px; opacity: 0.45; }
.contact-form .field.focus .meta.placeholder { opacity: 0.2; }
.contact-form .field.filled .meta.placeholder { opacity: 0 !important; }
.contact-form .field .meta.error { color: #b90000; font-size: 0.9rem; }
.contact-form .actions { margin-top: 18px; }

/* --------------------------------------------------------------------------
   Legacy .button class (CMS) alongside new .btn
   -------------------------------------------------------------------------- */
.button {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 22px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}
.button.main, .button.main:focus, .button.main:hover { background: var(--primary-yellow); color: var(--primary-black); }
.button.basic { background: #ebebeb; color: var(--primary-black); }
.button.inset.large { padding: 14px 28px; }

/* --------------------------------------------------------------------------
   Stocklist / Reviews / FAQ / Modal / Images â€” inner pages
   -------------------------------------------------------------------------- */
.stocklist-wrap { position: relative; }
.stocklist-wrap .stock-search { position: relative; border: 2px solid var(--medium-grey); background: #fff; }
.stocklist-wrap .stock-search > input { width: 100%; border: none; padding: 10px 40px 10px 14px; outline: none; }
.stocklist-wrap .stock-block { background: #ebebeb; margin-bottom: 12px; }
.stocklist-wrap .stock-block .title { padding: 16px 20px; }

.review-card { position: relative; padding: 16px; }
.review-card .card-wrap .author h3 { margin: 0 0 8px; font-size: 1.35rem; }

.faq-item > .title { padding: 18px 48px 18px 18px; cursor: pointer; font-weight: 600; position: relative; border-bottom: 1px solid var(--medium-grey); }
.faq-item.active > .article-wrap { display: block !important; }
.faq-item > .article-wrap { padding: 0 18px 18px; }

.modal-wrap { display: none; position: fixed; inset: 0; z-index: 8500; background: rgba(0,0,0,0.85); overflow: auto; }
.modal-wrap.active { display: block; }
.modal-wrap .modal-screen { background: #fff; max-width: 700px; margin: 40px auto; border-radius: 12px; overflow: hidden; }

.images-wrap { font-size: 0; }
.images-wrap .image-block { display: inline-block; vertical-align: top; width: 128px; height: 128px; margin: 0 12px 12px 0; border-radius: 6px; overflow: hidden; }

/* --------------------------------------------------------------------------
   Visual scale alignment with approved reference screenshot
   -------------------------------------------------------------------------- */

/* Wider content area and breathing room */
.container {
    max-width: 1560px;
    padding-left: 18px;
    padding-right: 18px;
}

/* Header scale + layout parity with reference */
.header-top .container {
    min-height: 38px;
}
.header-contact a {
    font-size: 0.92rem;
    padding: 11px 22px;
    line-height: 1;
}
.header-contact a svg {
    width: 14px;
    height: 14px;
}
.header-main {
    padding: 12px 0;
}
.header-main .container {
    gap: 24px;
}
.header .logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.logo img,
.header .logo img {
    height: 68px;
    width: auto;
    max-width: none;
}
.nav-menu {
    flex: 1 1 auto;
    margin-left: 18px;
    margin-right: 14px;
}
.nav-menu ul {
    gap: 8px 30px;
}
.nav-menu ul > li > a {
    font-size: 0.95rem;
    letter-spacing: 0.18px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.header-search {
    min-height: 50px;
}
.header-search input {
    width: 220px;
    padding: 15px 18px;
    font-size: 0.98rem;
}
.header-search button {
    min-width: 52px;
    padding: 15px 14px;
}

/* Language switch in header top: show short code, hide flags */
.header-top ul.language-switch > li > a {
    font-size: 0.8rem;
    padding: 11px 11px;
    border-left: 1px solid rgba(255,255,255,0.1);
    line-height: 1;
}
.header-top ul.language-switch > li:last-child > a {
    border-right: 1px solid rgba(255,255,255,0.1);
}
.header-top ul.language-switch > li > a i.is-flag {
    display: none;
}
.header-top ul.language-switch > li > a span {
    display: inline !important;
    text-transform: uppercase;
}

/* Account for taller fixed header */
body.page-home .hero,
body.no-space .main-wrapper > .hero:first-child {
    margin-top: 126px;
}
body:not(.page-home):not(.no-space) .main-wrapper {
    padding-top: 126px;
}

/* Hero scale */
.hero-content {
    max-width: 780px;
}
.hero-content .hero-rich-text h1,
.hero-content .hero-rich-text h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 20px;
}
.hero-content .hero-rich-text p {
    font-size: 1.32rem;
    line-height: 1.5;
    max-width: 620px;
    margin-bottom: 20px;
}
.hero-buttons {
    gap: 14px;
}
.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 0.95rem;
}

/* Crane cards should not look skinny */
.available-cranes .cranes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.crane-card-image {
    min-height: 230px;
}
.crane-card-body {
    padding: 24px;
}
.crane-card h4 {
    font-size: 1.22rem;
}
.crane-specs td {
    font-size: 0.92rem;
}

/* Services proportions and icon visibility */
.services-grid {
    align-items: stretch;
}
.services .service-card {
    padding: 32px 24px;
}
.services .service-icon {
    background-color: var(--primary-yellow);
}
.services .service-icon svg {
    fill: var(--primary-black);
}
.services .service-card-body h3,
.services .service-card-body h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.services .service-card-body p {
    font-size: 1rem;
    line-height: 1.5;
}
.services .service-card:hover .service-card-body h3,
.services .service-card:hover .service-card-body h4,
.services .service-card:hover .service-card-body p {
    color: var(--white);
}

/* About logos */
.brand-logo {
    padding: 30px;
    min-height: 140px;
}

/* Footer text and spacing */
.footer {
    font-size: 1rem;
}
.footer h4 {
    font-size: 1.08rem;
    margin-bottom: 16px;
}
.footer p,
.footer li,
.footer a {
    font-size: 0.98rem;
}
.footer-col .footer-links > li > a,
.footer .menu-wrap ul.menu > li > a {
    padding: 6px 0;
}

@media (max-width: 1200px) {
    .available-cranes .cranes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 992px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
    .header .logo img {
        height: 54px;
    }
    .header-top ul.language-switch > li > a span {
        font-size: 0.72rem;
    }
}

@media (max-width: 768px) {
    .available-cranes .cranes-grid {
        grid-template-columns: 1fr !important;
    }
    .crane-card-image {
        min-height: 210px;
    }
}

/* --------------------------------------------------------------------------
   Inner pages overhaul (legacy CMS templates)
   -------------------------------------------------------------------------- */

/* Prevent large blank offset before inner heroes */
.main-wrapper .page-hero {
    margin-top: 0 !important;
    padding: 74px 0 56px;
}
.main-wrapper .page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.main-wrapper .page-hero p {
    max-width: 760px;
    color: rgba(255,255,255,0.72);
}

/* Generic inner wrappers */
.wrapper.grey.effect.subtle,
.contact-wrapper.wrapper.grey.effect {
    background: var(--light-grey);
    padding: 72px 0;
}
.wrapper.no-bottom {
    padding: 56px 0 72px;
    background: var(--white);
}
.article-container .row {
    row-gap: 28px;
}
.article-wrap > .article.article-title {
    background: transparent;
}
.article-wrap .article h1,
.article-wrap .article h2 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    color: var(--primary-black);
}
.article-wrap .article p,
.article-wrap .article li {
    font-size: 1.02rem;
    line-height: 1.72;
    color: #454547;
}

/* Cranes page: filters + results layout */
.stocklist-wrap.has-aside {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.stocklist-wrap .list-filters {
    background: var(--light-grey);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 22px 20px;
    position: sticky;
    top: 146px;
}
.stocklist-wrap .list-filters .list-title {
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1.1;
}
.stocklist-wrap .list-filters .list-content {
    display: block !important;
}
.stocklist-wrap .stock-search {
    border: 1px solid rgba(0,0,0,0.14);
    background: var(--white);
    margin-bottom: 10px;
}
.stocklist-wrap .stock-search > input {
    padding: 11px 14px;
    font-size: 0.95rem;
}
.stocklist-wrap .stock-block {
    background: #ececec;
    border: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 10px;
}
.stocklist-wrap .stock-block .title {
    padding: 12px 14px;
}
.stocklist-wrap .stock-block .title h2 {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0;
}
.stocklist-wrap .stock-hide {
    padding: 0 14px 12px;
}
.stocklist-wrap .article.main.ul-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}
.stocklist-wrap label.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #222;
    margin: 0;
}
.stocklist-wrap label.checkbox input {
    width: 15px;
    height: 15px;
    accent-color: var(--primary-yellow);
}
.stocklist-wrap .stock-actions {
    margin-top: 10px;
}
.stocklist-wrap .stock-actions .button {
    width: 100%;
    text-align: center;
    border-radius: 0;
}
.stocklist-wrap .list-results {
    min-width: 0;
}
.stocklist-wrap .oca-blocks .row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
}
.stocklist-wrap .oca-blocks .col-filter {
    padding: 0;
    max-width: none;
    width: auto;
    flex: unset;
}

/* Seller/About/Contact content refinement */
.services-wrap .service-item {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
}
.services-wrap .service-item .article-wrap {
    padding: 18px;
}
.services-wrap .service-item .article-image {
    min-height: 180px;
    margin-bottom: 14px;
}
.contact-wrapper .contact-form.grey {
    width: 100%;
    max-width: none;
}
.contact-wrapper .contact-form .segment-wrap {
    background: var(--light-grey);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 22px;
}
.contact-wrapper .contact-form .field {
    margin-bottom: 12px;
}
.contact-wrapper .contact-form .actions .button,
.wrapper.grey.effect.subtle .contact-form .actions .button {
    width: 100%;
}

@media (max-width: 1200px) {
    .stocklist-wrap.has-aside {
        grid-template-columns: 280px minmax(0, 1fr);
    }
    .stocklist-wrap .oca-blocks .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .main-wrapper .page-hero {
        padding: 58px 0 46px;
    }
    .stocklist-wrap.has-aside {
        grid-template-columns: 1fr;
    }
    .stocklist-wrap .list-filters {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .stocklist-wrap .oca-blocks .row {
        grid-template-columns: 1fr;
    }
}

