:root {
    --primary: #0F1F3D;
    --primary-dark: #07142A;
    --secondary: #E67E2F;
    --secondary-dark: #C76422;
    --gold: #C9A646;
    --bg: #F6F7FB;
    --white: #ffffff;
    --text: #1F2937;
    --muted: #6B7280;
    --border: rgba(15, 31, 61, .10);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Alexandria', sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    text-decoration: none;
}

.container {
    width: min(1320px, calc(100% - 48px));
    margin: auto;
}

/* Topbar */
.cm-topbar {
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.cm-topbar-inner {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cm-topbar-info,
.cm-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cm-topbar i {
    color: var(--secondary);
}

/* Header */
.cm-header {
    background: rgba(255,255,255,.97);
    box-shadow: 0 20px 60px rgba(15,31,61,.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.cm-header-inner {
    height: 96px;
    display: grid;
    grid-template-columns: 260px 1fr 180px;
    align-items: center;
    gap: 24px;
}

.cm-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cm-brand img {
    width: 82px;
    height: auto;
    display: block;
}

.cm-brand-text strong {
    display: block;
    font-size: 22px;
    color: var(--primary);
}

.cm-brand-text span {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 600;
}

.cm-menu {
    display: flex;
    justify-content: center;
    gap: 34px;
}

.cm-menu a {
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
    transition: .25s ease;
}

.cm-menu a:hover {
    color: var(--secondary);
}

.cm-header-action {
    display: flex;
    justify-content: flex-end;
}

.cm-btn {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(230,126,47,.28);
    transition: .25s ease;
}

.cm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(230,126,47,.35);
}

/* Footer */
.cm-footer {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 70px 0 20px;
}

.cm-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
}

.cm-footer h3 {
    margin: 0 0 18px;
    color: var(--white);
}

.cm-footer p,
.cm-footer a {
    color: rgba(255,255,255,.74);
    line-height: 1.9;
    font-size: 14px;
}

.cm-footer a {
    display: block;
    margin-bottom: 8px;
    transition: .25s ease;
}

.cm-footer a:hover {
    color: var(--secondary);
}

.cm-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.10);
    margin-top: 40px;
    padding-top: 18px;
    text-align: center;
    color: rgba(255,255,255,.70);
    font-size: 13px;
}



/* HERO */

.cm-hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e') center/cover no-repeat;
}

.cm-hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(15,31,61,.95),
        rgba(15,31,61,.75)
    );
}

.cm-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
}

.cm-hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cm-hero p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 30px;
    color: #d1d5db;
}

.cm-hero-buttons {
    display: flex;
    gap: 15px;
}

/* زر ثانوي */

.cm-btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
}

.cm-btn-outline:hover {
    background: #fff;
    color: var(--primary);
}



/* SERVICES */

.cm-services {
    padding: 100px 0;
    background: #fff;
}

.cm-section-head {
    text-align: center;
    margin-bottom: 50px;
}

.cm-section-head h2 {
    font-size: 34px;
    color: var(--primary);
    margin-bottom: 10px;
}

.cm-section-head p {
    color: #6b7280;
}

.cm-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 25px;
}

.cm-service-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s;
}

.cm-service-card i {
    font-size: 30px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.cm-service-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.cm-service-card p {
    color: #6b7280;
    font-size: 14px;
}

.cm-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}



/* About */

.cm-about {
    padding: 110px 0;
    background:
        radial-gradient(circle at top left, rgba(230,126,47,.08), transparent 35%),
        var(--white);
}

.cm-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.cm-eyebrow {
    display: inline-flex;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 14px;
    font-size: 14px;
}

.cm-about-content h2 {
    font-size: 38px;
    line-height: 1.5;
    color: var(--primary);
    margin: 0 0 18px;
}

.cm-about-content p {
    color: var(--muted);
    line-height: 2;
    font-size: 16px;
    margin-bottom: 26px;
}

.cm-about-points {
    display: grid;
    gap: 14px;
    margin-bottom: 34px;
}

.cm-about-points div {
    color: var(--primary);
    font-weight: 700;
}

.cm-about-points i {
    color: var(--secondary);
    margin-left: 8px;
}

.cm-about-image {
    position: relative;
    min-height: 520px;
}

.cm-about-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 34px;
    box-shadow: 0 30px 80px rgba(15,31,61,.18);
}

.cm-about-image::before {
    content: "";
    position: absolute;
    width: 72%;
    height: 72%;
    right: -24px;
    bottom: -24px;
    border-radius: 34px;
    border: 2px solid rgba(230,126,47,.28);
    z-index: -1;
}

.cm-about-badge {
    position: absolute;
    right: 28px;
    bottom: 28px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(10px);
    padding: 20px 26px;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(15,31,61,.16);
}

.cm-about-badge strong {
    display: block;
    color: var(--primary);
    font-size: 26px;
    font-weight: 900;
}

.cm-about-badge span {
    color: var(--secondary);
    font-weight: 800;
}


/* Why CM2 */

.cm-why {
    padding: 110px 0;
    background: var(--bg);
}

.cm-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cm-why-card {
    background: var(--white);
    padding: 34px 26px;
    border-radius: 26px;
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(15,31,61,.06);
    transition: .3s ease;
}

.cm-why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 70px rgba(15,31,61,.10);
}

.cm-why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: rgba(230,126,47,.12);
    display: grid;
    place-items: center;
}

.cm-why-icon i {
    color: var(--secondary);
    font-size: 26px;
}

.cm-why-card h3 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 12px;
}

.cm-why-card p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}


/* Stats */

.cm-stats {
    padding: 70px 0;
    background:
        linear-gradient(135deg, rgba(15,31,61,.96), rgba(7,20,42,.98)),
        url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80') center/cover fixed;
    color: var(--white);
}

.cm-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.cm-stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 24px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
}

.cm-stat-item strong {
    display: block;
    font-size: 42px;
    color: var(--secondary);
    font-weight: 900;
    margin-bottom: 10px;
}

.cm-stat-item span {
    color: rgba(255,255,255,.82);
    font-weight: 700;
}


/* Responsive */

@media (max-width: 992px) {
    .cm-about-grid,
    .cm-why-grid,
    .cm-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cm-about-content h2 {
        font-size: 30px;
    }
}

@media (max-width: 640px) {
    .cm-about-grid,
    .cm-why-grid,
    .cm-stats-grid {
        grid-template-columns: 1fr;
    }

    .cm-about-image,
    .cm-about-image img {
        min-height: auto;
        height: 360px;
    }
}



/* Projects */

.cm-projects {
    padding: 115px 0;
    background:
        radial-gradient(circle at top right, rgba(230,126,47,.08), transparent 34%),
        var(--white);
}

.cm-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cm-project-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 24px 70px rgba(15,31,61,.08);
    transition: .35s ease;
}

.cm-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 34px 90px rgba(15,31,61,.14);
}

.cm-project-image {
    position: relative;
    height: 270px;
    overflow: hidden;
}

.cm-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s ease;
}

.cm-project-card:hover .cm-project-image img {
    transform: scale(1.08);
}

.cm-project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,31,61,.75), transparent 58%);
}

.cm-project-image span {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 2;
    background: rgba(255,255,255,.92);
    color: var(--secondary);
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.cm-project-content {
    padding: 26px;
}

.cm-project-meta {
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 14px;
}

.cm-project-meta i {
    color: var(--secondary);
    margin-left: 5px;
}

.cm-project-content h3 {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 22px;
    font-weight: 900;
}

.cm-project-content p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 14px;
    margin: 0 0 18px;
}

.cm-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.cm-project-tags span {
    background: rgba(230,126,47,.10);
    color: var(--secondary);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.cm-project-content a {
    color: var(--primary);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: .25s ease;
}

.cm-project-content a:hover {
    color: var(--secondary);
    gap: 12px;
}

.cm-projects-more {
    text-align: center;
    margin-top: 45px;
}

@media (max-width: 992px) {
    .cm-projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .cm-projects-grid {
        grid-template-columns: 1fr;
    }

    .cm-project-image {
        height: 230px;
    }
}



/* Process */

.cm-process {
    padding: 110px 0;
    background: var(--bg);
}

.cm-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.cm-process-step {
    background: var(--white);
    padding: 34px 24px;
    border-radius: 28px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(15,31,61,.07);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: .3s ease;
}

.cm-process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(15,31,61,.12);
}

.cm-process-step span {
    position: absolute;
    left: 20px;
    top: 16px;
    font-size: 42px;
    font-weight: 900;
    color: rgba(230,126,47,.10);
}

.cm-process-step i {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    background: rgba(230,126,47,.12);
    color: var(--secondary);
    font-size: 28px;
}

.cm-process-step h3 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 10px;
}

.cm-process-step p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

/* Quality */

.cm-quality {
    padding: 115px 0;
    background:
        linear-gradient(135deg, rgba(15,31,61,.96), rgba(7,20,42,.96)),
        url('https://images.unsplash.com/photo-1565008447742-97f6f38c985c?auto=format&fit=crop&w=1600&q=80') center/cover fixed;
    color: var(--white);
}

.cm-quality-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 55px;
    align-items: center;
}

.cm-quality-content h2 {
    font-size: 38px;
    line-height: 1.5;
    margin: 0 0 18px;
}

