/*=============================================================
 * Belle Vie Logistique — Site public : Design System
 * Dark / Light mode — 100% responsive
 *=============================================================*/

:root {
    /* Palette */
    --primary: #ea580c;
    --primary-light: #f97316;
    --primary-dark: #c2410c;
    --secondary: #d97706;
    --accent: #0891b2;
    --success: #16a34a;
    --warning: #ca8a04;
    --danger: #dc2626;
    --info: #0891b2;

    /* Surfaces (light) */
    --bg: #f6f9fb;
    --bg-soft: #eef3f6;
    --card: #ffffff;
    --surface: #ffffff;
    --text: #1f2937;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --border-light: #f1f5f9;
    --overlay: rgba(15, 23, 42, .55);

    /* Hero overlay */
    --hero-overlay: linear-gradient(135deg, rgba(154, 52, 18, .92), rgba(8, 145, 178, .78));

    /* Gradients */
    --gradient: linear-gradient(135deg, #ea580c, #f97316);
    --gradient-warm: linear-gradient(135deg, #d97706, #f59e0b);
    --gradient-blue: linear-gradient(135deg, #0891b2, #06b6d4);
    --gradient-dark: linear-gradient(135deg, #0f172a, #1e293b);

    /* Radius & shadow */
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06);
    --shadow: 0 4px 14px rgba(15, 23, 42, .08);
    --shadow-md: 0 10px 25px rgba(15, 23, 42, .10);
    --shadow-lg: 0 20px 45px rgba(15, 23, 42, .14);

    /* Layout */
    --header-h: 72px;
    --container: 1200px;
}

[data-theme="dark"] {
    --bg: #0b1220;
    --bg-soft: #0f172a;
    --card: #131c31;
    --surface: #1e293b;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --border: #283449;
    --border-light: #1e293b;
    --overlay: rgba(0, 0, 0, .65);
    --hero-overlay: linear-gradient(135deg, rgba(67, 20, 7, .92), rgba(8, 145, 178, .82));
    --shadow: 0 4px 14px rgba(0, 0, 0, .35);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, .4);
    --shadow-lg: 0 20px 45px rgba(0, 0, 0, .5);
}

/* ── Reset ─────────────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
   font-family: 'Jost', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition: background .3s, color .3s;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

section {
    scroll-margin-top: 90px;
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ── Layout helpers ────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3.5rem 0;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.5px;
    text-align: center;
    margin-bottom: .5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 3rem;
    font-size: 1.02rem;
}

.section-eyebrow {
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    margin-bottom: .6rem;
}

.text-primary {
    color: var(--primary);
}

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

.text-center {
    text-align: center;
}

.text-white {
    color: #fff;
}

.font-bold {
    font-weight: 700;
}

.font-800 {
    font-weight: 800;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .8rem;
    border-radius: var(--radius-pill);
    font-size: .74rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-success {
    background: rgba(22, 163, 74, .14);
    color: var(--success);
}

.badge-info {
    background: rgba(8, 145, 178, .14);
    color: var(--info);
}

.badge-warning {
    background: rgba(202, 138, 4, .16);
    color: var(--warning);
}

.badge-danger {
    background: rgba(220, 38, 38, .14);
    color: var(--danger);
}

.badge-gray {
    background: rgba(107, 114, 128, .16);
    color: var(--text-muted);
}

.badge-primary {
    background: rgba(234, 88, 12, .14);
    color: var(--primary);
}

[data-theme="dark"] .badge-success {
    background: rgba(22, 163, 74, .22);
    color: #4ade80;
}

[data-theme="dark"] .badge-danger {
    background: rgba(220, 38, 38, .22);
    color: #f87171;
}

[data-theme="dark"] .badge-warning {
    background: rgba(202, 138, 4, .22);
    color: #facc15;
}

[data-theme="dark"] .badge-info {
    background: rgba(8, 145, 178, .22);
    color: #22d3ee;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.5rem;
    border-radius: var(--radius-pill);
    font-size: .92rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 6px 18px rgba(234, 88, 12, .28);
}

.btn-primary:hover {
    box-shadow: 0 10px 24px rgba(234, 88, 12, .36);
}

.btn-secondary {
    background: var(--card);
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .4);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .12);
}

.btn-warm {
    background: var(--gradient-warm);
    color: #fff;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ── Header / Navbar ───────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: all .3s;
}

[data-theme="dark"] .site-header {
    background: rgba(11, 18, 32, .85);
}

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

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    top: 6px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.nav-logo {
    width: 46px;
    height: 40px;
    /* border-radius: 12px; */
    /* background: var(--gradient); */
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: #fff; */
    font-size: 1.3rem;
    /* box-shadow: 0 4px 12px rgba(234, 88, 12, .3); */
    flex-shrink: 0;
}

.nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-brand-name {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -.3px;
}

.nav-brand-tag {
    font-size: .7rem;
    color: var(--text-muted);
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: .3rem;
}

.nav-link {
    padding: .55rem .9rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .92rem;
    color: var(--text);
    transition: all .2s;
    position: relative;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.cart-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--card);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all .2s;
}

