/* ════════════════════════════════════════════
   إطار الإبداع — CREATIVE FRAME TIRES
   Brand Colors: Red (#DC2626) + Black (#111)
   RTL Arabic Layout
════════════════════════════════════════════ */

:root {
    --primary:    #DC2626;
    --primary-dk: #B91C1C;
    --primary-lt: #EF4444;
    --black:      #111111;
    --dark:       #1a1a1a;
    --gray-900:   #1f2937;
    --gray-800:   #374151;
    --gray-700:   #4b5563;
    --gray-600:   #6b7280;
    --gray-500:   #9ca3af;
    --gray-400:   #d1d5db;
    --gray-300:   #e5e7eb;
    --gray-200:   #f3f4f6;
    --gray-100:   #f9fafb;
    --white:      #ffffff;
    --accent:     #F59E0B;
    --green:      #10B981;

    --font-main:  'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius:     8px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --shadow:     0 2px 12px rgba(0,0,0,.08);
    --shadow-lg:  0 8px 32px rgba(0,0,0,.12);

    --nav-h:      72px;
    --island-top:  16px;
    --container:   1320px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    direction: rtl;
    text-align: right;
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all .3s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

/* ════ REVEAL ANIMATION ════ */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.rv.in { opacity: 1; transform: translateY(0); }
.rv.d1 { transition-delay: .12s; }
.rv.d2 { transition-delay: .24s; }
.rv.d3 { transition-delay: .36s; }

/* ════════════════════════════════════════════
   ISLAND NAVBAR — Floating glass effect
════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: var(--island-top);
    left: 20px;
    right: 20px;
    z-index: 1000;
    transition: top .4s cubic-bezier(.4,0,.2,1);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    padding: 0 1.5rem;
    border-radius: 18px;
    background: rgba(220, 38, 38, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
    transition: background .4s cubic-bezier(.4,0,.2,1),
    border-color .4s ease,
    box-shadow .4s ease,
    height .35s ease,
    border-radius .35s ease,
    padding .35s ease;
}

.navbar.scrolled .nav-inner {
    background: rgba(255, 255, 255, 0.97);
    border-color: rgba(220, 38, 38, 0.1);
    box-shadow: 0 4px 24px rgba(220, 38, 38, .08), 0 1px 4px rgba(0,0,0,.06);
}

.navbar.shrunk .nav-inner {
    height: 60px;
    border-radius: 16px;
    padding: 0 1.25rem;
}

/* ── Logo ── */
.logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.logo-img-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background .3s;
}

.navbar.scrolled .logo-img-wrap { background: rgba(220,38,38,.08); }

.logo-img-wrap img, .logo-img-wrap svg {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.logo-img { width: 100%; height: 100%; object-fit: contain; }

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

.logo-name-main {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    white-space: nowrap;
}

.navbar.scrolled .logo-name-main { color: var(--primary); }

.logo-sub {
    font-size: .7rem;
    color: rgba(255,255,255,.7);
    font-weight: 500;
    white-space: nowrap;
}

.navbar.scrolled .logo-sub { color: var(--gray-500); }

/* ── Nav Links ── */
.nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.nav-links li a {
    padding: .45rem .85rem;
    font-size: .88rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    border-radius: 10px;
    transition: all .25s ease;
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--white);
    background: rgba(255,255,255,.12);
}

.navbar.scrolled .nav-links li a {
    color: var(--gray-700);
}

.navbar.scrolled .nav-links li a:hover,
.navbar.scrolled .nav-links li a.active {
    color: var(--primary);
    background: rgba(220,38,38,.06);
}

/* ── Nav End (phone + CTA) ── */
.nav-end {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-shrink: 0;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: rgba(255,255,255,.8);
    font-size: .78rem;
    font-weight: 500;
    padding: .3rem .7rem;
    border-radius: 8px;
    transition: color .3s, background .3s;
    white-space: nowrap;
}

.nav-phone svg { flex-shrink: 0; }
.nav-phone:hover { color: var(--white); background: rgba(255,255,255,.1); }
.navbar.scrolled .nav-phone { color: var(--gray-600); }
.navbar.scrolled .nav-phone:hover { color: var(--primary); background: rgba(220,38,38,.06); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.2rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--white);
    background: var(--primary);
    border-radius: 10px;
    transition: all .3s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--primary-dk);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220,38,38,.3);
}

.navbar.scrolled .nav-cta {
    background: var(--primary);
    color: var(--white);
}

/* ── Hamburger ── */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.hb {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all .3s ease;
}

.navbar.scrolled .hb { background: var(--gray-800); }

