/* ============================================================
   Clico Solution — Public Design System
   Modern · Responsive · User-friendly
   ============================================================ */

:root {
    --cs-primary: #ff6600;
    --cs-primary-dark: #e55a00;
    --cs-primary-light: #ff8533;
    --cs-gradient: linear-gradient(135deg, #ff6600 0%, #ff8c42 50%, #ffb347 100%);
    --cs-dark: #0f172a;
    --cs-dark-soft: #1e293b;
    --cs-text: #334155;
    --cs-text-muted: #64748b;
    --cs-bg: #ffffff;
    --cs-bg-soft: #f8fafc;
    --cs-bg-muted: #f1f5f9;
    --cs-border: #e2e8f0;
    --cs-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --cs-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --cs-radius: 16px;
    --cs-radius-sm: 10px;
    --cs-radius-pill: 50px;
    --cs-header-h: 76px;
    --cs-font: 'Inter', system-ui, -apple-system, sans-serif;
    --cs-font-display: 'Plus Jakarta Sans', var(--cs-font);
    --cs-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--cs-font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--cs-text);
    background: var(--cs-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--cs-font-display);
    color: var(--cs-dark);
    line-height: 1.2;
    margin-top: 0;
}

a { color: inherit; text-decoration: none; transition: color var(--cs-transition); }
img { max-width: 100%; height: auto; display: block; }

/* ── Layout ─────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    height: var(--cs-header-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all var(--cs-transition);
}

.site-header.is-scrolled {
    box-shadow: var(--cs-shadow);
    border-bottom-color: var(--cs-border);
}

.page-home .site-header {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--cs-border);
}

.site-header--transparent {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
}

.site-header--transparent .navbar-brand,
.site-header--transparent .nav-link { color: #fff !important; }
.site-header--transparent .navbar-toggler { border-color: rgba(255,255,255,0.5); filter: invert(1); }

.site-header .navbar { height: var(--cs-header-h); padding: 0; }
.site-header .container { height: 100%; }

.navbar-brand {
    font-family: var(--cs-font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--cs-dark) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--cs-text) !important;
    padding: 8px 14px !important;
    border-radius: var(--cs-radius-sm);
    transition: all var(--cs-transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--cs-primary) !important;
    background: rgba(255, 102, 0, 0.08);
}

.nav-cta {
    background: var(--cs-gradient) !important;
    color: #fff !important;
    border-radius: var(--cs-radius-pill) !important;
    padding: 8px 20px !important;
    margin-left: 8px;
}

.nav-cta:hover {
    color: #fff !important;
    background: var(--cs-primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.35);
}

/* Mega menu */
.mega-dropdown .dropdown-menu {
    border: none;
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow-lg);
    padding: 0.75rem;
    margin-top: 0.5rem;
    min-width: 260px;
    max-width: 320px;
}

.mega-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.mega-menu-list__heading,
.mega-menu-col h6 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cs-primary);
    margin: 0.75rem 0 0.35rem;
    font-weight: 700;
}

.mega-menu-list__heading:first-child,
.mega-menu-col h6:first-child {
    margin-top: 0;
}

.mega-menu-list a,
.mega-menu-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--cs-text);
    transition: all var(--cs-transition);
    white-space: nowrap;
}

.mega-menu-list a:hover,
.mega-menu-col a:hover {
    background: var(--cs-bg-muted);
    color: var(--cs-primary);
    padding-left: 14px;
}

.mega-menu-list a i,
.mega-menu-col a i { font-size: 0.7rem; color: var(--cs-primary); flex-shrink: 0; }

main { padding-top: var(--cs-header-h); min-height: 60vh; }

.page-home main {
    padding-top: var(--cs-header-h);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
    background: var(--cs-gradient);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--cs-radius-pill);
    transition: all var(--cs-transition);
}

.btn-primary:hover {
    background: var(--cs-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.35);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--cs-primary);
    color: var(--cs-primary);
    font-weight: 600;
    padding: 10px 26px;
    border-radius: var(--cs-radius-pill);
    transition: all var(--cs-transition);
}

.btn-outline-primary:hover {
    background: var(--cs-primary);
    color: #fff;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--cs-radius-pill);
    background: transparent;
}

.btn-outline-light:hover { background: #fff; color: var(--cs-primary); }

/* ── Hero (Home) ────────────────────────────────────────── */
.page-home .hero {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    isolation: isolate;
}

.page-home .hero__background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-home .hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.75) 0%,
        rgba(15, 23, 42, 0.5) 50%,
        rgba(255, 102, 0, 0.25) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.page-home .hero__content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 1.25rem 0;
}

.page-home .hero__title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    max-width: 20ch;
    margin-left: auto;
    margin-right: auto;
}

.page-home .hero__desc {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.page-home .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ── Sections ───────────────────────────────────────────── */
.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section--muted { background: var(--cs-bg-soft); }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cs-primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--cs-text-muted);
    line-height: 1.7;
}