.cart-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--gradient-warm);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--card);
    transform: scale(0);
    transition: transform .3s;
}

.cart-badge.show {
    transform: scale(1);
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--card);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all .2s;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(15deg);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: var(--gradient-dark);
}

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

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

[data-theme="dark"] .hero-bg {
    background: linear-gradient(135deg, #0b1220, #0f172a);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--hero-overlay);
    opacity: .82;
}

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    gap: .5rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: all .3s;
    border: none;
}

.hero-dot.active {
    background: #fff;
    width: 28px;
    border-radius: 5px;
}

.hero-content {
    max-width: 760px;
    color: #fff;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 1rem;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--radius-pill);
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.2rem;
}

.hero h1 span {
    color: #fed7aa;
}

.hero p {
    font-size: 1.12rem;
    opacity: .92;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.hero-stat-label {
    font-size: .82rem;
    opacity: .85;
}

/* ── Marquee / partners strip ──────────────────────────────── */
.strip {
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    overflow: hidden;
}

.strip-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    animation: marquee 22s linear infinite;
}

.strip-item {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    opacity: .7;
}

.strip-item i {
    color: var(--primary);
    margin-right: .4rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ── Cards / Grid ──────────────────────────────────────────── */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-auto {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s, border-color .25s;
    overflow: hidden;
}

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

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

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: var(--gradient-dark);
    position: relative;
}

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

.about-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(234, 88, 12, .25), transparent);
}

.about-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -.5px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-feature {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
}

.about-feature i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(234, 88, 12, .12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .1rem;
}

.about-feature p {
    font-size: .85rem;
    margin: 0;
}

/* ── Services ──────────────────────────────────────────────── */
.service-card {
    padding: 2rem 1.5rem;
    text-align: left;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 6px 16px rgba(234, 88, 12, .25);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: .92rem;
}

.service-card .link {
    color: var(--primary);
    font-weight: 700;
    font-size: .88rem;
    margin-top: .8rem;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

/* ── Stats band ────────────────────────────────────────────── */
.stats-band {
    background: var(--gradient);
    color: #fff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .15), transparent 50%);
}

.stats-band-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: .9rem;
    opacity: .9;
    margin-top: .3rem;
}

/* ── Engins ────────────────────────────────────────────────── */
.engin-card {
    display: flex;
    flex-direction: column;
}

.engin-photo {
    aspect-ratio: 4/3;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
    position: relative;
}

.engin-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.engin-badge {
    position: absolute;
    top: .8rem;
    right: .8rem;
    background: rgba(255, 255, 255, .92);
    color: var(--text);
    padding: .3rem .7rem;
    border-radius: var(--radius-pill);
    font-size: .72rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.engin-body {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.engin-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.engin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: .8rem;
}

.engin-meta span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.engin-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: .8rem;
    border-top: 1px solid var(--border-light);
}

/* ── Produits ──────────────────────────────────────────────── */
.product-card {
    display: flex;
    flex-direction: column;
}

.product-photo {
    aspect-ratio: 1/1;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
    position: relative;
}

.product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-cat {
    position: absolute;
    top: .7rem;
    left: .7rem;
    padding: .25rem .7rem;
    background: var(--gradient);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: .7rem;
    font-weight: 700;
}