@media (max-width: 1024px) {
    .nav-links, .nav-end { display: none; }
    .menu-toggle { display: flex; }
}

/* ════ SIDEBAR (mobile) ════ */
.sb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}
.sb-overlay.open { opacity: 1; visibility: visible; }

.sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--black);
    z-index: 1200;
    transition: right .35s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.sidebar.open { right: 0; }

.sb-close {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,.1);
    border: none;
    border-radius: 8px;
    padding: 8px;
    color: var(--white);
    cursor: pointer;
}

.sb-head {
    padding: 2.5rem 1.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.sb-logo-wrap {
    width: 56px; height: 56px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: rgba(220,38,38,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.sb-logo-img { width: 100%; height: 100%; object-fit: contain; }

.sb-tagline { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.sb-sub { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: .2rem; }

.sb-nav { padding: 1rem; flex: 1; }

.sb-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    color: rgba(255,255,255,.7);
    border-radius: 10px;
    font-size: .92rem;
    font-weight: 600;
    transition: all .2s;
    margin-bottom: .25rem;
}
.sb-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.sb-link:hover, .sb-link.active {
    color: var(--white);
    background: rgba(220,38,38,.15);
}

.sb-foot { padding: 1rem 1.5rem 2rem; }

.sb-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .85rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    font-weight: 700;
    font-size: .92rem;
    margin-bottom: .75rem;
}

.sb-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .65rem;
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.7);
    border-radius: 10px;
    font-size: .85rem;
    text-align: center;
}

/* ════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--black);
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 50%, rgba(220,38,38,.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 6rem 2rem 4rem;
    margin: 0 auto 0 0;
    padding-right: max(2rem, calc((100vw - var(--container)) / 2 + 1.25rem));
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-content h1 span { color: var(--primary); }

.hero-content > p {
    font-size: 1.15rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    padding: .45rem 1rem;
    border-radius: 50px;
    font-size: .85rem;
    color: rgba(255,255,255,.9);
    font-weight: 600;
    backdrop-filter: blur(8px);
}

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

/* ── Scroll Indicator ── */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-indicator-inner {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-indicator-dot {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 4px;
    animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%     { transform: translateY(12px); opacity: .3; }
}

/* ════ BUTTONS ════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 2rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: .95rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all .3s ease;
}
.btn-primary:hover {
    background: var(--primary-dk);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220,38,38,.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 2rem;
    background: transparent;
    color: var(--white);
    font-weight: 700;
    font-size: .95rem;
    border-radius: var(--radius);
    border: 2px solid rgba(255,255,255,.3);
    cursor: pointer;
    transition: all .3s ease;
}
.btn-secondary:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.8rem;
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    font-size: .92rem;
    border-radius: var(--radius);
    border: 2px solid var(--primary);
    transition: all .3s ease;
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 2rem;
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    font-size: .95rem;
    border-radius: var(--radius);
    border: none;
    transition: all .3s ease;
}
.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
}

.btn-black {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 2rem;
    background: var(--black);
    color: var(--white);
    font-weight: 700;
    font-size: .95rem;
    border-radius: var(--radius);
    border: none;
    transition: all .3s ease;
}
.btn-black:hover {
    background: var(--gray-900);
    transform: translateY(-2px);
}

/* ════ SECTIONS ════ */
.section {
    padding: 5rem 0;
}

.section-gray { background: var(--gray-100); }
.section-dark { background: var(--black); color: var(--white); }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: .75rem;
}

.section-header h2 span { color: var(--primary); }

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

.divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

.subtitle {
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-top: .75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .subtitle { color: rgba(255,255,255,.6); }

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .35s ease;
}

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

.service-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.service-card:hover .service-card-img img { transform: scale(1.08); }

.service-card-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
}

.service-card-overlay h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
}

.service-card-body {
    padding: 1.25rem;
}

.service-card-body p {
    color: var(--gray-600);
    font-size: .9rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.features-list {
    margin-bottom: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    color: var(--gray-700);
    margin-bottom: .35rem;
}

.features-list li svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--primary);
    font-weight: 700;
    font-size: .88rem;
}

.read-more:hover { gap: .6rem; }