/* ── Service Cards ──────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    position: relative;
    background: var(--cs-bg);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    padding: 2rem 1.5rem;
    overflow: hidden;
    transition: all var(--cs-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--cs-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--cs-transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cs-shadow-lg);
    border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 14px;
    color: var(--cs-primary);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all var(--cs-transition);
}

.service-card:hover .service-card__icon {
    background: var(--cs-gradient);
    color: #fff;
}

.service-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--cs-text-muted);
    line-height: 1.6;
    flex-grow: 1;
}

/* ── Realisations ───────────────────────────────────────── */
.realisation-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2.5rem 0;
}

.realisation-card:nth-child(even) .realisation-card__image { order: -1; }

.realisation-card__image {
    overflow: hidden;
    border-radius: var(--cs-radius);
    max-width: 480px;
    width: 100%;
    justify-self: center;
}

.realisation-card__image img {
    width: 100%;
    max-height: 280px;
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow-lg);
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.realisation-card__tag {
    display: inline-block;
    background: rgba(255, 102, 0, 0.1);
    color: var(--cs-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--cs-radius-pill);
    margin-bottom: 1rem;
}

.realisation-card__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.realisation-card__desc {
    color: var(--cs-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.realisation-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cs-primary);
    font-weight: 600;
    transition: gap var(--cs-transition);
}

.realisation-card__link:hover { gap: 12px; }

/* ── Stats badges ───────────────────────────────────────── */
.stat-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }

.stat-badge {
    background: var(--cs-bg-muted);
    padding: 8px 14px;
    border-radius: var(--cs-radius-sm);
    font-size: 0.85rem;
}

.stat-badge strong { color: var(--cs-primary); }

/* ── Products catalog ───────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--cs-bg);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    overflow: hidden;
    box-shadow: var(--cs-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card__media { background: var(--cs-bg-muted); }

.product-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-card__desc {
    color: var(--cs-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.product-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-carousel {
    position: relative;
    background: var(--cs-bg-muted);
}

.product-carousel--compact .product-carousel__img,
.product-carousel--compact .product-carousel__placeholder {
    height: 200px;
}

.product-carousel__img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.product-carousel__placeholder {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cs-text-muted);
    font-size: 2.5rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--cs-border);
}

.product-showcase:last-child { border-bottom: none; }

.product-showcase:nth-child(even) .product-showcase__media { order: -1; }

.product-showcase__media {
    border-radius: var(--cs-radius);
    overflow: hidden;
    box-shadow: var(--cs-shadow-lg);
}

.product-showcase__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.product-showcase__desc {
    color: var(--cs-text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* ── Clients marquee ────────────────────────────────────── */
.clients-section {
    overflow: hidden;
}

.clients-section .container {
    margin-bottom: 2rem;
}

.clients-marquee {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0 1.5rem;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-track {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    width: max-content;
    animation: marquee 35s linear infinite;
    padding: 0 2rem;
}

.clients-track:hover {
    animation-play-state: paused;
}

.clients-track__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 120px;
    padding: 0 0.75rem;
}

.clients-track__item img {
    display: block;
    max-height: 100px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    filter: grayscale(100%);
    transition: all var(--cs-transition);
}

.clients-track__item img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── About snippet ──────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-grid__image img {
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow-lg);
}

.about-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-feature__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cs-primary);
}

/* ── Page hero (inner pages) ────────────────────────────── */
.page-hero {
    background: var(--cs-bg-soft);
    padding: 2.5rem 0 3rem;
    border-bottom: 1px solid var(--cs-border);
}

.page-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-hero__subtitle {
    font-size: 1.1rem;
    color: var(--cs-text-muted);
    max-width: 600px;
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.cs-breadcrumb { margin-bottom: 1rem; }
.cs-breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
    background: none;
    font-size: 0.875rem;
}
.cs-breadcrumb .breadcrumb-item a { color: var(--cs-text-muted); }
.cs-breadcrumb .breadcrumb-item a:hover { color: var(--cs-primary); }
.cs-breadcrumb .breadcrumb-item.active { color: var(--cs-primary); font-weight: 600; }
.cs-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--cs-text-muted); }

/* ── Forms ──────────────────────────────────────────────── */
.cs-form-card {
    background: var(--cs-bg);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    padding: 2rem;
    box-shadow: var(--cs-shadow);
}

.cs-form-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cs-form-card__title span { color: var(--cs-primary); }

.cs-form-group { margin-bottom: 1rem; }

.cs-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-sm);
    font-family: var(--cs-font);
    font-size: 0.95rem;
    background: var(--cs-bg-soft);
    transition: all var(--cs-transition);
}

.cs-input:focus {
    outline: none;
    border-color: var(--cs-primary);
    background: var(--cs-bg);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
}

.cs-textarea { resize: vertical; min-height: 100px; }
.cs-error { color: #dc2626; font-size: 0.8rem; margin-top: 4px; }
.cs-form-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.25rem; }

/* ── Auth pages ─────────────────────────────────────────── */
.auth-page {
    min-height: calc(100vh - var(--cs-header-h));
    display: flex;
    align-items: center;
    padding: 3rem 0;
    background: linear-gradient(160deg, var(--cs-bg-soft) 0%, #fff5eb 100%);
}

.auth-card {
    background: var(--cs-bg);
    border-radius: var(--cs-radius);
    padding: 2.5rem;
    box-shadow: var(--cs-shadow-lg);
    border: 1px solid var(--cs-border);
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
}

.auth-card__icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--cs-primary);
    font-size: 1.5rem;
}