.cm-quality-content p {
    color: rgba(255,255,255,.78);
    line-height: 2;
    margin-bottom: 28px;
}

.cm-quality-list {
    display: grid;
    gap: 14px;
}

.cm-quality-list div {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    padding: 15px 18px;
    border-radius: 16px;
    color: rgba(255,255,255,.86);
    font-weight: 700;
}

.cm-quality-list i {
    color: var(--secondary);
    margin-left: 8px;
}

.cm-quality-cards {
    display: grid;
    gap: 18px;
}

.cm-quality-card {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    padding: 26px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.cm-quality-card strong {
    color: var(--secondary);
    font-size: 28px;
    font-weight: 900;
}

.cm-quality-card h3 {
    margin: 8px 0;
    font-size: 22px;
}

.cm-quality-card p {
    margin: 0;
    color: rgba(255,255,255,.74);
    line-height: 1.8;
}

@media (max-width: 992px) {
    .cm-process-grid,
    .cm-quality-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .cm-process-grid,
    .cm-quality-grid {
        grid-template-columns: 1fr;
    }
}



/* Clients */

.cm-clients {
    padding: 90px 0;
    background: var(--white);
}

.cm-clients-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.cm-clients-grid img {
    opacity: 0.6;
    transition: 0.3s;
}

.cm-clients-grid img:hover {
    opacity: 1;
}

/* Testimonials */

.cm-testimonials {
    padding: 100px 0;
    background: var(--bg);
}

.cm-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    margin-top: 40px;
}

.cm-testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
}

.cm-testimonial-card p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.cm-testimonial-card strong {
    color: var(--primary);
}

/* CTA FINAL */

.cm-cta-final {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), #07142A);
    color: #fff;
}

.cm-cta-final h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.cm-cta-final p {
    margin-bottom: 30px;
    color: rgba(255,255,255,0.8);
}

.cm-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive */

@media (max-width: 992px) {
    .cm-testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .cm-testimonials-grid {
        grid-template-columns: 1fr;
    }
}




/* Page Hero */

.cm-page-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    background: center/cover no-repeat;
    color: var(--white);
}

.cm-about-page-hero {
    background-image: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1600&q=80');
}

.cm-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,31,61,.96), rgba(15,31,61,.70));
}

.cm-page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.cm-page-hero-content span {
    color: var(--secondary);
    font-weight: 900;
}

.cm-page-hero-content h1 {
    font-size: 48px;
    line-height: 1.4;
    margin: 12px 0 16px;
}

.cm-page-hero-content p {
    color: rgba(255,255,255,.82);
    line-height: 2;
    font-size: 17px;
}

/* About Intro */

.cm-about-intro {
    padding: 110px 0;
    background: var(--white);
}

.cm-about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.cm-about-intro-text h2 {
    font-size: 38px;
    line-height: 1.5;
    color: var(--primary);
    margin: 0 0 18px;
}

.cm-about-intro-text p {
    color: var(--muted);
    line-height: 2;
    font-size: 16px;
}

.cm-about-intro-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.cm-btn-outline.dark {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 22px;
    border-radius: 14px;
    font-weight: 800;
    transition: .25s ease;
}

.cm-btn-outline.dark:hover {
    background: var(--primary);
    color: var(--white);
}

.cm-about-intro-image {
    position: relative;
}

.cm-about-intro-image img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: 36px;
    box-shadow: 0 30px 90px rgba(15,31,61,.16);
}

.cm-floating-card {
    position: absolute;
    right: 28px;
    bottom: 28px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 22px 28px;
    box-shadow: 0 20px 60px rgba(15,31,61,.18);
}

.cm-floating-card strong {
    display: block;
    color: var(--primary);
    font-size: 30px;
    font-weight: 900;
}

.cm-floating-card span {
    color: var(--secondary);
    font-weight: 800;
}

/* Mission Vision */

.cm-mission-vision {
    padding: 110px 0;
    background: var(--bg);
}

.cm-mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.cm-mv-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 22px 70px rgba(15,31,61,.07);
    transition: .3s ease;
}

.cm-mv-card:hover {
    transform: translateY(-10px);
}

.cm-mv-card i {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: rgba(230,126,47,.12);
    color: var(--secondary);
    font-size: 28px;
}

.cm-mv-card h3 {
    color: var(--primary);
    font-size: 24px;
    margin: 0 0 14px;
}

.cm-mv-card p {
    color: var(--muted);
    line-height: 1.9;
    margin: 0;
}

.cm-mv-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.cm-mv-card.featured h3,
.cm-mv-card.featured p {
    color: var(--white);
}

/* Values */

.cm-values-page {
    padding: 110px 0;
    background: var(--white);
}

.cm-values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.cm-value-card {
    padding: 30px 22px;
    border-radius: 26px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 18px 60px rgba(15,31,61,.06);
    text-align: center;
    transition: .3s ease;
}

.cm-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 80px rgba(15,31,61,.10);
}

.cm-value-card i {
    color: var(--secondary);
    font-size: 30px;
    margin-bottom: 16px;
}

.cm-value-card h3 {
    color: var(--primary);
    margin: 0 0 10px;
}

.cm-value-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* Luxury About Page */

.cm-about-luxury-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.cm-about-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15,31,61,.97), rgba(15,31,61,.72)),
        url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=80') center/cover;
}

.cm-about-hero-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
}

.cm-about-hero-text h1 {
    font-size: 58px;
    line-height: 1.35;
    margin: 0 0 18px;
}

.cm-about-hero-text p {
    font-size: 18px;
    line-height: 2;
    color: rgba(255,255,255,.82);
    max-width: 720px;
}

.cm-about-hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.cm-btn-light {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.28);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.cm-about-hero-cards {
    display: grid;
    gap: 18px;
}

.cm-about-hero-cards div {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 25px 80px rgba(0,0,0,.18);
}

.cm-about-hero-cards strong {
    display: block;
    font-size: 30px;
    color: var(--secondary);
}

.cm-about-hero-cards span {
    color: rgba(255,255,255,.82);
    font-weight: 700;
}

/* Showcase */

.cm-about-showcase {
    padding: 125px 0;
    background: var(--white);
}

.cm-showcase-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 80px;
    align-items: center;
}

.cm-showcase-images {
    position: relative;
    min-height: 560px;
}

.cm-showcase-images .img-main {
    width: 82%;
    height: 520px;
    object-fit: cover;
    border-radius: 40px 12px 40px 12px;
    box-shadow: 0 35px 100px rgba(15,31,61,.18);
}

.cm-showcase-images .img-small {
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 48%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px 36px 12px 36px;
    border: 10px solid var(--white);
    box-shadow: 0 25px 70px rgba(15,31,61,.18);
}

.cm-image-badge {
    position: absolute;
    right: 26px;
    bottom: 44px;
    background: rgba(255,255,255,.94);
    border-radius: 28px;
    padding: 22px 26px;
    box-shadow: 0 25px 80px rgba(15,31,61,.18);
    backdrop-filter: blur(12px);
}

.cm-image-badge i {
    color: var(--secondary);
    font-size: 26px;
}

.cm-image-badge strong {
    display: block;
    color: var(--primary);
    font-size: 28px;
    font-weight: 900;
}

.cm-image-badge span {
    color: var(--muted);
    font-weight: 700;
}

.cm-showcase-text h2,
.cm-quality-lux-text h2 {
    font-size: 42px;
    line-height: 1.5;
    color: var(--primary);
    margin: 0 0 18px;
}

.cm-showcase-text p,
.cm-quality-lux-text p {
    color: var(--muted);
    line-height: 2;
    font-size: 16px;
}

.cm-signature-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.cm-signature-list div {
    padding: 16px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    color: var(--primary);
    font-weight: 800;
}

.cm-signature-list i {
    color: var(--secondary);
    margin-left: 8px;
}

/* Numbers */

.cm-about-numbers {
    padding: 65px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.cm-about-numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cm-about-numbers-grid div {
    text-align: center;
    padding: 30px 20px;
    border-radius: 26px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}

.cm-about-numbers-grid strong {
    display: block;
    color: var(--secondary);
    font-size: 42px;
    font-weight: 900;
}

.cm-about-numbers-grid span {
    color: rgba(255,255,255,.82);
    font-weight: 800;
}

/* Mission */

.cm-about-mission {
    padding: 115px 0;
    background: var(--bg);
}

.cm-mission-lux-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.cm-mission-lux-card {
    background: var(--white);
    border-radius: 34px;
    padding: 38px 30px;
    box-shadow: 0 24px 80px rgba(15,31,61,.08);
    border: 1px solid var(--border);
    transition: .3s;
}

.cm-mission-lux-card:hover {
    transform: translateY(-10px);
}

.cm-mission-lux-card .icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: rgba(230,126,47,.12);
    display: grid;
    place-items: center;
    color: var(--secondary);
    font-size: 30px;
    margin-bottom: 22px;
}

.cm-mission-lux-card h3 {
    color: var(--primary);
    font-size: 24px;
}

.cm-mission-lux-card p {
    color: var(--muted);
    line-height: 1.9;
}

.cm-mission-lux-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.cm-mission-lux-card.featured h3,
.cm-mission-lux-card.featured p {
    color: var(--white);
}

/* Values */

