/* ==========================================================================
   LOCAMAN - DESIGN SYSTEM & STYLESHEET
   Inspired by Rentmas (Structure & Aesthetics) & Locarad (Moroccan Context)
   ========================================================================== */

/* --- 1. CSS VARIABLES & THEME TOKENS --- */
:root {
    /* Brand Colors */
    --primary: #00b4b3;
    --primary-hover: #009998;
    --primary-light: #e6f7f7;
    --primary-subtle: #d0f2f2;
    --dark: #293335;
    --dark-hover: #1e2527;
    --accent-yellow: #fac515;
    --accent-orange: #f79009;
    
    /* Neutrals */
    --bg-page: #fbfbfc;
    --bg-surface: #f3f4f8;
    --bg-card: #ffffff;
    --border-light: #eaecf5;
    --border-medium: #d5d9eb;
    --text-main: #293335;
    --text-muted: #848181;
    --text-secondary: #545c5d;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #1ebe5d;
    --phone-yellow: #ffdd00;

    /* Typography */
    --font-latin: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-arabic: 'Tajawal', system-ui, -apple-system, sans-serif;
    --font-base: var(--font-latin);

    /* Shadows & Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 100px;
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 4px 12px rgba(41, 51, 53, 0.08);
    --shadow-lg: 0 12px 32px rgba(41, 51, 53, 0.12);
    --shadow-xl: 0 20px 50px rgba(41, 51, 53, 0.18);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RTL Mode Overrides */
html[dir="rtl"], body.rtl {
    --font-base: var(--font-arabic);
    text-align: right;
}

/* --- 2. RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-base);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

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

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.text-center { text-align: center; }
.text-end { text-align: right; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 40px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.ms-1 { margin-left: 4px; }
.ms-2 { margin-left: 8px; }
.me-2 { margin-right: 8px; }
.d-none { display: none !important; }
.full-width { width: 100%; text-align: center; }
.ar-text { font-family: var(--font-arabic) !important; }

/* --- 3. BUTTONS (RENTMAS STYLE PILLS) --- */
.button-primary, .btn-primary-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--primary);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 180, 179, 0.25);
    transition: var(--transition);
}

.button-primary:hover, .btn-primary-pill:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 14px rgba(0, 180, 179, 0.35);
    transform: translateY(-1px);
}

.button-outline, .btn-outline-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    padding: 11px 22px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.button-outline:hover, .btn-outline-pill:hover {
    background-color: var(--dark);
    color: #ffffff !important;
}

.btn-whatsapp-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--whatsapp-green);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
    transition: var(--transition);
}

.btn-whatsapp-pill:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-1px);
}

.icon-ghost-btn {
    background: transparent;
    border: none;
    color: var(--dark);
    font-size: 18px;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-ghost-btn:hover {
    background-color: var(--bg-surface);
    color: var(--primary);
}

/* --- 4. FIRST VISIT LANGUAGE MODAL --- */
.lang-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.lang-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lang-modal-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 580px;
    box-shadow: var(--shadow-xl);
    border: 3px solid var(--primary);
    overflow: hidden;
    animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.lang-modal-header {
    background: linear-gradient(135deg, var(--dark) 0%, #344143 100%);
    color: #ffffff;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lang-modal-logo .brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.lang-modal-logo .accent-text {
    color: var(--primary);
}

.lang-modal-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lang-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lang-modal-body {
    padding: 36px 30px;
    text-align: center;
}

.lang-welcome-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.lang-welcome-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.lang-options-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lang-choice-btn {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    background-color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    width: 100%;
}

.lang-choice-btn:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.flag-wrapper {
    flex-shrink: 0;
    margin-right: 18px;
}

html[dir="rtl"] .flag-wrapper, body.rtl .flag-wrapper {
    margin-right: 0;
    margin-left: 18px;
}

.flag-img {
    width: 44px;
    height: 30px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.mini-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
}

.lang-choice-info {
    flex-grow: 1;
}

.lang-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.lang-sub {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
}

.lang-arrow {
    color: var(--text-muted);
    font-size: 16px;
    transition: var(--transition);
}

.lang-choice-btn:hover .lang-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

html[dir="rtl"] .lang-choice-btn:hover .lang-arrow,
body.rtl .lang-choice-btn:hover .lang-arrow {
    transform: translateX(-4px);
}

.lang-modal-footer {
    background-color: var(--bg-surface);
    padding: 14px 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-light);
}

/* --- 5. TOP UTILITY NAVIGATION --- */
.top-nav {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 7px 0;
    font-size: 13px;
}

.top-nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
}