.product-body {
    padding: 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .3rem;
    line-height: 1.3;
}

.product-desc {
    font-size: .84rem;
    color: var(--text-muted);
    margin-bottom: .8rem;
    flex: 1;
}

.product-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .5rem;
}

.product-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.05rem;
}

.product-stock {
    font-size: .78rem;
    color: var(--text-muted);
}

/* ── Team ──────────────────────────────────────────────────── */
.team-card {
    text-align: center;
    padding: 1.8rem 1.2rem;
}

.team-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    overflow: hidden;
    border: 4px solid var(--card);
    box-shadow: var(--shadow);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
}

.team-role {
    color: var(--primary);
    font-weight: 700;
    font-size: .85rem;
    margin: .2rem 0 .5rem;
}

.team-meta {
    font-size: .8rem;
    color: var(--text-muted);
}

/* ── Clients ───────────────────────────────────────────────── */
.client-card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--gradient-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.client-info h4 {
    font-size: .95rem;
    font-weight: 700;
}

.client-info p {
    font-size: .8rem;
    color: var(--text-muted);
}

/* ── Fournisseurs ──────────────────────────────────────────── */
.supplier-card {
    padding: 1.4rem;
}

.supplier-head {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .8rem;
}

.supplier-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(217, 119, 6, .14);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.supplier-card h4 {
    font-size: .98rem;
    font-weight: 700;
}

.supplier-type {
    font-size: .76rem;
    color: var(--text-muted);
}

.supplier-contact {
    font-size: .84rem;
    color: var(--text-muted);
}

.supplier-contact div {
    margin-top: .3rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

/* ── Entrepots ─────────────────────────────────────────────── */
.warehouse-card {
    padding: 1.5rem;
}

.warehouse-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(8, 145, 178, .14);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.warehouse-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.warehouse-card p {
    font-size: .85rem;
    color: var(--text-muted);
}

/* ── CTA ───────────────────────────────────────────────────── */
.cta {
    background: var(--gradient);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .18), transparent 50%);
}

.cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: .8rem;
    position: relative;
}

.cta p {
    opacity: .92;
    margin-bottom: 1.8rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta .btn {
    position: relative;
}

/* ── Contact ───────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(234, 88, 12, .12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .2rem;
}

.contact-info-item p {
    color: var(--text-muted);
    font-size: .9rem;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 2rem;
    min-height: 320px;
    background: var(--bg-soft);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

/* ── Newsletter ────────────────────────────────────────────── */
.newsletter {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.newsletter h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: .5rem;
}

.newsletter p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: .6rem;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: .85rem 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--bg);
    color: var(--text);
    font-size: .95rem;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, .12);
}

.newsletter-msg {
    margin-top: 1rem;
    font-size: .88rem;
    font-weight: 600;
    min-height: 1.2rem;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
    background: var(--gradient-dark);
    color: #cbd5e1;
    padding: 4rem 0 0;
}

[data-theme="dark"] .site-footer {
    background: #070d18;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-brand-logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.footer h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.footer p {
    font-size: .88rem;
    margin-bottom: .6rem;
    line-height: 1.6;
}

.footer-links li {
    margin-bottom: .5rem;
}