/* ════ PRODUCTS GRID ════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .35s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gray-200);
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.product-card:hover .product-image img { transform: scale(1.06); }

.product-badge {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: var(--primary);
    color: var(--white);
    padding: .25rem .75rem;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
}

.product-content {
    padding: 1.25rem;
}
.product-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .4rem;
    color: var(--gray-900);
}
.product-content p {
    color: var(--gray-600);
    font-size: .85rem;
    margin-bottom: .75rem;
    line-height: 1.6;
}

.product-meta { display: flex; align-items: center; justify-content: space-between; }

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

.product-btn {
    display: block;
    text-align: center;
    margin-top: .75rem;
    padding: .65rem;
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .88rem;
    transition: all .3s ease;
}
.product-card:hover .product-btn { background: var(--primary); }

/* ════ FILTER BAR ════ */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: .5rem 1.25rem;
    border-radius: 50px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-300);
    transition: all .3s ease;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ════ PACKAGES ════ */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.package-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all .35s ease;
    position: relative;
    border: 2px solid transparent;
}

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

.package-card.popular {
    border-color: var(--primary);
}

.package-card .badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: .3rem 1rem;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
}

.package-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: .5rem;
    color: var(--gray-900);
}

.package-card .price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: .5rem;
}

.package-card .price span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-500);
}

.package-card .price-note {
    font-size: .82rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.package-card .items {
    margin-bottom: 2rem;
}

.package-card .items li {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 0;
    font-size: .9rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
}

.package-card .items li:last-child { border: none; }

.package-card .items li svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

/* ════ TESTIMONIALS ════ */
.testimonials-section {
    padding: 5rem 0;
    background: var(--black);
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all .3s ease;
}

.testimonial-card:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-2px);
}

.stars { margin-bottom: .75rem; }
.star { color: var(--accent); font-size: 1.1rem; }

.testimonial-text {
    color: rgba(255,255,255,.8);
    font-size: .95rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(220,38,38,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
    overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-author .name { font-weight: 700; color: var(--white); font-size: .92rem; }
.testimonial-author .role { font-size: .8rem; color: rgba(255,255,255,.5); }

/* ════ WHY US ════ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.why-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all .35s ease;
    border-bottom: 3px solid transparent;
}

.why-item:hover {
    transform: translateY(-4px);
    border-bottom-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.why-item h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: .5rem;
}

.why-item p {
    color: var(--gray-600);
    font-size: .9rem;
}

/* ════ STATS ════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: .25rem;
}

.stat-label {
    font-size: .95rem;
    color: rgba(255,255,255,.6);
    font-weight: 500;
}

/* ════ PROJECTS / GALLERY ════ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.project-img {
    height: 280px;
    overflow: hidden;
}
.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.project-card:hover .project-img img { transform: scale(1.08); }

.project-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.project-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: .2rem .6rem;
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 700;
    width: fit-content;
}
.project-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

/* ════ FAQ ════ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: .75rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: .95rem;
    font-weight: 700;
    color: var(--gray-800);
    text-align: right;
    transition: color .3s;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
    font-size: 1.3rem;
    color: var(--primary);
    transition: transform .3s;
    flex-shrink: 0;
}
.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
}
.faq-answer.open {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}
.faq-answer p {
    color: var(--gray-600);
    font-size: .9rem;
    line-height: 1.8;
}

/* ════ BLOG ════ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .35s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.blog-img { height: 200px; overflow: hidden; position: relative; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.06); }

.blog-category {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: var(--primary);
    color: var(--white);
    padding: .2rem .6rem;
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 700;
}

.blog-content { padding: 1.25rem; }
.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: .78rem;
    color: var(--gray-500);
    margin-bottom: .5rem;
}
.blog-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: .5rem;
    line-height: 1.5;
}
.blog-content p {
    color: var(--gray-600);
    font-size: .88rem;
    line-height: 1.6;
    margin-bottom: .5rem;
}
.blog-link {
    color: var(--primary);
    font-weight: 700;
    font-size: .85rem;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
}

.blog-sidebar { position: sticky; top: 100px; align-self: start; }

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}
.sidebar-widget h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--primary);
}

.sidebar-post {
    display: flex;
    gap: .75rem;
    padding: .6rem 0;
    border-bottom: 1px solid var(--gray-200);
}
.sidebar-post:last-child { border: none; }
.sidebar-post img { width: 64px; height: 48px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.sidebar-post-info h4 { font-size: .82rem; font-weight: 700; color: var(--gray-800); line-height: 1.4; }
.sidebar-post-info span { font-size: .75rem; color: var(--gray-500); }

.post-tag {
    display: inline-block;
    padding: .25rem .65rem;
    background: var(--gray-100);
    color: var(--primary);
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 600;
}

/* ════ POST DETAIL ════ */
.post-detail h1 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.4;
    margin-bottom: 1rem;
}
.post-meta {
    display: flex;
    gap: 1.25rem;
    font-size: .85rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.post-featured-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}
.post-featured-image img { width: 100%; max-height: 500px; object-fit: cover; }
.post-body {
    color: var(--gray-700);
    line-height: 2;
    font-size: 1.02rem;
}
.post-body h2 { font-size: 1.4rem; font-weight: 800; color: var(--gray-900); margin: 2rem 0 .75rem; }
.post-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin: 1.5rem 0 .5rem; }
.post-body img { border-radius: var(--radius); margin: 1rem 0; }
.post-body ul, .post-body ol { padding-right: 1.5rem; margin: 1rem 0; }
.post-body li { margin-bottom: .5rem; }