.auth-card h2 { text-align: center; font-size: 1.5rem; margin-bottom: 1.5rem; }

.auth-side h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.auth-side p { color: var(--cs-text-muted); font-size: 1.05rem; }

/* ── Contact page ───────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    padding: 3rem 0 5rem;
}

.contact-info h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-info p { color: var(--cs-text-muted); font-size: 1.05rem; line-height: 1.7; }

.contact-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cs-text);
}

.contact-detail i {
    width: 40px;
    height: 40px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cs-primary);
}

/* ── Service detail ─────────────────────────────────────── */
.service-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem 0 5rem;
}

.service-hero__label {
    color: var(--cs-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.service-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.service-hero__desc {
    color: var(--cs-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-hero__image img {
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow-lg);
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

/* ── About page ─────────────────────────────────────────── */
.about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem 0;
}

.about-block--reverse .about-block__image { order: -1; }

.about-block__image img {
    border-radius: 30% 70% 50% 50% / 40% 40% 60% 60%;
    box-shadow: var(--cs-shadow-lg);
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

/* ── Tech list ──────────────────────────────────────────── */
.tech-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
    margin: 1.5rem 0;
}

.tech-list__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.tech-list__item::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--cs-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
    background: var(--cs-dark);
    color: rgba(255,255,255,0.75);
    padding-top: 4rem;
}

.site-footer__cta {
    text-align: center;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 3rem;
}

.site-footer__cta h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.site-footer__cta p { font-size: 1.1rem; margin-bottom: 1.5rem; }

.site-footer h5 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.65rem; }
.site-footer ul a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--cs-transition);
}

.site-footer ul a:hover { color: var(--cs-primary-light); padding-left: 4px; }
.site-footer ul a i { width: 16px; color: var(--cs-primary); }

.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ── Modal ──────────────────────────────────────────────── */
.cs-modal .modal-content {
    border: none;
    border-radius: var(--cs-radius);
    overflow: hidden;
}

.cs-modal .modal-body { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }

.cs-modal__image {
    background: var(--cs-bg-muted);
    min-height: 200px;
}

.cs-modal__image img { width: 100%; height: 100%; object-fit: cover; }

.cs-modal__form { padding: 2rem; }

/* ── Legacy compat ──────────────────────────────────────── */
.containtSection { margin-top: 0; margin-left: 0; margin-right: 0; padding: 0; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 991px) {
    .mega-dropdown .dropdown-menu { min-width: 100%; max-width: 100%; }
    .realisation-card,
    .about-grid,
    .contact-layout,
    .service-hero,
    .about-block { grid-template-columns: 1fr; gap: 2rem; }
    .realisation-card:nth-child(even) .realisation-card__image { order: 0; }
    .product-showcase,
    .product-showcase:nth-child(even) .product-showcase__media { order: 0; }
    .product-showcase { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-block--reverse .about-block__image { order: 0; }
    .cs-modal .modal-body { grid-template-columns: 1fr; }
    .cs-modal__image { display: none; }
}

@media (max-width: 767px) {
    :root { --cs-header-h: 68px; }
    .clients-track__item {
        min-width: 130px;
        height: 96px;
    }
    .clients-track__item img {
        max-height: 80px;
        max-width: 160px;
    }
    .realisation-card__image img {
        max-height: 220px;
    }
    .product-carousel__img,
    .product-carousel__placeholder {
        height: 240px;
    }
    .product-carousel--compact .product-carousel__img,
    .product-carousel--compact .product-carousel__placeholder {
        height: 180px;
    }
    .product-card__actions .btn { flex: 1 1 auto; }
    .navbar-collapse {
        background: var(--cs-bg);
        padding: 1rem;
        border-radius: var(--cs-radius);
        box-shadow: var(--cs-shadow-lg);
        margin-top: 0.5rem;
    }
    .nav-cta { margin-left: 0 !important; margin-top: 0.5rem; text-align: center; }

    .page-home .hero {
        height: 360px;
    }

    .page-home .hero__content {
        padding: 1rem 0;
    }

    .page-home .hero__title {
        max-width: 100%;
        font-size: clamp(1.35rem, 6vw, 1.85rem);
    }

    .page-home .hero__desc {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .page-home .hero__actions { flex-direction: column; }
    .page-home .hero__actions .btn { width: 100%; text-align: center; }

    .services-grid { grid-template-columns: 1fr; }
    .tech-list { grid-template-columns: 1fr; }
    .auth-page .row { flex-direction: column-reverse; }
    .stat-badges { flex-direction: column; }
    .cs-form-actions .btn { flex: 1; text-align: center; }
}

@media (max-width: 480px) {
    .page-home .hero {
        height: 320px;
    }

    .section { padding: 2.5rem 0; }
    .cs-form-card { padding: 1.25rem; }
    .auth-card { padding: 1.5rem; }
}