.cm-about-values-lux {
    padding: 115px 0;
    background: var(--white);
}

.cm-values-lux-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.cm-values-lux-grid div {
    text-align: center;
    padding: 32px 20px;
    border-radius: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 20px 70px rgba(15,31,61,.06);
    transition: .3s;
}

.cm-values-lux-grid div:hover {
    transform: translateY(-8px);
}

.cm-values-lux-grid i {
    color: var(--secondary);
    font-size: 32px;
}

.cm-values-lux-grid h3 {
    color: var(--primary);
}

/* Quality */

.cm-about-quality-lux {
    padding: 125px 0;
    background:
        radial-gradient(circle at top right, rgba(230,126,47,.10), transparent 32%),
        var(--bg);
}

.cm-quality-lux-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
}

.cm-quality-lux-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.cm-quality-lux-list div {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 17px 20px;
    border-radius: 18px;
    color: var(--primary);
    font-weight: 800;
    box-shadow: 0 15px 50px rgba(15,31,61,.06);
}

.cm-quality-lux-list i {
    color: var(--secondary);
    margin-left: 8px;
}

.cm-quality-lux-image img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: 12px 42px 12px 42px;
    box-shadow: 0 35px 100px rgba(15,31,61,.18);
}

/* Responsive */

@media (max-width: 992px) {
    .cm-about-hero-wrap,
    .cm-showcase-grid,
    .cm-quality-lux-grid,
    .cm-mission-lux-grid {
        grid-template-columns: 1fr;
    }

    .cm-values-lux-grid,
    .cm-about-numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cm-about-hero-text h1 {
        font-size: 40px;
    }
}

@media (max-width: 640px) {
    .cm-values-lux-grid,
    .cm-about-numbers-grid {
        grid-template-columns: 1fr;
    }

    .cm-showcase-images .img-main {
        width: 100%;
        height: 380px;
    }

    .cm-showcase-images .img-small {
        position: relative;
        width: 100%;
        height: 220px;
        border: 0;
        margin-top: 18px;
    }

    .cm-showcase-images {
        min-height: auto;
    }

    .cm-about-hero-actions {
        flex-direction: column;
    }
}




/* Services Page */

.cm-services-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: var(--white);
    background:
        url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=80') center/cover;
}

.cm-services-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,31,61,.97), rgba(15,31,61,.68));
}

.cm-services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.cm-services-hero-content h1 {
    font-size: 56px;
    line-height: 1.35;
    margin: 10px 0 18px;
}

.cm-services-hero-content p {
    color: rgba(255,255,255,.82);
    line-height: 2;
    font-size: 18px;
}

.cm-services-page {
    padding: 115px 0;
    background: var(--bg);
}

.cm-services-lux-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cm-service-lux-card {
    display: block;
    background: var(--white);
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 25px 80px rgba(15,31,61,.08);
    transition: .35s ease;
}

.cm-service-lux-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 100px rgba(15,31,61,.14);
}

.cm-service-lux-image {
    height: 260px;
    position: relative;
    overflow: hidden;
}

.cm-service-lux-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s ease;
}

.cm-service-lux-card:hover .cm-service-lux-image img {
    transform: scale(1.08);
}

.cm-service-lux-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,31,61,.78), transparent 58%);
}

.cm-service-lux-image span {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    width: 68px;
    height: 68px;
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    color: var(--secondary);
    display: grid;
    place-items: center;
    font-size: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.cm-service-lux-content {
    padding: 28px;
}

.cm-service-lux-content h3 {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 23px;
    font-weight: 900;
}

.cm-service-lux-content p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 14px;
    min-height: 80px;
}

.cm-service-lux-link {
    color: var(--secondary);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cm-service-page-cta {
    padding: 95px 0;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.cm-service-page-cta h2 {
    font-size: 38px;
}

/* Service Details */

.cm-service-details-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
}

.cm-service-details-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,31,61,.98), rgba(15,31,61,.62));
}

.cm-service-details-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.cm-service-details-hero-content h1 {
    font-size: 58px;
    line-height: 1.35;
    margin: 10px 0 18px;
}

.cm-service-details-hero-content p {
    color: rgba(255,255,255,.82);
    line-height: 2;
    font-size: 18px;
}

.cm-service-details-main {
    padding: 110px 0;
    background: var(--white);
}

.cm-service-details-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.cm-service-details-content {
    background:
        radial-gradient(circle at top right, rgba(230,126,47,.08), transparent 32%),
        var(--white);
    border: 1px solid var(--border);
    border-radius: 36px;
    padding: 42px;
    box-shadow: 0 24px 90px rgba(15,31,61,.08);
}

.cm-service-details-icon {
    width: 78px;
    height: 78px;
    border-radius: 26px;
    background: rgba(230,126,47,.12);
    color: var(--secondary);
    display: grid;
    place-items: center;
    font-size: 32px;
    margin-bottom: 22px;
}

.cm-service-details-content h2 {
    color: var(--primary);
    font-size: 36px;
    margin: 0 0 16px;
}

.cm-service-details-content p {
    color: var(--muted);
    line-height: 2;
    font-size: 16px;
}

.cm-service-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
}

.cm-service-items div {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 16px 18px;
    border-radius: 18px;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.7;
}

.cm-service-items i {
    color: var(--secondary);
    margin-left: 8px;
}

.cm-service-side-card {
    position: sticky;
    top: 130px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 32px;
    padding: 34px;
    box-shadow: 0 28px 90px rgba(15,31,61,.18);
}

.cm-service-side-card h3 {
    margin: 0 0 12px;
    font-size: 26px;
}

.cm-service-side-card p {
    color: rgba(255,255,255,.78);
    line-height: 1.9;
}

.cm-side-contact {
    display: grid;
    gap: 12px;
    margin-top: 26px;
    color: rgba(255,255,255,.85);
}

.cm-side-contact i {
    color: var(--secondary);
    margin-left: 8px;
}

.cm-service-gallery {
    padding: 110px 0;
    background: var(--bg);
}

.cm-service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cm-service-gallery-card {
    height: 320px;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 24px 80px rgba(15,31,61,.10);
}

.cm-service-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s ease;
}

.cm-service-gallery-card:hover img {
    transform: scale(1.08);
}

.cm-related-services {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.cm-related-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 992px) {
    .cm-services-lux-grid,
    .cm-service-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cm-service-details-grid {
        grid-template-columns: 1fr;
    }

    .cm-service-side-card {
        position: relative;
        top: auto;
    }
}

@media (max-width: 640px) {
    .cm-services-lux-grid,
    .cm-service-gallery-grid,
    .cm-service-items {
        grid-template-columns: 1fr;
    }

    .cm-services-hero-content h1,
    .cm-service-details-hero-content h1 {
        font-size: 38px;
    }

    .cm-service-lux-content p {
        min-height: auto;
    }

    .cm-related-actions {
        flex-direction: column;
    }
}




/* Projects Page */

.cm-projects-page-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    color: var(--white);
    background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=80') center/cover;
}

.cm-projects-page-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,31,61,.97), rgba(15,31,61,.65));
}

.cm-projects-page-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.cm-projects-page-content h1 {
    font-size: 56px;
    line-height: 1.35;
    margin: 10px 0 18px;
}

.cm-projects-page-content p {
    color: rgba(255,255,255,.82);
    line-height: 2;
    font-size: 18px;
}

.cm-projects-page {
    padding: 115px 0;
    background: var(--bg);
}

.cm-projects-lux-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cm-project-lux-card {
    display: block;
    background: var(--white);
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 25px 80px rgba(15,31,61,.08);
    transition: .35s ease;
}

.cm-project-lux-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 100px rgba(15,31,61,.14);
}

.cm-project-lux-image {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.cm-project-lux-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s ease;
}

.cm-project-lux-card:hover .cm-project-lux-image img {
    transform: scale(1.08);
}

.cm-project-lux-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,31,61,.82), transparent 58%);
}

.cm-project-lux-image span {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 2;
    background: rgba(255,255,255,.95);
    color: var(--secondary);
    padding: 9px 15px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.cm-project-lux-content {
    padding: 28px;
}

.cm-project-lux-meta {
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 14px;
}

.cm-project-lux-meta i {
    color: var(--secondary);
    margin-left: 5px;
}

.cm-project-lux-content h3 {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 23px;
    font-weight: 900;
}

.cm-project-lux-content p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 14px;
    min-height: 100px;
}

.cm-project-lux-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.cm-project-lux-tags span {
    background: rgba(230,126,47,.10);
    color: var(--secondary);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.cm-project-lux-link {
    color: var(--primary);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: .25s ease;
}

.cm-project-lux-card:hover .cm-project-lux-link {
    color: var(--secondary);
    gap: 12px;
}

.cm-projects-page-cta {
    padding: 95px 0;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.cm-projects-page-cta h2 {
    font-size: 38px;
}

/* Project Details */

.cm-project-details-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
}

.cm-project-details-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,31,61,.98), rgba(15,31,61,.58));
}

.cm-project-details-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.cm-project-details-content h1 {
    font-size: 58px;
    line-height: 1.35;
    margin: 10px 0 18px;
}

.cm-project-details-content p {
    color: rgba(255,255,255,.82);
    line-height: 2;
    font-size: 18px;
}