.post-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-200); }

.share-buttons {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    font-size: .9rem;
    color: var(--gray-600);
}
.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-600);
    border: none;
    cursor: pointer;
    transition: all .3s ease;
}
.share-btn.twitter:hover { background: #1DA1F2; color: white; }
.share-btn.facebook:hover { background: #1877F2; color: white; }
.share-btn.whatsapp:hover { background: #25D366; color: white; }

/* ════ PAGE HEADER ════ */
.page-header {
    position: relative;
    padding: calc(var(--nav-h) + 60px) 0 50px;
    background: var(--black);
    text-align: center;
    overflow: hidden;
}
.page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .2;
}
.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.8));
}
.page-header h1 {
    position: relative;
    z-index: 2;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: .5rem;
}
.page-header p {
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,.7);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}
.breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
}
.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb a:hover { color: var(--primary-lt); }

/* ════ CTA SECTION ════ */
.cta-section {
    padding: 5rem 0;
    background: var(--primary);
    text-align: center;
    color: var(--white);
}
.cta-section h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 900;
    margin-bottom: .75rem;
}
.cta-section p {
    font-size: 1.05rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ════ QUICK SERVICE BAR ════ */
.quick-service-bar {
    background: var(--primary);
    padding: 1.5rem 0;
}

.quick-service-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.quick-service-form select,
.quick-service-form input {
    padding: .85rem 1rem;
    border-radius: var(--radius);
    border: none;
    font-family: var(--font-main);
    font-size: .9rem;
    background: var(--white);
    color: var(--gray-800);
}

/* ════ BRANCHES ════ */
.branches-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    min-height: 500px;
}

.branches-list {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-300);
    padding: 1.25rem;
}

.branch-search-input {
    width: 100%;
    padding: .65rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: .88rem;
    direction: rtl;
}

.branches-items-list {
    max-height: 450px;
    overflow-y: auto;
}

.branch-list-item {
    padding: .85rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .2s;
    margin-bottom: .4rem;
}
.branch-list-item:hover { background: var(--gray-100); }
.branch-list-item.active { background: rgba(220,38,38,.06); border-right: 3px solid var(--primary); }

.branch-list-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(220,38,38,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.branch-main-badge {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dk));
    color: var(--white);
    padding: .2rem .5rem;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
}

.branch-details-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-300);
    padding: 1.5rem;
}

.branch-detail-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.branch-detail-image img { width: 100%; height: 200px; object-fit: cover; }

.branch-detail-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: .5rem;
}
.branch-detail-title h3 {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gray-900);
}

.branch-info-items { margin-bottom: 1.5rem; }
.branch-info-row {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .65rem 0;
    border-bottom: 1px solid var(--gray-200);
}
.branch-info-row:last-child { border: none; }
.branch-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(220,38,38,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.branch-info-label { font-size: .78rem; color: var(--gray-500); font-weight: 500; }
.branch-info-value { font-size: .9rem; color: var(--gray-800); font-weight: 600; }
.branch-info-phone { color: var(--primary); font-weight: 700; font-size: .92rem; }

.branch-map-container { margin-bottom: 1.5rem; }
.branch-map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    height: 220px;
}
.branch-map-wrapper iframe { width: 100%; height: 100%; border: none; }

.branch-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.branch-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .7rem 1rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .85rem;
    transition: all .3s ease;
    min-width: 120px;
}
.branch-action-call { background: var(--primary); color: var(--white); }
.branch-action-call:hover { background: var(--primary-dk); }
.branch-action-wa { background: #25D366; color: var(--white); }
.branch-action-wa:hover { background: #1da851; }
.branch-action-dir { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-300); }
.branch-action-dir:hover { background: var(--gray-200); }

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.branch-grid-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.branch-grid-map { height: 180px; overflow: hidden; }
.branch-grid-map iframe { width: 100%; height: 100%; border: none; }
.branch-grid-content { padding: 1.25rem; }

/* ════ EMPTY STATE ════ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-500);
}
.empty-state h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-700); margin-bottom: .5rem; }
.empty-state p { font-size: .9rem; }

/* ════ PAGINATION ════ */
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2rem; flex-wrap: wrap; }
.pagination a, .pagination span {
    padding: .5rem .85rem;
    border-radius: 6px;
    font-size: .88rem;
    font-weight: 600;
}