.top-nav-links a:hover {
    color: var(--dark);
}

.top-nav-highlight {
    color: var(--whatsapp-green) !important;
    font-weight: 600;
}

.top-contact-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--dark);
    margin-right: 18px;
}

html[dir="rtl"] .top-contact-link, body.rtl .top-contact-link {
    margin-right: 0;
    margin-left: 18px;
}

.top-contact-link:hover {
    color: var(--primary);
}

/* Language Dropdown */
.lang-dropdown-container {
    position: relative;
    margin-right: 12px;
}

html[dir="rtl"] .lang-dropdown-container, body.rtl .lang-dropdown-container {
    margin-right: 0;
    margin-left: 12px;
}

.lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
}

.lang-toggle-btn:hover {
    border-color: var(--dark);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    min-width: 150px;
    padding: 6px;
    display: none;
    z-index: 1000;
}

html[dir="rtl"] .lang-dropdown-menu, body.rtl .lang-dropdown-menu {
    right: auto;
    left: 0;
}

.lang-dropdown-menu.show {
    display: block;
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

html[dir="rtl"] .lang-dropdown-item, body.rtl .lang-dropdown-item {
    text-align: right;
}

.lang-dropdown-item:hover, .lang-dropdown-item.active {
    background-color: var(--primary-light);
    color: var(--primary-hover);
    font-weight: 600;
}

/* --- 6. MAIN NAVBAR --- */
.main-navbar-wrapper {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-navbar {
    padding: 14px 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-badge {
    width: 42px;
    height: 42px;
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo-accent {
    color: var(--primary);
}

.logo-sub {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu {
    list-style: none;
    gap: 28px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Search Box */
.search-box-wrapper {
    position: relative;
    margin-right: 14px;
}

html[dir="rtl"] .search-box-wrapper, body.rtl .search-box-wrapper {
    margin-right: 0;
    margin-left: 14px;
}

.search-trigger-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.search-trigger-btn:hover {
    background-color: var(--border-light);
}

.search-input-box {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #ffffff;
    border: 2px solid var(--primary);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
    padding: 6px 14px;
    display: none;
    align-items: center;
    gap: 8px;
    width: 320px;
    z-index: 10;
}

html[dir="rtl"] .search-input-box, body.rtl .search-input-box {
    right: auto;
    left: 0;
}

.search-input-box.active {
    display: flex;
}

.search-input-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
}

.search-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: 14px;
}

html[dir="rtl"] .mobile-nav-toggle, body.rtl .mobile-nav-toggle {
    margin-left: 0;
    margin-right: 14px;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2.5px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer-content {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 82%;
    max-width: 360px;
    background: #ffffff;
    z-index: 10001;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

html[dir="rtl"] .mobile-drawer-content, body.rtl .mobile-drawer-content {
    right: auto;
    left: 0;
    transform: translateX(-100%);
}

.mobile-drawer-overlay.open .mobile-drawer-content {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}

.drawer-close-btn {
    background: var(--bg-surface);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    padding: 8px 0;
}

.mobile-drawer-cta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.mobile-drawer-lang {
    margin-top: 16px;
}

.btn-lang-choice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
    background: var(--bg-surface);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.btn-lang-choice.active {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* --- 7. BREADCRUMB & HERO SECTION (RENTMAS STRUCTURE) --- */
.breadcrumb-section {
    padding: 16px 0 8px;
    font-size: 13px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.breadcrumb-nav a {
    color: var(--text-muted);
}

.breadcrumb-nav a:hover {
    color: var(--dark);
}

.breadcrumb-separator {
    font-size: 10px;
    color: var(--border-medium);
}

html[dir="rtl"] .breadcrumb-separator .fa-chevron-right::before,
body.rtl .breadcrumb-separator .fa-chevron-right::before {
    content: "\f053"; /* fa-chevron-left */
}

.breadcrumb-current {
    color: var(--dark);
    font-weight: 600;
}

.hero-section {
    padding: 24px 0 44px;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-surface) 100%);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 36px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content-col {
    display: flex;
    flex-direction: column;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary-hover);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 18px;
    width: fit-content;
}

.hero-main-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.18;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 16.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-actions-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-stats-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

.hero-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}

/* Right Hero Visual Card with Realistic Machinery */
.hero-visual-col {
    position: relative;
}

.hero-visual-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
}

.hero-main-img-holder {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 3px solid #ffffff;
    height: 380px;
    background-color: var(--dark);
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-card:hover .hero-main-img {
    transform: scale(1.03);
}

/* Floating Status Badges on Hero Visual */
.hero-float-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 5;
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.hero-float-badge.badge-top-left {
    top: 20px;
    left: -20px;
}

.hero-float-badge.badge-bottom-right {
    bottom: 20px;
    right: -20px;
    animation-delay: 2s;
}

html[dir="rtl"] .hero-float-badge.badge-top-left,
body.rtl .hero-float-badge.badge-top-left {
    left: auto;
    right: -20px;
}

html[dir="rtl"] .hero-float-badge.badge-bottom-right,
body.rtl .hero-float-badge.badge-bottom-right {
    right: auto;
    left: -20px;
}

@keyframes floatAnim {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

.hero-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.icon-lightning {
    background: rgba(250, 197, 21, 0.2);
    color: #b78103;
}

.icon-shield {
    background: var(--primary-light);
    color: var(--primary);
}

.hero-badge-text strong {
    display: block;
    font-size: 13.5px;
    color: var(--dark);
    line-height: 1.2;
}

.hero-badge-text span {
    display: block;
    font-size: 11.5px;
    color: var(--text-muted);
}

/* --- 8. MAIN CONTACT & QUOTE GRID --- */
.main-content-section {
    padding-bottom: 80px;
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 36px;
    align-items: start;
}

/* White Card Box (Rentmas box_white with_form) */
.box-white {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.box-white:hover {
    box-shadow: var(--shadow-md);
}

.form-card-header {
    margin-bottom: 28px;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}

/* Equipment Chips Selector */
.equipment-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border-light);
    background-color: var(--bg-surface);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.chip-btn i {
    color: var(--text-muted);
    font-size: 14px;
}

.chip-btn:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.chip-btn.active {
    background-color: var(--dark);
    color: #ffffff;
    border-color: var(--dark);
}

.chip-btn.active i {
    color: var(--primary);
}

/* Form Controls */
.row-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 7px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
}

html[dir="rtl"] .input-icon, body.rtl .input-icon {
    left: auto;
    right: 14px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    background-color: #ffffff;
    font-size: 14px;
    color: var(--dark);
    transition: var(--transition);
    outline: none;
}

html[dir="rtl"] .form-input,
html[dir="rtl"] .form-select,
body.rtl .form-input,
body.rtl .form-select {
    padding: 12px 42px 12px 14px;
}

.form-textarea {
    padding: 12px 14px;
    resize: vertical;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 180, 179, 0.15);
}

.field-error {
    display: block;
    color: #e53e3e;
    font-size: 12px;
    margin-top: 4px;
}

.form-checkbox-group {
    margin: 18px 0;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.custom-checkbox input {
    margin-top: 3px;
    accent-color: var(--primary);
}

/* Success Box Inside Form */
.form-success-box {
    background-color: var(--primary-light);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.success-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 12px;
}

/* --- 9. RIGHT COLUMN: DIRECT CONTACT & GUARANTEES --- */
.box-info-grey {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 28px;
}

.circle-icon {
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    margin-right: 16px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

html[dir="rtl"] .circle-icon, body.rtl .circle-icon {
    margin-right: 0;
    margin-left: 16px;
}

.info-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.info-card-sub {
    font-size: 13px;
    color: var(--text-muted);
}

.contact-channel-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.channel-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    transition: var(--transition);
}

.channel-card:hover {
    border-color: var(--dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.channel-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 14px;
    flex-shrink: 0;
}

html[dir="rtl"] .channel-icon, body.rtl .channel-icon {
    margin-right: 0;
    margin-left: 14px;
}

.whatsapp-bg { background-color: rgba(37, 211, 102, 0.15); color: var(--whatsapp-green); }
.phone-bg { background-color: rgba(250, 197, 21, 0.2); color: #b78103; }
.email-bg { background-color: rgba(0, 180, 179, 0.15); color: var(--primary); }

.channel-details {
    flex-grow: 1;
}

.channel-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.channel-val {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

.channel-action-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

html[dir="rtl"] .channel-action-badge .fa-arrow-right::before,
body.rtl .channel-action-badge .fa-arrow-right::before {
    content: "\f060"; /* fa-arrow-left */
}

.working-hours-card {
    background: #ffffff;
    border: 1px dashed var(--border-medium);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-size: 13px;
}

/* Owner Equipment Callout */
.owner-callout-card {
    border-left: 5px solid var(--accent-yellow);
}

html[dir="rtl"] .owner-callout-card, body.rtl .owner-callout-card {
    border-left: 2px solid var(--border-light);
    border-right: 5px solid var(--accent-yellow);
}

.owner-badge {
    display: inline-block;
    background-color: rgba(250, 197, 21, 0.2);
    color: #a16207;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}

.owner-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.owner-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.owner-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--dark);
}

/* Guarantees List */
.guarantees-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.guarantee-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guarantee-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.guarantee-icon {
    width: 38px;
    height: 38px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.guarantee-row strong {
    display: block;
    font-size: 14.5px;
    color: var(--dark);
    margin-bottom: 2px;
}

.guarantee-row p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- 10. QUICK CALLBACK SECTION --- */
.callback-section {
    padding: 20px 0 60px;
}

.callback-card {
    background: linear-gradient(135deg, var(--dark) 0%, #1e2527 100%);
    border-radius: var(--radius-xl);
    padding: 40px;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
}

.callback-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

.callback-tag {
    display: inline-block;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

.callback-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.callback-desc {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 0;
}

.callback-form {
    gap: 12px;
}

.callback-input-wrap {
    position: relative;
    flex-grow: 1;
}

.callback-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

html[dir="rtl"] .callback-input-wrap i, body.rtl .callback-input-wrap i {
    left: auto;
    right: 16px;
}

.callback-input-wrap input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border-radius: var(--radius-pill);
    border: none;
    font-size: 14px;
    color: var(--dark);
    outline: none;
}

html[dir="rtl"] .callback-input-wrap input, body.rtl .callback-input-wrap input {
    padding: 13px 44px 13px 16px;
}

/* --- 11. EQUIPMENT CATALOG SHOWCASE --- */
.equipment-showcase-section {
    padding: 60px 0 80px;
    background-color: #ffffff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-kicker {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-lead {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.equipment-card {
    background: #ffffff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.equipment-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.eq-image-holder {
    position: relative;
    height: 200px;
    background-color: var(--bg-surface);
    overflow: hidden;
}

.eq-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.equipment-card:hover .eq-img {
    transform: scale(1.04);
}

.eq-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(41, 51, 53, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(4px);
}

html[dir="rtl"] .eq-badge, body.rtl .eq-badge {
    left: auto;
    right: 12px;
}

.eq-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.eq-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.eq-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.eq-specs {
    list-style: none;
    margin-bottom: 20px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eq-specs li {
    font-size: 13px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.eq-specs li i {
    color: var(--primary);
    font-size: 12px;
}

/* --- 12. 3-STEP PROCESS --- */
.process-section {
    padding: 70px 0;
    background-color: var(--bg-surface);
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 36px;
}

.process-step-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.process-step-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-circle-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 180, 179, 0.4);
}

.step-icon {
    font-size: 32px;
    color: var(--dark);
    margin: 12px 0 16px;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
}

/* --- 13. COMPREHENSIVE RENTMAS-STYLE FOOTER --- */
.main-footer {
    background-color: var(--dark);
    color: #eaecf5;
    font-size: 14px;
}

.main-footer-top {
    padding: 64px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo .logo-main {
    color: #ffffff;
}

.footer-brand-desc {
    color: #a0aec0;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-links-list a:hover {
    color: var(--primary);
    padding-left: 4px;
}

html[dir="rtl"] .footer-links-list a:hover,
body.rtl .footer-links-list a:hover {
    padding-left: 0;
    padding-right: 4px;
}

.footer-contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.footer-contact-info p i {
    color: var(--primary);
    width: 16px;
}

.footer-contact-info a:hover {
    color: var(--primary);
}

.footer-lang-picker {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-lang-label {
    color: #a0aec0;
    font-size: 13px;
}

.lang-flags-row {
    display: flex;
    gap: 8px;
}

.footer-flag-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid transparent;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.footer-flag-btn img {
    width: 18px;
    height: 12px;
    border-radius: 2px;
}

.footer-flag-btn:hover, .footer-flag-btn.active {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

/* SEO Footer Directory */
.seo-footer-section {
    background-color: #1e2527;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

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

.seo-col strong {
    display: block;
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 13.5px;
}

.seo-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.seo-col a {
    color: #94a3b8;
}

.seo-col a:hover {
    color: #ffffff;
}

/* Bottom Legal Bar */
.footer-bottom-bar {
    background-color: #171c1e;
    padding: 18px 0;
    font-size: 13px;
    color: #94a3b8;
}

.legal-links {
    gap: 12px;
}

.legal-links a {
    color: #94a3b8;
}

.legal-links a:hover {
    color: #ffffff;
}

.dot-separator {
    color: #475569;
}

/* --- 14. FLOATING ACTIONS (WHATSAPP & PHONE) --- */
.floating-actions-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

html[dir="rtl"] .floating-actions-container, body.rtl .floating-actions-container {
    right: auto;
    left: 28px;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.08) translateY(-3px);
}

.float-whatsapp {
    background-color: var(--whatsapp-green);
}

.float-phone {
    background-color: var(--phone-yellow);
    color: var(--dark);
}

.float-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

html[dir="rtl"] .float-tooltip, body.rtl .float-tooltip {
    right: auto;
    left: calc(100% + 12px);
}

.float-btn:hover .float-tooltip {
    opacity: 1;
}

/* --- 15. CUSTOM MODALS & TOASTS --- */
.custom-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.custom-modal-overlay.active {
    display: flex;
}

.custom-modal-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 520px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.custom-modal-header {
    background: var(--dark);
    color: #ffffff;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
}

.custom-modal-body {
    padding: 24px;
}

.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

html[dir="rtl"] .toast-container, body.rtl .toast-container {
    right: auto;
    left: 24px;
}

.toast-alert {
    background: var(--dark);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    border-left: 4px solid var(--primary);
    animation: slideInToast 0.3s ease forwards;
}

html[dir="rtl"] .toast-alert, body.rtl .toast-alert {
    border-left: none;
    border-right: 4px solid var(--primary);
}

@keyframes slideInToast {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 16. RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .seo-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-nav {
        display: none;
    }
    .nav-menu, .search-box-wrapper, #header-devis-btn {
        display: none !important;
    }
    .mobile-nav-toggle {
        display: flex;
    }
    .page-main-title {
        font-size: 26px;
    }
    .page-subtitle {
        font-size: 15px;
    }
    .row-2-cols {
        grid-template-columns: 1fr;
    }
    .callback-content {
        grid-template-columns: 1fr;
    }
    .callback-form {
        flex-direction: column;
    }
    .callback-form button {
        width: 100%;
    }
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    .process-steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .seo-footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-bar .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .floating-actions-container {
        bottom: 18px;
        right: 18px;
    }
    html[dir="rtl"] .floating-actions-container, body.rtl .floating-actions-container {
        left: 18px;
    }
    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}