.cm-project-details-main {
    padding: 110px 0;
    background: var(--white);
}

.cm-project-details-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.cm-project-details-text {
    background:
        radial-gradient(circle at top right, rgba(230,126,47,.08), transparent 34%),
        var(--white);
    border: 1px solid var(--border);
    border-radius: 36px;
    padding: 42px;
    box-shadow: 0 24px 90px rgba(15,31,61,.08);
}

.cm-project-details-text h2 {
    color: var(--primary);
    font-size: 38px;
    margin: 0 0 16px;
}

.cm-project-details-text p {
    color: var(--muted);
    line-height: 2;
    font-size: 16px;
}

.cm-project-scope {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
}

.cm-project-scope div {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 16px 18px;
    border-radius: 18px;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.7;
}

.cm-project-scope i {
    color: var(--secondary);
    margin-left: 8px;
}

.cm-project-info-card {
    position: sticky;
    top: 130px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 32px;
    padding: 34px;
    box-shadow: 0 28px 90px rgba(15,31,61,.18);
}

.cm-project-info-card h3 {
    margin: 0 0 24px;
    font-size: 26px;
}

.cm-project-info-card div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.cm-project-info-card span {
    color: rgba(255,255,255,.68);
}

.cm-project-info-card strong {
    color: var(--white);
}

.cm-project-gallery {
    padding: 110px 0;
    background: var(--bg);
}

.cm-project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cm-project-gallery-item {
    height: 340px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(15,31,61,.10);
}

.cm-project-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s ease;
}

.cm-project-gallery-item:hover img {
    transform: scale(1.08);
}

.cm-project-next {
    padding: 100px 0;
    text-align: center;
    background: var(--white);
}

.cm-project-next h2 {
    color: var(--primary);
    font-size: 38px;
}

.cm-project-next p {
    color: var(--muted);
    margin-bottom: 28px;
}

@media (max-width: 992px) {
    .cm-projects-lux-grid,
    .cm-project-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cm-project-details-grid {
        grid-template-columns: 1fr;
    }

    .cm-project-info-card {
        position: relative;
        top: auto;
    }
}

@media (max-width: 640px) {
    .cm-projects-lux-grid,
    .cm-project-gallery-grid,
    .cm-project-scope {
        grid-template-columns: 1fr;
    }

    .cm-projects-page-content h1,
    .cm-project-details-content h1 {
        font-size: 38px;
    }

    .cm-project-lux-content p {
        min-height: auto;
    }
}



/* Contact Page */

.cm-contact-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: var(--white);
    background: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80') center/cover;
}

.cm-contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,31,61,.97), rgba(15,31,61,.65));
}

.cm-contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.cm-contact-hero-content h1 {
    font-size: 56px;
    line-height: 1.35;
    margin: 10px 0 18px;
}

.cm-contact-hero-content p {
    color: rgba(255,255,255,.82);
    line-height: 2;
    font-size: 18px;
}

.cm-contact-page {
    padding: 115px 0;
    background: var(--bg);
}

.cm-contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 55px;
    align-items: start;
}

.cm-contact-info h2 {
    color: var(--primary);
    font-size: 38px;
    margin: 0 0 16px;
}

.cm-contact-info p {
    color: var(--muted);
    line-height: 2;
}

.cm-contact-cards {
    display: grid;
    gap: 16px;
    margin-top: 30px;
}

.cm-contact-cards div {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 18px 55px rgba(15,31,61,.06);
}

.cm-contact-cards i {
    color: var(--secondary);
    font-size: 22px;
    margin-left: 10px;
}

.cm-contact-cards strong {
    color: var(--primary);
    font-weight: 900;
}

.cm-contact-cards span {
    display: block;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.8;
}

.cm-contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 36px;
    padding: 42px;
    box-shadow: 0 28px 90px rgba(15,31,61,.10);
}

.cm-contact-form-wrap h3 {
    color: var(--primary);
    font-size: 30px;
    margin: 0 0 24px;
}

.cm-contact-form {
    display: grid;
    gap: 16px;
}

.cm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cm-contact-form input,
.cm-contact-form select,
.cm-contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: 16px;
    padding: 16px 18px;
    font-family: inherit;
    outline: none;
    color: var(--primary);
}

.cm-contact-form input:focus,
.cm-contact-form select:focus,
.cm-contact-form textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(230,126,47,.10);
}

.cm-map-section {
    padding: 0 0 110px;
    background: var(--bg);
}

.cm-map-card {
    height: 460px;
    overflow: hidden;
    border-radius: 36px;
    box-shadow: 0 28px 90px rgba(15,31,61,.12);
    border: 1px solid var(--border);
}

.cm-map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.cm-contact-cta {
    padding: 95px 0;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.cm-contact-cta h2 {
    font-size: 38px;
    margin: 0 0 14px;
}

.cm-contact-cta p {
    color: rgba(255,255,255,.78);
    margin-bottom: 28px;
}

@media (max-width: 992px) {
    .cm-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .cm-form-row {
        grid-template-columns: 1fr;
    }

    .cm-contact-hero-content h1 {
        font-size: 38px;
    }
}




.cm-service-sections {
    padding: 80px 0;
}

.cm-service-sections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.cm-service-section-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.cm-section-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.cm-section-content {
    padding: 20px;
}

.cm-section-content h3 {
    margin-bottom: 10px;
    color: #0b1f3b;
}

.cm-section-content p {
    color: #666;
    line-height: 1.7;
}

@media(max-width:768px){
    .cm-service-sections-grid {
        grid-template-columns: 1fr;
    }
}




/* القائمة الجانبية */
.sidebar a {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* العناصر تبدأ من اليمين */
    flex-direction: row; /* طبيعي */
    gap: 10px;
}

/* الأيقونة */
.sidebar a i {
    order: 1; /* أول شي (يمين) */
}

/* النص */
.sidebar a span {
    order: 2; /* بعد الأيقونة */
}





.cm-brand{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:300px;
}

.cm-brand img{
    width:78px;
    height:auto;
    object-fit:contain;
}

.cm-brand-text{
    display:flex;
    flex-direction:column;
    line-height:1.25;
    white-space:nowrap;
}

.cm-brand-text strong{
    display:block;
    font-size:24px;
    font-weight:900;
    color:#0b1f3b;
    white-space:nowrap;
}

.cm-brand-text span{
    display:block;
    font-size:13px;
    font-weight:800;
    color:#E67E2F;
    white-space:nowrap;
}

.cm-social{
    display:flex;
    align-items:center;
    gap:12px;
}

.cm-social a{
    color:#fff;
    font-size:16px;
    transition:.25s ease;
}

.cm-social a:hover{
    color:#E67E2F;
    transform:translateY(-2px);
}

.cm-header-action{
    display:flex;
    align-items:center;
    gap:12px;
}

.cm-lang-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:54px;
    height:54px;
    padding:0 16px;
    border-radius:16px;
    background:#0F1F3D;
    color:#fff;
    font-weight:900;
    font-size:15px;
    box-shadow:0 14px 35px rgba(15,31,61,.18);
    transition:.25s ease;
}

.cm-lang-btn:hover{
    background:#E67E2F;
    color:#fff;
    transform:translateY(-2px);
}

@media(max-width:900px){
    .cm-brand{
        min-width:auto;
    }

    .cm-brand-text strong{
        font-size:18px;
    }

    .cm-brand-text span{
        font-size:11px;
    }

    .cm-header-action{
        gap:8px;
    }

    .cm-lang-btn{
        height:46px;
        min-width:48px;
    }
}








/* ===== Header Premium Fix ===== */

.cm-header-inner{
    display:grid !important;
    grid-template-columns:auto 1fr auto !important;
    align-items:center !important;
    gap:34px !important;
}

.cm-brand{
    display:flex !important;
    align-items:center !important;
    gap:14px !important;
    min-width:360px !important;
    max-width:460px !important;
    flex-shrink:0 !important;
}

.cm-brand img{
    width:74px !important;
    height:74px !important;
    object-fit:contain !important;
    flex-shrink:0 !important;
}

.cm-brand-text{
    display:flex !important;
    flex-direction:column !important;
    line-height:1.25 !important;
    min-width:0 !important;
}

.cm-brand-text strong{
    font-size:24px !important;
    font-weight:900 !important;
    color:#0F1F3D !important;
    white-space:normal !important;
    max-width:360px !important;
    line-height:1.3 !important;
}

.cm-brand-text span{
    font-size:13px !important;
    font-weight:800 !important;
    color:#E67E2F !important;
    white-space:nowrap !important;
}

.cm-menu{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:28px !important;
    white-space:nowrap !important;
}

.cm-menu a{
    font-size:17px !important;
    font-weight:800 !important;
    color:#0F1F3D !important;
}

.cm-header-action{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    flex-shrink:0 !important;
}

.cm-header-action .cm-btn,
.cm-lang-btn{
    min-height:58px !important;
    border-radius:16px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-weight:900 !important;
    box-shadow:0 18px 40px rgba(230,126,47,.22) !important;
}