/* ════ FLOATING BUTTONS ════ */
.floating-btns {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
    transition: all .3s ease;
    border: none;
    cursor: pointer;
}
.float-btn:hover { transform: scale(1.1); }

.float-btn.whatsapp { background: #25D366; }
.float-btn.phone-call { background: var(--primary); }
.float-btn.scroll-top { background: var(--black); }

/* ════ TOAST ════ */
.toast-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}
.toast-overlay.show { opacity: 1; visibility: visible; }

.toast-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    max-width: 380px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.toast-icon { margin-bottom: 1rem; }
.toast-icon.success { color: var(--green); }
.toast-icon.error { color: var(--primary); }

.toast-box h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .5rem; }
.toast-box p { color: var(--gray-600); font-size: .9rem; margin-bottom: 1.25rem; }

.toast-close {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: .65rem 2rem;
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-weight: 700;
    cursor: pointer;
    transition: background .3s;
}
.toast-close:hover { background: var(--primary-dk); }

/* ════ FOOTER ════ */
.footer {
    background: var(--black);
    color: var(--white);
}

.footer-content { padding: 4rem 0 2rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.footer-logo-img-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(220,38,38,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.footer-logo-img { width: 100%; height: 100%; object-fit: contain; }

.footer-about p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.8; margin-bottom: 1rem; }

.social-links { display: flex; gap: .5rem; }

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    transition: all .3s ease;
}
.social-link:hover { background: var(--primary); color: var(--white); }

.footer h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.footer-links li { margin-bottom: .5rem; }
.footer-links li a {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: rgba(255,255,255,.6);
    font-size: .88rem;
    transition: color .3s;
}
.footer-links li a:hover { color: var(--primary); }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: .75rem;
    color: rgba(255,255,255,.6);
    font-size: .88rem;
}
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--primary); margin-top: .1rem; }
.footer-contact-item a { color: rgba(255,255,255,.6); }
.footer-contact-item a:hover { color: var(--primary); }

/* Newsletter */
.newsletter {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

.newsletter-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.newsletter-text h4 { color: var(--white); margin-bottom: .4rem; }
.newsletter-text p { color: rgba(255,255,255,.5); font-size: .88rem; margin-bottom: 1rem; }

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

.newsletter-input {
    flex: 1;
    padding: .75rem 1rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    color: var(--white);
    font-family: var(--font-main);
    font-size: .88rem;
    direction: ltr;
    text-align: left;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.4); }

.newsletter-btn {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .75rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    transition: background .3s;
}
.newsletter-btn:hover { background: var(--primary-dk); }

.footer-bottom {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p { color: rgba(255,255,255,.4); font-size: .82rem; }

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-links a { color: rgba(255,255,255,.4); font-size: .82rem; }
.footer-bottom-links a:hover { color: var(--primary); }

/* ════ TIRE FINDER / FILTER ════ */
.tire-finder {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.tire-finder h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--gray-900);
    text-align: center;
}

.tire-finder-form {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    align-items: end;
}

.tire-finder-form .field label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: .4rem;
}

.tire-finder-form select,
.tire-finder-form input {
    width: 100%;
    padding: .7rem .85rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: .88rem;
    color: var(--gray-800);
    background: var(--white);
}

.tire-finder-form select:focus,
.tire-finder-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220,38,38,.08);
}

/* ════ FORM STYLES ════ */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: .9rem;
    color: var(--gray-800);
    transition: border-color .3s, box-shadow .3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220,38,38,.08);
}

/* ════ RESPONSIVE ════ */
@media (max-width: 1024px) {
    .branches-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .tire-finder-form { grid-template-columns: repeat(3, 1fr); }
    .quick-service-form { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navbar { left: 10px; right: 10px; }
    .hero-content { padding: 7rem 1.25rem 3rem; }
    .section { padding: 3.5rem 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { display: none; }
    .tire-finder-form { grid-template-columns: 1fr 1fr; }
    .quick-service-form { grid-template-columns: 1fr; }
    .packages-grid { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
    .tire-finder-form { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons a { width: 100%; justify-content: center; }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dk); }

/* Print */
@media print {
    .navbar, .footer, .floating-btns, .sb-overlay, .sidebar { display: none !important; }
}