.footer-links a {
    font-size: .88rem;
    transition: color .2s, padding .2s;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.footer-links a:hover {
    color: #fff;
    padding-left: .3rem;
}

.footer-contact-item {
    display: flex;
    gap: .6rem;
    margin-bottom: .7rem;
    font-size: .88rem;
}

.footer-contact-item i {
    color: var(--primary-light);
    margin-top: .2rem;
}

.footer-social {
    display: flex;
    gap: .6rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.footer-social a:hover {
    background: var(--gradient);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .85rem;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ── Modal ─────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all .25s;
}

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

.modal-box {
    background: var(--card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 580px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(.96);
    transition: transform .25s;
}

.modal-overlay.show .modal-box {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 1.3rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: var(--card);
    z-index: 5;
}

.modal-title {
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.modal-title i {
    color: var(--primary);
}

.modal-close {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.3rem;
    transition: all .15s;
}

.modal-close:hover {
    background: var(--bg-soft);
    color: var(--danger);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: .7rem;
    justify-content: flex-end;
    position: sticky;
    bottom: 0;
    background: var(--card);
}

.modal-product-preview {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-soft);
    border-radius: var(--radius);
    margin-bottom: 1.2rem;
    align-items: center;
}

.modal-product-preview .icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.modal-product-preview img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.modal-product-preview h4 {
    font-size: .95rem;
    font-weight: 700;
}

.modal-product-preview p {
    font-size: .82rem;
    color: var(--text-muted);
}

/* ── Forms ─────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 1.1rem;
}

.form-label {
    display: block;
    font-size: .84rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.form-label .req {
    color: var(--danger);
}

.form-control,
.form-select,
input,
textarea,
select {
    width: 100%;
    padding: .75rem .95rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: .92rem;
    font-family: inherit;
    background: var(--card);
    color: var(--text);
    transition: all .2s;
    outline: none;
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, .12);
}

textarea {
    resize: vertical;
    min-height: 90px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.form-hint {
    font-size: .76rem;
    color: var(--text-muted);
    margin-top: .3rem;
}

.form-msg {
    margin-top: 1rem;
    font-size: .88rem;
    font-weight: 600;
    min-height: 1.2rem;
}

.form-msg.success {
    color: var(--success);
}

.form-msg.error {
    color: var(--danger);
}

/* ── Alerts ────────────────────────────────────────────────── */
.alert {
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
    border: 1px solid;
}

.alert-success {
    background: rgba(22, 163, 74, .1);
    border-color: rgba(22, 163, 74, .25);
    color: var(--success);
}

.alert-error {
    background: rgba(220, 38, 38, .1);
    border-color: rgba(220, 38, 38, .25);
    color: var(--danger);
}

.alert-info {
    background: rgba(8, 145, 178, .1);
    border-color: rgba(8, 145, 178, .25);
    color: var(--info);
}

/* ── Page header (interior) ────────────────────────────────── */
.page-hero {
    background: var(--gradient-dark);
    color: #fff;
    padding: 8rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(249, 115, 22, .3), transparent 50%);
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    position: relative;
    margin-bottom: .5rem;
}

.page-hero p {
    opacity: .9;
    position: relative;
}

.breadcrumb-trail {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin-top: 1rem;
    font-size: .85rem;
    opacity: .85;
    position: relative;
}

.breadcrumb-trail a:hover {
    text-decoration: underline;
}

/* ── Empty state ───────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    color: var(--border);
    margin-bottom: 1rem;
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp .6s ease forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s, transform .6s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Back to top ───────────────────────────────────────────── */
.back-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 900;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    transform: translateY(-3px);
}

/* ── Cart items ────────────────────────────────────────────── */
.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: var(--bg-soft);
    border-radius: var(--radius);
    margin-bottom: .8rem;
}

.cart-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cart-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h4 {
    font-size: .92rem;
    font-weight: 700;
}

.cart-item-info p {
    font-size: .8rem;
    color: var(--text-muted);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}

.cart-qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-item-qty span {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: rgba(220, 38, 38, .1);
    color: var(--danger);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}

.cart-item-remove:hover {
    background: var(--danger);
    color: #fff;
}

/* ── Filters bar ───────────────────────────────────────────── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-bar .search-box {
    flex: 1;
    min-width: 200px;
    max-width: 320px;
    padding: .7rem 1rem .7rem 2.5rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--card);
    color: var(--text);
    font-size: .9rem;
    outline: none;
    position: relative;
}

.filter-bar select {
    width: auto;
    min-width: 140px;
    padding: .7rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--card);
    color: var(--text);
    font-size: .9rem;
    cursor: pointer;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width:1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:860px) {
    .nav-links {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--card);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        transform: translateY(-120%);
        transition: transform .3s;
        box-shadow: var(--shadow-md);
        gap: .3rem;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-band-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width:600px) {
    .section {
        padding: 3.5rem 0;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-auto {
        grid-template-columns: 1fr;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 6rem 0 3rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .cta {
        padding: 2.5rem 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}