.cm-header-action .cm-btn{
    padding:0 28px !important;
    background:linear-gradient(135deg,#E67E2F,#D96F20) !important;
    color:#fff !important;
    min-width:136px !important;
    line-height:1.35 !important;
    text-align:center !important;
}

.cm-lang-btn{
    padding:0 22px !important;
    min-width:72px !important;
    background:linear-gradient(135deg,#E67E2F,#D96F20) !important;
    color:#fff !important;
    font-size:16px !important;
}

.cm-lang-btn:hover,
.cm-header-action .cm-btn:hover{
    transform:translateY(-2px) !important;
    background:linear-gradient(135deg,#0F1F3D,#07142A) !important;
    color:#fff !important;
}

/* topbar social icons */
.cm-social{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
}

.cm-social a{
    color:#fff !important;
    font-size:16px !important;
}

.cm-social a:hover{
    color:#E67E2F !important;
}

/* Responsive */
@media(max-width:1200px){
    .cm-header-inner{
        grid-template-columns:1fr !important;
        gap:18px !important;
        justify-items:center !important;
        padding:18px 0 !important;
    }

    .cm-brand{
        min-width:auto !important;
        max-width:100% !important;
        justify-content:center !important;
    }

    .cm-brand-text strong{
        text-align:center !important;
        max-width:100% !important;
        font-size:22px !important;
    }

    .cm-brand-text span{
        text-align:center !important;
    }

    .cm-menu{
        flex-wrap:wrap !important;
        gap:18px !important;
    }
}

@media(max-width:768px){
    .cm-topbar-inner{
        flex-direction:column !important;
        gap:10px !important;
        text-align:center !important;
    }

    .cm-topbar-info{
        flex-wrap:wrap !important;
        justify-content:center !important;
        gap:10px !important;
    }

    .cm-brand{
        flex-direction:column !important;
        text-align:center !important;
    }

    .cm-brand img{
        width:64px !important;
        height:64px !important;
    }

    .cm-brand-text strong{
        font-size:19px !important;
    }

    .cm-menu{
        gap:14px !important;
    }

    .cm-menu a{
        font-size:14px !important;
    }

    .cm-header-action{
        width:100% !important;
        justify-content:center !important;
    }

    .cm-header-action .cm-btn,
    .cm-lang-btn{
        min-height:50px !important;
    }
}








/* ===== Final Premium Header Fix ===== */

.cm-header-inner{
    display:grid !important;
    grid-template-columns: 470px 1fr auto !important;
    align-items:center !important;
    gap:32px !important;
    min-height:96px !important;
}

.cm-brand{
    display:flex !important;
    align-items:center !important;
    gap:16px !important;
    min-width:470px !important;
    max-width:470px !important;
}

.cm-brand img{
    width:92px !important;
    height:92px !important;
    object-fit:contain !important;
}

.cm-brand-text{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    line-height:1.15 !important;
    overflow:hidden !important;
}

.cm-brand-text strong{
    font-size:27px !important;
    font-weight:900 !important;
    color:#0F1F3D !important;
    white-space:nowrap !important;
    line-height:1.25 !important;
}

.cm-brand-text span{
    font-size:13px !important;
    font-weight:900 !important;
    color:#E67E2F !important;
    white-space:nowrap !important;
    margin-top:5px !important;
}

.cm-menu{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:30px !important;
    white-space:nowrap !important;
}

.cm-menu a{
    position:relative !important;
    color:#0F1F3D !important;
    font-size:18px !important;
    font-weight:900 !important;
    padding:10px 0 !important;
    transition:.25s ease !important;
}

.cm-menu a::after{
    content:"" !important;
    position:absolute !important;
    right:0 !important;
    bottom:0 !important;
    width:0 !important;
    height:3px !important;
    background:#E67E2F !important;
    border-radius:999px !important;
    transition:.25s ease !important;
}

.cm-menu a:hover{
    color:#E67E2F !important;
}

.cm-menu a:hover::after{
    width:100% !important;
}

.cm-header-action{
    display:flex !important;
    align-items:center !important;
    gap:14px !important;
    flex-shrink:0 !important;
}

.cm-header-action .cm-btn,
.cm-lang-btn{
    width:150px !important;
    height:66px !important;
    padding:0 18px !important;
    border-radius:18px !important;
    background:linear-gradient(135deg,#E67E2F,#D86E20) !important;
    color:#fff !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    font-size:18px !important;
    font-weight:900 !important;
    line-height:1.25 !important;
    box-shadow:0 18px 42px rgba(230,126,47,.22) !important;
    transition:.25s ease !important;
}

.cm-lang-btn{
    font-size:17px !important;
}

.cm-header-action .cm-btn:hover,
.cm-lang-btn:hover{
    background:linear-gradient(135deg,#0F1F3D,#07142A) !important;
    color:#fff !important;
    transform:translateY(-3px) !important;
}

.cm-social{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
}

.cm-social a{
    color:#fff !important;
    font-size:16px !important;
    transition:.25s ease !important;
}

.cm-social a:hover{
    color:#E67E2F !important;
    transform:translateY(-2px) !important;
}

@media(max-width:1300px){
    .cm-header-inner{
        grid-template-columns:1fr !important;
        justify-items:center !important;
        gap:18px !important;
        padding:18px 0 !important;
    }

    .cm-brand{
        min-width:auto !important;
        max-width:100% !important;
        justify-content:center !important;
    }

    .cm-menu{
        flex-wrap:wrap !important;
        gap:22px !important;
    }
}

@media(max-width:768px){
    .cm-brand{
        flex-direction:column !important;
        text-align:center !important;
    }

    .cm-brand img{
        width:76px !important;
        height:76px !important;
    }

    .cm-brand-text strong{
        font-size:20px !important;
        white-space:normal !important;
        text-align:center !important;
    }

    .cm-brand-text span{
        font-size:12px !important;
    }

    .cm-menu{
        gap:14px !important;
    }

    .cm-menu a{
        font-size:14px !important;
    }

    .cm-header-action{
        justify-content:center !important;
        flex-wrap:wrap !important;
    }

    .cm-header-action .cm-btn,
    .cm-lang-btn{
        width:140px !important;
        height:56px !important;
        font-size:15px !important;
    }
}





/* تحريك الشعار لليمين أكثر */
.cm-brand{
    margin-right: 25px !important;
}

/* تقليل المسافة بين الشعار والنص */
.cm-brand img{
    margin-left: 6px !important;
}

/* نعطي مساحة أكبر لاسم الشركة */
.cm-brand-text{
    flex: 1 !important;
}





/* ===== Header Balance Fix ===== */

.cm-header-inner{
    grid-template-columns: 520px 1fr 355px !important;
    gap: 24px !important;
}

.cm-brand{
    min-width: 520px !important;
    max-width: 520px !important;
    margin-right: 0 !important;
    gap: 12px !important;
}

.cm-brand img{
    width: 88px !important;
    height: 88px !important;
}

.cm-brand-text strong{
    font-size: 24px !important;
    letter-spacing: -0.5px !important;
    max-width: 410px !important;
}

.cm-menu{
    gap: 24px !important;
}

.cm-menu a{
    font-size: 17px !important;
}

.cm-header-action .cm-btn,
.cm-lang-btn{
    width: 130px !important;
    height: 64px !important;
    font-size: 16px !important;
}






/* حذف أي مسافة زائدة */
.cm-brand-text{
    display:flex !important;
    align-items:center !important;
    height:100% !important;
}

/* توسيط اسم الشركة */
.cm-brand-text strong{
    display:flex !important;
    align-items:center !important;
    height:100% !important;
    margin-top:6px !important;
}


.cm-brand{
    align-items:center !important;
}

.cm-brand img{
    align-self:center !important;
}









/* ===== Premium Dynamic Footer ===== */

.cm-footer-logo{
    width:110px;
    height:80px;
    object-fit:contain;
    margin-bottom:18px;
    background:rgba(255,255,255,.04);
    border-radius:18px;
    padding:10px;
}

.cm-footer-about p{
    max-width:420px;
}

.cm-footer-social{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:22px;
    flex-wrap:wrap;
}

.cm-footer-social a{
    width:42px;
    height:42px;
    border-radius:14px;
    background:rgba(230,126,47,.12);
    color:#E67E2F !important;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    transition:.25s ease;
    border:1px solid rgba(230,126,47,.22);
}

.cm-footer-social a:hover{
    background:#E67E2F;
    color:#fff !important;
    transform:translateY(-4px);
    box-shadow:0 14px 35px rgba(230,126,47,.32);
}

.cm-footer p i{
    color:#E67E2F;
    margin-left:7px;
}

.cm-footer a{
    transition:.25s ease;
}

.cm-footer a:hover{
    color:#E67E2F !important;
    transform:translateX(-4px);
}









/* HERO */
.project-hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display:flex;
    align-items:center;
    color:#fff;
}
.project-hero .overlay {
    position:absolute;
    inset:0;
    background:linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,.8));
}
.hero-content {
    position:relative;
    z-index:2;
}
.hero-content h1 {
    font-size:48px;
    font-weight:800;
}
.tag {
    background:#ff7a18;
    padding:6px 14px;
    border-radius:20px;
}

/* OVERVIEW */
.project-overview .grid {
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
    margin-top:60px;
}
.info-card {
    background:#fff;
    padding:25px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.info-card div {
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
}

/* GALLERY */
.gallery-grid {
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
    gap:20px;
}
.gallery-item img {
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:12px;
    transition:.3s;
}
.gallery-item img:hover {
    transform:scale(1.05);
}

/* CTA */
.project-cta {
    text-align:center;
    padding:80px 0;
    background:#0b1f3b;
    color:#fff;
}


















/* ===== Final Premium Header Fix ===== */

.cm-header-inner{
    display:grid !important;
    grid-template-columns: 470px 1fr auto !important;
    align-items:center !important;
    gap:32px !important;
    min-height:96px !important;
}

.cm-brand{
    display:flex !important;
    align-items:center !important;
    gap:16px !important;
    min-width:470px !important;
    max-width:470px !important;
}

.cm-brand img{
    width:92px !important;
    height:92px !important;
    object-fit:contain !important;
}

.cm-brand-text{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    line-height:1.15 !important;
    overflow:hidden !important;
}

.cm-brand-text strong{
    font-size:27px !important;
    font-weight:900 !important;
    color:#0F1F3D !important;
    white-space:nowrap !important;
    line-height:1.25 !important;
}

.cm-brand-text span{
    font-size:13px !important;
    font-weight:900 !important;
    color:#E67E2F !important;
    white-space:nowrap !important;
    margin-top:5px !important;
}

.cm-menu{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:30px !important;
    white-space:nowrap !important;
}

.cm-menu a{
    position:relative !important;
    color:#0F1F3D !important;
    font-size:18px !important;
    font-weight:900 !important;
    padding:10px 0 !important;
    transition:.25s ease !important;
}

.cm-menu a::after{
    content:"" !important;
    position:absolute !important;
    right:0 !important;
    bottom:0 !important;
    width:0 !important;
    height:3px !important;
    background:#E67E2F !important;
    border-radius:999px !important;
    transition:.25s ease !important;
}

.cm-menu a:hover{
    color:#E67E2F !important;
}

.cm-menu a:hover::after{
    width:100% !important;
}

.cm-header-action{
    display:flex !important;
    align-items:center !important;
    gap:14px !important;
    flex-shrink:0 !important;
}

.cm-header-action .cm-btn,
.cm-lang-btn{
    width:150px !important;
    height:66px !important;
    padding:0 18px !important;
    border-radius:18px !important;
    background:linear-gradient(135deg,#E67E2F,#D86E20) !important;
    color:#fff !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    font-size:18px !important;
    font-weight:900 !important;
    line-height:1.25 !important;
    box-shadow:0 18px 42px rgba(230,126,47,.22) !important;
    transition:.25s ease !important;
}

.cm-lang-btn{
    font-size:17px !important;
}

.cm-header-action .cm-btn:hover,
.cm-lang-btn:hover{
    background:linear-gradient(135deg,#0F1F3D,#07142A) !important;
    color:#fff !important;
    transform:translateY(-3px) !important;
}

.cm-social{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
}

.cm-social a{
    color:#fff !important;
    font-size:16px !important;
    transition:.25s ease !important;
}

.cm-social a:hover{
    color:#E67E2F !important;
    transform:translateY(-2px) !important;
}

@media(max-width:1300px){
    .cm-header-inner{
        grid-template-columns:1fr !important;
        justify-items:center !important;
        gap:18px !important;
        padding:18px 0 !important;
    }

    .cm-brand{
        min-width:auto !important;
        max-width:100% !important;
        justify-content:center !important;
    }

    .cm-menu{
        flex-wrap:wrap !important;
        gap:22px !important;
    }
}

@media(max-width:768px){
    .cm-brand{
        flex-direction:column !important;
        text-align:center !important;
    }

    .cm-brand img{
        width:76px !important;
        height:76px !important;
    }

    .cm-brand-text strong{
        font-size:20px !important;
        white-space:normal !important;
        text-align:center !important;
    }

    .cm-brand-text span{
        font-size:12px !important;
    }

    .cm-menu{
        gap:14px !important;
    }

    .cm-menu a{
        font-size:14px !important;
    }

    .cm-header-action{
        justify-content:center !important;
        flex-wrap:wrap !important;
    }

    .cm-header-action .cm-btn,
    .cm-lang-btn{
        width:140px !important;
        height:56px !important;
        font-size:15px !important;
    }
}





/* تحريك الشعار لليمين أكثر */
.cm-brand{
    margin-right: 25px !important;
}

/* تقليل المسافة بين الشعار والنص */
.cm-brand img{
    margin-left: 6px !important;
}

/* نعطي مساحة أكبر لاسم الشركة */
.cm-brand-text{
    flex: 1 !important;
}





/* ===== Header Balance Fix ===== */

.cm-header-inner{
    grid-template-columns: 520px 1fr 355px !important;
    gap: 24px !important;
}

.cm-brand{
    min-width: 520px !important;
    max-width: 520px !important;
    margin-right: 0 !important;
    gap: 12px !important;
}

.cm-brand img{
    width: 88px !important;
    height: 88px !important;
}

.cm-brand-text strong{
    font-size: 24px !important;
    letter-spacing: -0.5px !important;
    max-width: 410px !important;
}

.cm-menu{
    gap: 24px !important;
}

.cm-menu a{
    font-size: 17px !important;
}

.cm-header-action .cm-btn,
.cm-lang-btn{
    width: 130px !important;
    height: 64px !important;
    font-size: 16px !important;
}






/* حذف أي مسافة زائدة */
.cm-brand-text{
    display:flex !important;
    align-items:center !important;
    height:100% !important;
}

/* توسيط اسم الشركة */
.cm-brand-text strong{
    display:flex !important;
    align-items:center !important;
    height:100% !important;
    margin-top:6px !important;
}


.cm-brand{
    align-items:center !important;
}

.cm-brand img{
    align-self:center !important;
}









/* ===== Premium Dynamic Footer ===== */

.cm-footer-logo{
    width:110px;
    height:80px;
    object-fit:contain;
    margin-bottom:18px;
    background:rgba(255,255,255,.04);
    border-radius:18px;
    padding:10px;
}

.cm-footer-about p{
    max-width:420px;
}

.cm-footer-social{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:22px;
    flex-wrap:wrap;
}

.cm-footer-social a{
    width:42px;
    height:42px;
    border-radius:14px;
    background:rgba(230,126,47,.12);
    color:#E67E2F !important;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    transition:.25s ease;
    border:1px solid rgba(230,126,47,.22);
}

.cm-footer-social a:hover{
    background:#E67E2F;
    color:#fff !important;
    transform:translateY(-4px);
    box-shadow:0 14px 35px rgba(230,126,47,.32);
}

.cm-footer p i{
    color:#E67E2F;
    margin-left:7px;
}

.cm-footer a{
    transition:.25s ease;
}

.cm-footer a:hover{
    color:#E67E2F !important;
    transform:translateX(-4px);
}









/* HERO */
.project-hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display:flex;
    align-items:center;
    color:#fff;
}
.project-hero .overlay {
    position:absolute;
    inset:0;
    background:linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,.8));
}
.hero-content {
    position:relative;
    z-index:2;
}
.hero-content h1 {
    font-size:48px;
    font-weight:800;
}
.tag {
    background:#ff7a18;
    padding:6px 14px;
    border-radius:20px;
}

/* OVERVIEW */
.project-overview .grid {
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
    margin-top:60px;
}
.info-card {
    background:#fff;
    padding:25px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.info-card div {
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
}

/* GALLERY */
.gallery-grid {
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
    gap:20px;
}
.gallery-item img {
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:12px;
    transition:.3s;
}
.gallery-item img:hover {
    transform:scale(1.05);
}

/* CTA */
.project-cta {
    text-align:center;
    padding:80px 0;
    background:#0b1f3b;
    color:#fff;
}









/* 🔥 حل مشاكل الجوال بالكامل */

html, body {
    overflow-x: hidden;
}

/* منع خروج أي عنصر برا الشاشة */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* الصور */
img {
    max-width: 100%;
    height: auto;
}

/* الحاوية */
.container {
    width: 100%;
    padding: 0 16px;
    margin: auto;
}

/* 🔽 الموبايل */
@media (max-width: 768px) {

    /* العناوين */
    h1 {
        font-size: 26px !important;
    }

    h2 {
        font-size: 22px !important;
    }

    h3 {
        font-size: 18px !important;
    }

    /* البادينق */
    section {
        padding: 50px 0 !important;
    }

    /* أي Grid يتحول عمود */
    .cm-services-lux-grid,
    .cm-projects-lux-grid,
    .cm-service-sections-grid,
    .lux-blocks-grid,
    .lux-process-grid,
    .lux-gallery-grid,
    .lux-stats-grid {
        grid-template-columns: 1fr !important;
    }

    /* البطاقات */
    .cm-service-lux-card,
    .cm-project-lux-card {
        border-radius: 16px;
    }

    /* النص */
    p {
        font-size: 14px;
        line-height: 1.8;
    }

    /* الأزرار */
    .cm-btn,
    .cm-btn-outline {
        width: 100%;
        text-align: center;
    }

    /* الهيدر */
    .header,
    .navbar {
        flex-direction: column;
        gap: 10px;
    }

}



body {
    overflow-x: hidden;
}


@media (max-width: 768px) {
    .nav-menu {
        width: 100%;
        left: 0;
        right: 0;
    }
}










/* ===============================
   Mobile Fix - Header + Footer
   =============================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* منع أي عنصر يخرج خارج الشاشة */
.cm-topbar,
.cm-header,
.cm-footer,
.cm-hero,
main,
section {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

/* الجوال */
@media (max-width: 768px) {

    body {
        overflow-x: hidden !important;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* الشريط العلوي */
    .cm-topbar {
        height: auto !important;
        padding: 8px 0 !important;
    }

    .cm-topbar-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        text-align: center !important;
    }

    .cm-topbar-info {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px 12px !important;
        width: 100% !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    .cm-topbar-info span {
        white-space: normal !important;
    }

    .cm-social {
        display: flex !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
    }

    /* الهيدر */
    .cm-header {
        position: relative !important;
        height: auto !important;
        padding: 14px 0 !important;
        background: #fff !important;
    }

    .cm-header-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 16px !important;
        width: 100% !important;
        text-align: center !important;
    }

    .cm-brand {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin: 0 !important;
        text-align: center !important;
    }

    .cm-brand img {
        width: 86px !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }

    .cm-brand-text {
        width: 100% !important;
        text-align: center !important;
    }

    .cm-brand-text strong {
        display: block !important;
        font-size: 20px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        text-align: center !important;
    }

    .cm-brand-text span {
        display: none !important;
    }

    /* القائمة */
    .cm-menu {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        transform: none !important;
    }

    .cm-menu a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 9px 12px !important;
        font-size: 14px !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
        border-radius: 12px !important;
    }

    .cm-menu a:hover {
        color: #e6782a !important;
        background: rgba(230, 120, 42, .08) !important;
    }

    /* الأزرار */
    .cm-header-action {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
        margin: 0 !important;
    }

    .cm-header-action .cm-btn,
    .cm-lang-btn,
    .cm-btn,
    .cm-btn-outline {
        min-width: 145px !important;
        height: 52px !important;
        padding: 10px 18px !important;
        font-size: 15px !important;
        line-height: 1.2 !important;
        border-radius: 16px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: normal !important;
    }

    /* الهيرو */
    .cm-hero {
        min-height: 520px !important;
        padding: 80px 0 !important;
        background-position: center !important;
    }

    .cm-hero-content {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .cm-hero h1 {
        font-size: 38px !important;
        line-height: 1.25 !important;
        max-width: 100% !important;
        word-break: normal !important;
    }

    .cm-hero p {
        font-size: 15px !important;
        line-height: 1.9 !important;
        max-width: 100% !important;
    }

    .cm-hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .cm-hero-buttons a {
        width: 100% !important;
        max-width: 280px !important;
    }

    /* الفوتر */
    .cm-footer {
        overflow: hidden !important;
        text-align: center !important;
    }

    .cm-footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        text-align: center !important;
    }

    .cm-footer-grid > div {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .cm-footer a,
    .cm-footer p,
    .cm-footer h3 {
        text-align: center !important;
        max-width: 100% !important;
        word-break: normal !important;
    }

    .cm-footer-social,
    .cm-social-links {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
}

/* شاشات أصغر جدًا */
@media (max-width: 480px) {
    .cm-topbar-info {
        font-size: 12px !important;
    }

    .cm-menu a {
        font-size: 13px !important;
        padding: 8px 10px !important;
    }

    .cm-hero h1 {
        font-size: 34px !important;
    }

    .cm-header-action .cm-btn,
    .cm-lang-btn {
        min-width: 130px !important;
        height: 50px !important;
    }
}















/* =========================================================
   FINAL MOBILE FIX - CM2 Header/Footer
   ========================================================= */

html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

* {
    box-sizing: border-box;
}

@media (max-width: 768px) {

    body {
        overflow-x: hidden !important;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin: 0 auto !important;
    }

    /* ===== Top Bar ===== */
    .cm-topbar {
        width: 100% !important;
        overflow: hidden !important;
        padding: 8px 0 !important;
    }

    .cm-topbar-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .cm-topbar-info {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px 10px !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }

    .cm-topbar-info span {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }

    .cm-social {
        display: flex !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
    }

    /* ===== Header ===== */
    .cm-header {
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        padding: 18px 0 !important;
        background: #fff !important;
        overflow: hidden !important;
    }

    .cm-header-inner {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 18px !important;
        text-align: center !important;
    }

    .cm-brand {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 !important;
        gap: 8px !important;
    }

    .cm-brand img {
        width: 90px !important;
        max-width: 90px !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }

    .cm-brand-text {
        width: 100% !important;
        max-width: 320px !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .cm-brand-text strong {
        display: block !important;
        width: 100% !important;
        font-size: 19px !important;
        line-height: 1.45 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        text-align: center !important;
        color: #0b1f3b !important;
    }

    /* ===== Menu ===== */
    .cm-menu {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
        transform: none !important;
        text-align: center !important;
    }

    .cm-menu a {
        width: 100% !important;
        height: 46px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f5f7fb !important;
        border: 1px solid rgba(11, 31, 59, .08) !important;
        border-radius: 14px !important;
        color: #0b1f3b !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        padding: 8px 10px !important;
    }

    .cm-menu a:hover,
    .cm-menu a:focus {
        background: rgba(230, 120, 42, .12) !important;
        color: #e6782a !important;
    }

    /* ===== Buttons under menu ===== */
    .cm-header-action {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .cm-header-action .cm-btn,
    .cm-header-action .cm-lang-btn {
        width: 100% !important;
        min-width: 0 !important;
        height: 52px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: 16px !important;
        padding: 8px 10px !important;
        font-size: 14px !important;
        font-weight: 900 !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        background: linear-gradient(135deg, #f28a2e, #d96b1f) !important;
        color: #fff !important;
        box-shadow: 0 14px 30px rgba(230, 120, 42, .25) !important;
    }

    .cm-header-action .cm-lang-btn {
        text-transform: uppercase !important;
    }

    /* ===== Hero fix ===== */
    .cm-hero,
    .lux-project-hero,
    .cm-projects-page-hero,
    .cm-services-hero,
    .cm-contact-hero,
    .cm-about-luxury-hero {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        background-position: center !important;
    }

    .cm-hero-content,
    .lux-project-hero-inner,
    .cm-projects-page-content,
    .cm-services-hero-content,
    .cm-contact-hero-content,
    .cm-about-hero-wrap {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .cm-hero h1,
    .lux-project-hero h1,
    .cm-projects-page-content h1,
    .cm-services-hero-content h1,
    .cm-contact-hero-content h1 {
        font-size: 34px !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
        word-break: normal !important;
    }

    .cm-hero p,
    .lux-project-hero p,
    .cm-projects-page-content p,
    .cm-services-hero-content p,
    .cm-contact-hero-content p {
        font-size: 15px !important;
        line-height: 1.9 !important;
        max-width: 100% !important;
    }

    /* ===== Footer ===== */
    .cm-footer {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-align: center !important;
    }

    .cm-footer-grid {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        text-align: center !important;
    }

    .cm-footer-grid > div,
    .cm-footer-about {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .cm-footer-logo {
        width: 82px !important;
        max-width: 82px !important;
        margin: 0 auto 14px !important;
        display: block !important;
    }

    .cm-footer h3 {
        font-size: 19px !important;
        line-height: 1.5 !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .cm-footer p {
        font-size: 14px !important;
        line-height: 1.9 !important;
        text-align: center !important;
        max-width: 100% !important;
    }

    .cm-footer a {
        display: block !important;
        text-align: center !important;
        font-size: 14px !important;
        margin: 8px 0 !important;
    }

    .cm-footer-social {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin-top: 16px !important;
    }

    .cm-footer-social a {
        width: 42px !important;
        height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 14px !important;
        margin: 0 !important;
    }

    .cm-footer-bottom {
        font-size: 12px !important;
        line-height: 1.8 !important;
        text-align: center !important;
        padding-top: 18px !important;
    }
}

@media (max-width: 420px) {
    .cm-menu {
        grid-template-columns: 1fr !important;
    }

    .cm-header-action {
        grid-template-columns: 1fr 1fr !important;
    }

    .cm-brand-text strong {
        font-size: 17px !important;
    }
}
















/* ===== FINAL REAL MOBILE HEADER FIX ===== */
@media (max-width: 768px) {
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .cm-topbar,
    .cm-header,
    .cm-footer,
    main {
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

    .cm-header {
        height: auto !important;
        min-height: auto !important;
        padding: 14px 0 18px !important;
        background: #fff !important;
        overflow: visible !important;
        z-index: 50 !important;
    }

    .cm-header .container,
    .cm-header-inner {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 14px !important;
        padding: 0 14px !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .cm-brand {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        position: static !important;
        transform: none !important;
    }

    .cm-brand img {
        display: block !important;
        width: 82px !important;
        max-width: 82px !important;
        height: auto !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }

    .cm-brand-text {
        display: block !important;
        width: 100% !important;
        max-width: 330px !important;
        text-align: center !important;
    }

    .cm-brand-text strong {
        display: block !important;
        color: #0b1f3b !important;
        font-size: 18px !important;
        line-height: 1.45 !important;
        font-weight: 900 !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .cm-menu {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 9px !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        transform: none !important;
    }

    .cm-menu a {
        width: 100% !important;
        height: 44px !important;
        background: #f5f7fb !important;
        border: 1px solid rgba(11,31,59,.08) !important;
        border-radius: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #0b1f3b !important;
        font-size: 14px !important;
        font-weight: 900 !important;
        text-align: center !important;
        padding: 8px !important;
    }

    .cm-header-action {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        transform: none !important;
    }

    .cm-header-action .cm-btn,
    .cm-header-action .cm-lang-btn {
        width: 100% !important;
        min-width: 0 !important;
        height: 52px !important;
        border-radius: 16px !important;
        background: linear-gradient(135deg, #f28a2e, #d96b1f) !important;
        color: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: 14px !important;
        font-weight: 900 !important;
        line-height: 1.25 !important;
        padding: 8px 10px !important;
        box-shadow: 0 14px 30px rgba(230,120,42,.24) !important;
    }
}

@media (max-width: 430px) {
    .cm-menu {
        grid-template-columns: 1fr !important;
    }

    .cm-header-action {
        grid-template-columns: 1fr 1fr !important;
    }
}






















/* ===== Premium Mobile Header Menu ===== */

.cm-mobile-head {
    display: contents;
}

.cm-mobile-toggle {
    display: none;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
    }

    .cm-header {
        background: #fff !important;
        padding: 12px 0 !important;
        position: relative !important;
        z-index: 999 !important;
        overflow: visible !important;
    }

    .cm-header-inner {
        display: block !important;
        padding: 0 14px !important;
    }

    .cm-mobile-head {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .cm-brand {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 64px) !important;
        margin: 0 !important;
        text-align: right !important;
    }

    .cm-brand img {
        width: 58px !important;
        min-width: 58px !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 !important;
    }

    .cm-brand-text {
        width: auto !important;
        max-width: 220px !important;
        overflow: hidden !important;
        display: block !important;
    }

    .cm-brand-text strong {
        display: block !important;
        color: #0b1f3b !important;
        font-size: 16px !important;
        line-height: 1.35 !important;
        font-weight: 900 !important;
        text-align: right !important;
        white-space: normal !important;
    }

    .cm-mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 48px !important;
        height: 48px !important;
        border: 0 !important;
        border-radius: 16px !important;
        background: #0b1f3b !important;
        color: #fff !important;
        font-size: 21px !important;
        box-shadow: 0 12px 30px rgba(11,31,59,.18) !important;
        cursor: pointer !important;
    }

    .cm-mobile-panel {
        display: none !important;
        width: 100% !important;
        margin-top: 14px !important;
        background: #fff !important;
        border: 1px solid rgba(11,31,59,.08) !important;
        border-radius: 22px !important;
        padding: 14px !important;
        box-shadow: 0 22px 60px rgba(11,31,59,.14) !important;
    }

    body.cm-menu-open .cm-mobile-panel {
        display: block !important;
        animation: cmMenuDown .25s ease both;
    }

    @keyframes cmMenuDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .cm-menu {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        transform: none !important;
    }

    .cm-menu a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 48px !important;
        border-radius: 15px !important;
        background: #f6f8fb !important;
        border: 1px solid rgba(11,31,59,.08) !important;
        color: #0b1f3b !important;
        font-size: 15px !important;
        font-weight: 900 !important;
        text-align: center !important;
    }

    .cm-menu a:hover {
        background: rgba(230,120,42,.12) !important;
        color: #e6782a !important;
    }

    .cm-header-action {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 12px !important;
        padding: 0 !important;
        position: static !important;
        transform: none !important;
    }

    .cm-header-action .cm-btn,
    .cm-header-action .cm-lang-btn {
        width: 100% !important;
        min-width: 0 !important;
        height: 52px !important;
        border-radius: 16px !important;
        background: linear-gradient(135deg, #f28a2e, #d96b1f) !important;
        color: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 14px !important;
        font-weight: 900 !important;
        text-align: center !important;
        padding: 8px !important;
        box-shadow: 0 14px 30px rgba(230,120,42,.22) !important;
    }

    .cm-topbar {
        overflow: hidden !important;
        padding: 6px 0 !important;
    }

    .cm-topbar-inner,
    .cm-topbar-info {
        justify-content: center !important;
        text-align: center !important;
        flex-wrap: wrap !important;
        gap: 6px 10px !important;
    }

    .cm-topbar-info span {
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    .cm-hero {
        margin-top: 0 !important;
        padding-top: 70px !important;
    }
}










/* ===== Desktop Header Final Alignment ===== */
@media (min-width: 769px) {

    .cm-header {
        padding: 22px 0 !important;
        min-height: 120px !important;
        display: flex !important;
        align-items: center !important;
    }

    .cm-header-inner {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        align-items: center !important;
        gap: 28px !important;
    }

    .cm-mobile-head {
        display: contents !important;
    }

    .cm-brand {
        display: flex !important;
        align-items: center !important;
        gap: 16px !important;
        margin: 0 !important;
        min-width: 520px !important;
    }

    .cm-brand img {
        width: 92px !important;
        height: auto !important;
    }

    .cm-brand-text strong {
        font-size: 31px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .cm-mobile-panel {
        display: contents !important;
    }

    .cm-menu {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 34px !important;
        margin-top: 8px !important;
        white-space: nowrap !important;
    }

    .cm-menu a {
        font-size: 21px !important;
        font-weight: 900 !important;
        line-height: 1.2 !important;
    }

    .cm-header-action {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 14px !important;
        margin-top: 8px !important;
        white-space: nowrap !important;
    }

    .cm-header-action .cm-btn,
    .cm-header-action .cm-lang-btn {
        width: 150px !important;
        min-width: 150px !important;
        height: 76px !important;
        border-radius: 18px !important;
        font-size: 21px !important;
        font-weight: 900 !important;
        line-height: 1.1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 10px 18px !important;
    }
}













/* ===== Desktop Header Luxury Fix ===== */
@media (min-width: 769px) {

    .cm-header {
        padding: 25px 0 !important;
    }

    .cm-header-inner {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        align-items: center !important;
        gap: 40px !important;
    }

    /* ===== الشعار + الاسم ===== */
    .cm-brand {
        display: flex !important;
        align-items: center !important;
        gap: 18px !important;
        min-width: 420px !important;
    }

    .cm-brand img {
        width: 110px !important;   /* 🔥 تكبير الشعار */
        height: auto !important;
    }

    .cm-brand-text strong {
        font-size: 26px !important;  /* تصغير الاسم شوي */
        font-weight: 900 !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
    }

    /* ===== القائمة ===== */
    .cm-menu {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 28px !important;
    }

    .cm-menu a {
        font-size: 19px !important;
        font-weight: 800 !important;
    }

    /* ===== الأزرار ===== */
    .cm-header-action {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        margin-left: 20px !important; /* 🔥 تبعدها عن الطرف */
    }

    .cm-header-action .cm-btn,
    .cm-header-action .cm-lang-btn {
        width: 135px !important;
        height: 60px !important;
        font-size: 18px !important;
        border-radius: 14px !important;
    }

    /* ===== منع التداخل ===== */
    .cm-header-inner > * {
        min-width: 0 !important;
    }
}











/* ===== FINAL FIX (اسم الموقع + توزيع الهيدر) ===== */
@media (min-width: 769px) {

    /* توزيع الأعمدة بشكل مرن */
    .cm-header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 20px !important;
    }

    /* ===== الشعار + الاسم ===== */
    .cm-brand {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        flex: 0 0 auto !important;
    }

    .cm-brand img {
        width: 100px !important;
    }

    .cm-brand-text strong {
        font-size: 22px !important;
        font-weight: 900 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    /* ===== القائمة (تاخذ المساحة الوسطى) ===== */
    .cm-menu {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 24px !important;
        flex: 1 !important; /* 🔥 هذا المهم */
    }

    .cm-menu a {
        font-size: 18px !important;
        font-weight: 800 !important;
    }

    /* ===== الأزرار ===== */
    .cm-header-action {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex: 0 0 auto !important;
    }

    .cm-header-action .cm-btn,
    .cm-header-action .cm-lang-btn {
        width: 130px !important;
        height: 58px !important;
        font-size: 17px !important;
        border-radius: 12px !important;
    }
}












/* ===== Clients / Partners Logos Fix ===== */
.cm-clients,
.clients-section,
.cm-success-partners {
    overflow: hidden !important;
}

.cm-clients-grid,
.clients-grid,
.partners-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 22px !important;
    align-items: center !important;
}

.cm-client-card,
.client-card,
.partner-card {
    height: 130px !important;
    background: #fff !important;
    border: 1px solid rgba(15, 31, 61, .08) !important;
    border-radius: 22px !important;
    padding: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 18px 45px rgba(15, 31, 61, .06) !important;
    overflow: hidden !important;
}

.cm-client-card img,
.client-card img,
.partner-card img,
.cm-clients img,
.clients-section img,
.cm-success-partners img {
    width: auto !important;
    max-width: 130px !important;
    height: auto !important;
    max-height: 80px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

/* منع الصور من التمدد الكبير داخل قسم العملاء */
section img[alt*="شيزان"],
section img[alt*="السباكة"],
section img[alt*="عميل"],
section img[alt*="client"] {
    width: auto !important;
    max-width: 130px !important;
    max-height: 80px !important;
    object-fit: contain !important;
}
