/* ==========================================================
   مكتب الخبرة لمستلزمات المختبرات العلمية - Main Stylesheet
   Design based on the Solutek template (RTL + LTR)
   ========================================================== */
:root {
    --accent: #2f9fd0;
    --accent-rgb: 47, 159, 208;
    --accent-deep: #1b6f96;
    --accent-2: #56bde6;
    --accent-soft: #eef8fc;
    --accent-pale: #e2f1f8;
    --dark: #1d2056;
    --dark-rgb: 29, 32, 86;
    --dark-2: #252867;
    --dark-3: #222563;
    --dark-line: #4a4e86;
    --dark-4: #2e3272;
    --gray: #f4f4f4;
    --text: #7a7a7a;
    --heading: var(--dark);
    --border: rgba(122, 122, 122, .15);
    --white: #fff;
    --radius: 15px;
    --shadow: 0 15px 40px rgba(var(--dark-rgb), .07);
    --font-head: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;
}
html[lang="en"] { --font-head: 'Poppins', sans-serif; --font-body: 'Fira Sans', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.8;
    color: var(--text); background: var(--white); overflow-x: hidden;
}
body.lock { overflow: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--heading); margin: 0 0 .5em; line-height: 1.4; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; transition: .3s; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; background: linear-gradient(135deg, var(--accent-pale), #e9ecf5); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .45); outline-offset: 2px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.container-fluid { width: 100%; padding: 0 5%; }
.container-wide { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 40px; }
.section-pad { padding: 120px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.center-btn { text-align: center; margin-top: 45px; }
.hidden { display: none !important; }

/* ---------- Animations ---------- */
@keyframes rotateme { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes dance { 0% { transform: translateY(0); } 100% { transform: translateY(-25px); } }
@keyframes bounce2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes slidebg { to { background-position: 20vw; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .55); } 100% { box-shadow: 0 0 0 28px rgba(var(--accent-rgb), 0); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Preloader (split halves like the template) ---------- */
#preloader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; pointer-events: all; }
#preloader .pl-half { position: absolute; top: 0; width: 51%; height: 100%; background: var(--dark); transition: transform .9s cubic-bezier(.77, 0, .18, 1); }
#preloader .pl-left { left: 0; }
#preloader .pl-right { right: 0; }
#preloader .loader-inner { position: relative; z-index: 2; display: grid; place-items: center; gap: 14px; color: #fff; transition: opacity .3s; }
#preloader .pl-ring { position: absolute; top: -18px; width: 110px; height: 110px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--accent); border-bottom-color: var(--accent); animation: rotateme 1.2s linear infinite; }
#preloader .loader-inner i { font-size: 40px; color: var(--accent); width: 74px; height: 74px; display: grid; place-items: center; }
#preloader strong { font-family: var(--font-head); font-size: 22px; margin-top: 18px; }
#preloader.hide { pointer-events: none; }
#preloader.hide .loader-inner { opacity: 0; }
#preloader.hide .pl-left { transform: translateX(-100%); }
#preloader.hide .pl-right { transform: translateX(100%); }

/* ---------- Cursor ---------- */
.cursor, .cursor2 { display: none; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 10000; border-radius: 50%; }
.has-cursor .cursor, .has-cursor .cursor2 { display: block; opacity: 0; }
.cursor-on .cursor, .cursor-on .cursor2 { opacity: 1; }
.cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--accent); }
.cursor2 { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid var(--accent); transition: transform .15s ease-out, width .3s, height .3s, margin .3s, background .3s; }
.cursor-hot .cursor2 { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(var(--accent-rgb), .08); }

/* ---------- Buttons (Solutek hover blocks) ---------- */
.sbtn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; position: relative; z-index: 1; overflow: hidden;
    background: var(--accent); color: #fff; padding: 15px 30px; border-radius: 30px; border: 0; cursor: pointer;
    font-family: var(--font-head); font-size: 15px; font-weight: 600; text-transform: uppercase; line-height: 1.4; transition: .5s;
}
.sbtn-text { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; }
.sbtn .hb { position: absolute; top: 0; height: 100%; width: 25.2%; background: var(--dark); opacity: 0; transform: scaleX(0); transition: all .5s ease; z-index: 1; }
.sbtn .hb1 { left: 0; } .sbtn .hb2 { left: 25%; } .sbtn .hb3 { left: 50%; } .sbtn .hb4 { left: 75%; }
.sbtn:hover .hb { opacity: 1; transform: scaleX(1); }
.sbtn:hover { color: #fff; }
.sbtn.light-hover .hb { background: #fff; }
.sbtn.light-hover:hover { color: var(--accent); }
.sbtn.soft { background: var(--accent-pale); color: var(--accent); }
.sbtn.soft .hb { background: var(--accent); }
.sbtn.soft:hover { color: #fff; }
.sbtn.dark-btn { background: var(--dark); font-size: 18px; font-weight: 500; }
.sbtn.dark-btn .hb { background: #fff; }
.sbtn.dark-btn:hover { color: var(--accent); }
.sbtn.wa { background: #25d366; }
.sbtn.wa:hover { background: #1ebe5b; }
.sbtn.block { display: flex; width: 100%; }
.sbtn:disabled { opacity: .6; cursor: wait; }
.btn-2:hover { background-image: linear-gradient(90deg, var(--accent) 0%, #ffcf00 49%, var(--accent-deep) 80%, var(--accent) 100%); animation: slidebg 5s linear infinite; }

/* ---------- Section titles ---------- */
.section-title { margin-bottom: 55px; }
.section-title.center { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: 55px; }
.section-title.start { text-align: start; }
h5.section-sub-title {
    display: inline-block; position: relative; z-index: 1; font-size: 16px; line-height: 25px; font-weight: 600; color: var(--accent);
    background: rgba(var(--accent-rgb), .03); border: 1px solid var(--border); border-radius: 20px; padding: 6px 29px; margin: 0 0 22px;
    margin-inline-start: 18px;
}
h5.section-sub-title::before { content: ""; position: absolute; width: 30px; height: 7px; background: var(--accent); border-radius: 30px; inset-inline-start: -18px; top: 14px; }
.section-title.center h5.section-sub-title { margin-inline-start: 0; }
h5.section-sub-title.dark, .dark h5.section-sub-title { background: var(--dark-3); border: 2px solid var(--dark-line); }
h2.section-main-title { font-size: 42px; line-height: 1.35; font-weight: 700; color: var(--heading); margin: 0; }
h2.section-main-title span { color: var(--accent); display: inline-block; }
.dark h2.section-main-title { color: #fff; }
.section-desc { margin: 18px 0 0; font-size: 17px; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 55px; }
.row-head .section-title { margin-bottom: 0; }
.head-desc { max-width: 430px; margin: 0; }

/* ---------- Top header ---------- */
.top-header { background: var(--dark); color: #fff; font-size: 15px; }
.th-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 50px; padding-block: 6px; }
.header-info { display: flex; flex-wrap: wrap; gap: 8px 42px; }
.header-info i { margin-inline-end: 6px; color: #fff; }
.header-info a:hover { color: var(--accent); }
.th-end { display: flex; align-items: center; gap: 22px; }
.th-social { display: flex; gap: 20px; }
.th-social a:hover { color: var(--accent); }
.lang-btn {
    display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid var(--dark-line);
    border-radius: 20px; padding: 4px 14px; cursor: pointer; font-size: 14px; font-family: 'Poppins', 'Cairo', sans-serif; transition: .3s;
}
.lang-btn:hover { background: var(--accent); border-color: var(--accent); }
.lang-btn.dark { background: var(--dark-2); }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: background .4s, box-shadow .4s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.site-header.scrolled { background: var(--dark); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: 0 10px 25px rgba(var(--accent-rgb), .35); }
.logo-img { height: 54px; width: auto; background: #fff; padding: 4px 10px; border-radius: 10px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--heading); transition: .3s; }
.logo-text small { font-size: 12.5px; color: var(--text); transition: .3s; }
.logo.light .logo-text strong, .scrolled .logo-text strong { color: #fff; }
.logo.light .logo-text small, .scrolled .logo-text small { color: rgba(255, 255, 255, .6); }
.main-nav > ul { display: flex; align-items: center; }
.main-nav > ul a { display: block; margin: 0 16px; padding: 14px 0; position: relative; font-size: 16px; color: #232323; font-weight: 500; }
.main-nav > ul a::after { content: ""; position: absolute; bottom: 8px; inset-inline-start: 0; width: 0; height: 2px; background: var(--accent); transition: .4s; }
.main-nav > ul a:hover, .main-nav > ul a.active { color: var(--accent); }
.main-nav > ul a:hover::after, .main-nav > ul a.active::after { width: 100%; }
.scrolled .main-nav > ul a { color: #fff; }
.scrolled .main-nav > ul a:hover, .scrolled .main-nav > ul a.active { color: var(--accent); }
.mnav-head, .mnav-foot { display: none; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.side-btn { width: 46px; height: 46px; border: 0; background: rgba(var(--accent-rgb), .07); color: var(--accent); font-size: 18px; cursor: pointer; transition: .3s; }
.side-btn:hover { background: var(--accent); color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--accent); border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; transition: .3s; }

/* ---------- Offcanvas (sidebar info) ---------- */
.offcanvas { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.oc-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); opacity: 0; transition: .4s; cursor: pointer; }
.oc-panel { position: absolute; top: 0; inset-inline-end: 0; width: 400px; max-width: 88%; height: 100%; overflow-y: auto; background: #fff; padding: 40px 36px; transform: translateX(-100%); transition: .5s cubic-bezier(.77, 0, .18, 1); }
[dir="ltr"] .oc-panel { transform: translateX(100%); }
.offcanvas.open { visibility: visible; }
.offcanvas.open .oc-overlay { opacity: 1; }
.offcanvas.open .oc-panel { transform: none; }
.oc-close { position: absolute; top: 16px; inset-inline-end: 18px; border: 0; background: none; font-size: 26px; color: var(--accent); cursor: pointer; }
.oc-panel .logo { margin-bottom: 28px; }
.oc-search { display: flex; border: 1px solid #e5e5e5; border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.oc-search input { flex: 1; border: 0; padding: 13px 16px; outline: none; min-width: 0; }
.oc-search button { border: 0; background: var(--accent); color: #fff; width: 52px; cursor: pointer; }
.oc-title { font-size: 22px; padding: 18px 0 14px; margin: 0 0 14px; border-bottom: 1px solid #e9e9e9; }
.oc-list li { display: flex; gap: 12px; align-items: baseline; margin-bottom: 10px; }
.oc-list i { color: var(--accent); }
.oc-text { font-size: 15px; margin-top: 12px; }
.oc-social { display: flex; gap: 10px; }
.oc-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--gray); color: var(--heading); }
.oc-social a:hover { background: var(--accent); color: #fff; }
.news-form { display: flex; }
.news-form input { flex: 1; min-width: 0; height: 54px; border: 1px solid #e5e5e5; border-radius: 10px; border-start-end-radius: 0; border-end-end-radius: 0; padding: 0 18px; outline: none; }
.news-form button { width: 62px; height: 54px; border: 0; background: var(--accent); color: #fff; font-size: 18px; border-radius: 10px; border-start-start-radius: 0; border-end-start-radius: 0; cursor: pointer; }
[dir="rtl"] .news-form button i { transform: scaleX(-1); }

/* ---------- Hero (style three) ---------- */
.hero-area { position: relative; z-index: 1; background: var(--dark); min-height: 800px; display: flex; align-items: center; overflow: hidden; padding: 70px 0 90px; }
.hero-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .28), transparent 65%); inset-inline-end: -120px; top: 50%; transform: translateY(-50%); z-index: -1; }
.hero-geo { position: absolute; top: 60px; inset-inline-start: 2%; width: 160px; color: rgba(255, 255, 255, .12); animation: rotateme 15s linear infinite; z-index: -1; }
.hero-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
.hero-sub { position: relative; font-size: 16px; line-height: 42px; color: var(--accent); font-weight: 600; margin: 0; padding-inline-start: 58px; }
.hero-sub::before, .hero-sub::after { content: ""; position: absolute; top: 18px; height: 6px; border-radius: 3px; background: var(--accent); }
.hero-sub::before { width: 18px; inset-inline-start: 0; }
.hero-sub::after { width: 25px; inset-inline-start: 24px; }
.hero-area h1 { font-size: 62px; line-height: 1.3; color: #fff; font-weight: 700; margin: 6px 0 0; }
.hero-area h1 span { color: var(--accent); }
.hero-content > p { font-size: 19px; line-height: 1.6; color: var(--text); padding: 18px 0 40px; margin: 0; }
.hero-btns { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.hero-profile { display: flex; align-items: center; gap: 10px; }
.avatars { display: flex; }
.avatars span { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--accent); background: var(--dark-2); color: #fff; display: grid; place-items: center; font-weight: 700; margin-inline-start: -12px; font-family: var(--font-head); }
.avatars span:first-child { margin-inline-start: 0; }
.hero-profile a { color: #fff; font-weight: 700; text-transform: uppercase; font-size: 15px; font-family: var(--font-head); }
.hero-profile a span { color: var(--accent); text-decoration: underline; margin-inline-end: 4px; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: #fff; }
.hero-trust small { opacity: .75; font-size: 15px; }
.stars { display: flex; gap: 4px; color: #ffc600; font-size: 14px; }
.hero-media { position: relative; height: 600px; }
.hero-ring { position: absolute; inset: 20px 40px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .15); animation: rotateme 40s linear infinite; }
.hero-ring::before { content: ""; position: absolute; top: 12%; inset-inline-start: 8%; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 25px var(--accent); }
.hero-dots { position: absolute; bottom: 30px; inset-inline-start: 0; width: 120px; color: rgba(var(--accent-rgb), .6); animation: dance 3s alternate infinite; }
.hero-img { position: absolute; top: 50%; left: 50%; width: 380px; height: 520px; transform: translate(-50%, -50%); border-radius: 200px 200px 30px 30px; overflow: hidden; border: 8px solid rgba(255, 255, 255, .06); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; top: 90px; inset-inline-start: 20px; background: var(--accent); color: #fff; border-radius: 20px; border-start-end-radius: 0; padding: 18px 24px; text-align: center; animation: floaty 4s ease-in-out infinite; box-shadow: 0 20px 40px rgba(var(--accent-rgb), .35); }
.hero-badge strong { display: block; font-size: 32px; font-family: var(--font-head); line-height: 1.1; }
.hero-badge small { font-size: 14px; }
.hero-card { position: absolute; bottom: 70px; inset-inline-end: 10px; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 14px 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); animation: floaty 5s ease-in-out infinite .6s; }
.hero-card i { font-size: 30px; color: var(--accent); }
.hero-card strong { display: block; color: var(--heading); font-family: var(--font-head); }
.hero-card small { font-size: 13px; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; padding-bottom: 60px; padding-inline-end: 70px; }
.about-thumb { position: relative; border-radius: 30px; overflow: hidden; }
.about-thumb img { width: 100%; height: 520px; object-fit: cover; }
.about-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--dark-rgb), .75), transparent 45%); }
.about-label { position: absolute; bottom: 28px; inset-inline-start: 30px; z-index: 2; color: #fff; font-size: 20px; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 12px; }
.about-label strong { font-size: 44px; color: var(--accent); line-height: 1; }
.about-thumb2 { position: absolute; bottom: 0; inset-inline-end: 0; width: 46%; border-radius: 25px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow); }
.about-thumb2 img { width: 100%; height: 230px; object-fit: cover; }
.about-shape { position: absolute; top: -30px; inset-inline-end: 20px; width: 110px; color: var(--accent); opacity: .5; animation: dance 3s alternate infinite; }
.about-content .section-title { margin-bottom: 26px; }
.about-p { margin: 0 0 22px; }
.about-box { display: flex; align-items: center; gap: 16px; margin: 6px 0 16px; }
.about-icon { width: 58px; height: 64px; border-radius: 10px; background: var(--gray); display: grid; place-items: center; font-size: 26px; color: var(--accent); flex-shrink: 0; }
.about-box h3 { font-size: 22px; margin: 0; }
.about-text { margin: 0 0 20px; padding-inline-start: 18px; border-inline-start: 3px solid var(--accent); font-weight: 500; color: #555; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 0 0 34px; }
.check-list li { display: flex; gap: 10px; align-items: baseline; color: #555; }
.check-list i { color: var(--accent); }
.check-list.light li { color: rgba(255, 255, 255, .85); }

/* ---------- Services ---------- */
.services-area { position: relative; z-index: 1; overflow: hidden; background: var(--gray); padding: 120px 0 90px; }
.service-box { position: relative; z-index: 1; overflow: hidden; background: #fff; border-radius: var(--radius); padding: 45px 35px 42px; height: 100%; }
.service-box::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(145deg, var(--dark) 0%, var(--dark-2) 55%, var(--accent) 140%);
    clip-path: polygon(50% 0, 50% 0, 50% 50%, 50% 100%, 50% 100%, 50% 50%); transition: .5s;
}
.service-box:hover::before { clip-path: polygon(25% -70%, 75% -70%, 120% 50%, 75% 170%, 25% 170%, -20% 50%); }
.service-icon { font-size: 48px; line-height: 1; color: var(--accent); margin-bottom: 30px; transition: .5s; }
.service-title { font-size: 22px; font-weight: 600; margin: 0 0 12px; transition: .5s; }
.service-text { margin: 0 0 24px; transition: .5s; }
.service-btn { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 600; color: var(--heading); transition: .5s; font-family: var(--font-head); }
.service-btn i { width: 35px; height: 35px; border-radius: 50%; background: var(--gray); color: var(--accent); display: grid; place-items: center; font-size: 13px; transition: .5s; }
.service-box:hover .service-icon, .service-box:hover .service-title, .service-box:hover .service-text, .service-box:hover .service-btn { color: #fff; }
.service-box:hover .service-btn i { background: var(--accent-2); color: #fff; }
.svc-shape { position: absolute; z-index: -1; pointer-events: none; }
.svc-shape.s1 { top: 90px; inset-inline-start: 5%; width: 60px; height: 60px; border: 10px solid rgba(var(--accent-rgb), .12); border-radius: 50%; animation: bounce2 4s ease-in-out infinite; }
.svc-shape.s2 { bottom: 40px; inset-inline-end: 3%; width: 110px; color: rgba(var(--dark-rgb), .08); }
.svc-shape.s3 { top: 45%; inset-inline-end: 6%; width: 26px; height: 26px; background: var(--accent); opacity: .15; transform: rotate(45deg); animation: bounce2 5s ease-in-out infinite; }
.why-area { background: #fff; }
.why-area .service-box { background: var(--gray); text-align: center; }
.why-area .service-icon { width: 90px; height: 90px; margin: 0 auto 26px; display: grid; place-items: center; background: #fff; border-radius: 50%; font-size: 36px; }
.why-area .service-box:hover .service-icon { background: var(--accent); }

/* ---------- Categories (project area) ---------- */
.project-area { background: var(--dark); background-image: radial-gradient(circle at 85% 10%, rgba(var(--accent-rgb), .2), transparent 35%), radial-gradient(circle at 10% 90%, rgba(255, 255, 255, .05), transparent 30%); padding: 120px 0 90px; }
.project-area .section-main-title { color: #fff; }
.project-area h5.section-sub-title { background: var(--dark-3); border: 2px solid var(--dark-line); }
.carousel, .slider { margin: 0 -15px; }
.carousel-view, .slider-view { overflow: hidden; }
.carousel-track, .slider-track { display: flex; transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.carousel-track > .project-box { flex: 0 0 25%; padding: 0 15px; }
.project-box { display: block; position: relative; }
.project-thumb { position: relative; overflow: hidden; border-radius: 20px 20px 0 0; }
.project-thumb img { width: 100%; height: 330px; object-fit: cover; transition: transform .6s; }
.project-thumb::before { content: ""; position: absolute; inset: 0; z-index: 1; width: 0; background: linear-gradient(180deg, rgba(var(--accent-rgb), 0) 45%, rgba(var(--accent-rgb), .95) 100%); transition: .5s; }
.project-box:hover .project-thumb::before { width: 100%; }
.project-box:hover .project-thumb img { transform: scale(1.08); }
.project-content { background: var(--dark-2); padding: 30px 16px 36px; text-align: center; border-radius: 0 0 20px 20px; }
.project-title { color: #fff; font-size: 22px; font-weight: 600; margin: 0 0 4px; transition: .3s; }
.project-text { color: var(--accent); margin: 0; font-size: 15px; text-transform: uppercase; }
.project-box:hover .project-title { color: var(--accent); }
.slider-dots { display: flex; justify-content: center; gap: 26px; padding-top: 40px; }
.slider-dots button { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); cursor: pointer; }
.slider-dots button::before { content: ""; position: absolute; width: 20px; height: 20px; left: -5px; top: -5px; border-radius: 50%; border: 1px dashed transparent; transition: .3s; }
.slider-dots button.active { background: #fff; }
.slider-dots button.active::before { border-color: #fff; }
.project-area.page .cat-grid { gap: 30px; }
.project-area.page .section-title { margin-bottom: 55px; }

/* ---------- Brands ---------- */
.brand-area { background: var(--accent); margin: 0 49px; padding: 38px 0; border-radius: 0 0 50px 50px; overflow: hidden; }
.brand-marquee { overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brand-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.brand-area:hover .brand-track { animation-play-state: paused; }
.brand-box { flex: 0 0 auto; width: 230px; display: grid; place-items: center; padding: 0 20px; }
.brand-box span { font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 700; color: #fff; opacity: .9; letter-spacing: .5px; white-space: nowrap; }
.brand-box img { max-height: 46px; width: auto; background: none; filter: brightness(0) invert(1); }

/* ---------- Products (pricing style) ---------- */
.products-area.gray { background: var(--gray); }
.product-box { text-align: center; display: flex; flex-direction: column; }
.product-box.show { animation: cardIn .45s ease; }
.product-head { position: relative; z-index: 1; display: block; overflow: hidden; background: var(--accent-soft); border-radius: 15px 40px 15px 15px; padding: 22px 22px 30px; margin-bottom: 5px; }
[dir="rtl"] .product-head { border-radius: 40px 15px 15px 15px; }
.product-head::before { content: ""; position: absolute; inset: 12px; border: 1px dashed rgba(var(--accent-rgb), .45); border-radius: 12px 34px 12px 12px; pointer-events: none; transition: .4s; }
[dir="rtl"] .product-head::before { border-radius: 34px 12px 12px 12px; }
.product-head::after { content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 0; height: 100%; z-index: -1; background: linear-gradient(160deg, var(--dark) 20%, var(--dark-2) 70%, var(--accent) 150%); transition: .5s; }
.product-box:hover .product-head::after { width: 100%; }
.product-box:hover .product-head::before { border-color: rgba(255, 255, 255, .25); }
.product-img { position: relative; border-radius: 14px; overflow: hidden; margin-bottom: 22px; }
.product-img img { width: 100%; height: 210px; object-fit: cover; transition: transform .6s; }
.product-box:hover .product-img img { transform: scale(1.06); }
.product-price { font-size: 30px; font-weight: 700; color: var(--accent); margin: 0; line-height: 1.3; transition: .5s; }
.product-price small { font-size: 15px; font-weight: 600; }
.product-old { display: block; font-size: 14px; color: #999; transition: .5s; }
.product-old small { font-size: 12px; }
.product-title { font-size: 19px; font-weight: 600; color: var(--heading); margin: 10px 0 0; transition: .5s; }
.product-box:hover .product-price, .product-box:hover .product-title { color: #fff; }
.product-box:hover .product-old { color: rgba(255, 255, 255, .6); }
.product-tag { position: absolute; top: 22px; inset-inline-start: 22px; z-index: 3; font-size: 13px; font-weight: 600; color: #fff; background: var(--accent); padding: 3px 14px; border-radius: 20px; font-family: var(--font-head); }
.product-tag.tag-new { background: var(--dark); }
.product-tag.tag-best { background: #ffb400; color: var(--dark); }
.product-body { padding: 18px 10px 0; display: flex; flex-direction: column; align-items: center; flex: 1; }
.product-meta { font-size: 14px; color: var(--accent); font-weight: 500; margin-bottom: 6px; }
.product-list { margin-bottom: 24px; flex: 1; }
.product-list li { line-height: 38px; font-size: 15px; }
.product-list i { color: var(--accent); margin-inline-end: 8px; }
.product-body .sbtn { padding: 14px 44px; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 45px; padding: 14px; background: var(--gray); border-radius: 20px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tabs button { border: 0; background: #fff; color: var(--heading); padding: 10px 24px; border-radius: 30px; cursor: pointer; font-weight: 600; font-family: var(--font-head); transition: .3s; }
.filter-tabs button:hover, .filter-tabs button.active { background: var(--accent); color: #fff; }
.filter-fields { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-fields select, .search-field { height: 46px; border: 0; background: #fff; border-radius: 30px; padding: 0 18px; color: var(--heading); outline: none; }
.search-field { display: flex; align-items: center; gap: 8px; }
.search-field i { color: var(--accent); }
.search-field input { border: 0; outline: none; height: 100%; min-width: 180px; background: none; }
.empty-note { text-align: center; padding: 30px; background: var(--gray); border-radius: 20px; }
.empty-note a { color: var(--accent); font-weight: 600; }
.note-center { text-align: center; font-size: 14px; margin: 30px 0 0; }

/* ---------- Offer ---------- */
.offer-area { padding-bottom: 120px; }
.offer-inner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; background: var(--dark); border-radius: 40px; padding: 70px 70px; }
.offer-inner::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; inset-inline-end: -150px; top: -150px; background: radial-gradient(circle, rgba(var(--accent-rgb), .35), transparent 65%); }
.offer-geo { position: absolute; bottom: -40px; inset-inline-start: 38%; width: 180px; color: rgba(255, 255, 255, .07); animation: rotateme 18s linear infinite; }
.offer-content { position: relative; z-index: 1; }
.offer-content h2 { color: #fff; font-size: 40px; font-weight: 700; margin: 0 0 24px; }
.offer-content .big { color: var(--accent); font-size: 60px; display: inline-block; line-height: 1; }
.offer-content .check-list { grid-template-columns: 1fr; }
.offer-media { position: relative; z-index: 1; }
.offer-media img { width: 100%; height: 360px; object-fit: cover; border-radius: 30px; border: 8px solid var(--dark-2); background: var(--dark-2); }
.offer-stamp { position: absolute; top: -24px; inset-inline-start: -24px; width: 120px; height: 120px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-content: center; text-align: center; animation: pulse 2s infinite; font-family: var(--font-head); }
.offer-stamp strong { font-size: 32px; line-height: 1; }

/* ---------- Process ---------- */
.process-area { background: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.process-item { text-align: center; position: relative; }
.process-item:not(:last-child)::after { content: ""; position: absolute; top: 55px; inset-inline-start: calc(50% + 75px); width: calc(100% - 110px); border-top: 2px dashed rgba(var(--accent-rgb), .35); }
.process-num { width: 110px; height: 110px; margin: 0 auto 26px; border-radius: 50%; border: 2px dashed var(--accent); display: grid; place-items: center; position: relative; }
.process-num span { width: 82px; height: 82px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 28px; font-weight: 700; font-family: 'Poppins', sans-serif; transition: .4s; }
.process-item:hover .process-num span { background: var(--dark); }
.process-item h3 { font-size: 22px; margin-bottom: 8px; }
.process-item p { margin: 0; }

/* ---------- FAQ ---------- */
.faq-area { position: relative; z-index: 1; overflow: hidden; background: var(--gray); padding: 120px 0; }
.faq-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.faq-start .section-title { margin-bottom: 40px; }
.faq-thumb { position: relative; }
.faq-thumb img { width: 100%; height: 400px; object-fit: cover; border-radius: 30px; border-start-end-radius: 120px; }
.faq-badge { position: absolute; bottom: 30px; inset-inline-end: -20px; width: 90px; height: 90px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 34px; display: grid; place-items: center; border: 8px solid var(--gray); animation: floaty 4s ease-in-out infinite; }
.faq-intro { margin-bottom: 30px; }
.faq-title { font-size: 28px; font-weight: 600; margin: 0 0 10px; }
.faq-title span { color: var(--accent); }
.faq-intro p { margin: 0; }
.acc-item { background: rgba(255, 255, 255, .5); border: 2px solid #fff; border-radius: 15px; transition: .3s; }
.acc-item:not(:last-child) { margin-bottom: 18px; }
.acc-item.active { background: #fff; }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; padding: 18px 26px; cursor: pointer; text-align: start; font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--heading); transition: .3s; }
.acc-head:hover, .acc-item.active .acc-head { color: var(--accent); }
.acc-head i { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--gray); color: var(--accent); display: grid; place-items: center; font-size: 13px; transition: .3s; }
.acc-item.active .acc-head i { transform: rotate(45deg); background: var(--accent); color: #fff; }
.acc-body { padding: 0 26px 24px; }
.acc-body p { margin: 0; padding-top: 16px; border-top: 1px solid #ebebeb; color: #646464; line-height: 1.9; }
.faq-shape { position: absolute; top: 60px; inset-inline-end: 3%; width: 130px; color: rgba(var(--accent-rgb), .12); animation: rotateme 20s linear infinite; z-index: -1; }

/* ---------- Testimonials ---------- */
.testimonial-area { margin: 0 50px; padding: 120px 0; border-radius: 40px; background: var(--dark); background-image: radial-gradient(circle at 15% 20%, rgba(var(--accent-rgb), .18), transparent 30%), radial-gradient(circle at 90% 85%, rgba(var(--accent-rgb), .12), transparent 30%); }
.testimonial-area .section-main-title { color: #fff; }
.testimonial-area h5.section-sub-title { background: var(--dark-3); border: 2px solid var(--dark-line); }
.testi-item { flex: 0 0 33.3333%; padding: 0 15px; }
.testi-box { background: var(--dark-2); border-radius: 20px; padding: 39px 27px 32px; text-align: center; margin-bottom: 20px; }
.testi-icon { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: rgba(var(--accent-rgb), .12); color: var(--accent); display: grid; place-items: center; font-size: 26px; }
.testi-text { color: #fff; opacity: .7; padding: 30px 0 26px; margin: 0; border-bottom: 1px solid var(--dark-4); min-height: 150px; }
.testi-box .stars { justify-content: center; padding: 24px 0 12px; }
.testi-title { font-size: 20px; color: #fff; font-weight: 600; margin: 0; }
.testi-title span { display: inline-block; font-size: 14px; font-weight: 400; color: var(--accent); margin-inline-start: 12px; font-family: var(--font-body); }
.testi-author { position: relative; display: flex; justify-content: center; }
.testi-author::before, .testi-author::after { content: ""; position: absolute; top: 50%; width: 30%; height: 1px; border-top: 1px dashed var(--dark-line); }
.testi-author::before { left: 6%; }
.testi-author::after { right: 6%; }
.testi-author span { width: 70px; height: 70px; border-radius: 50%; border: 3px solid var(--accent); background: var(--dark-2); color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 700; font-family: var(--font-head); }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.contact-form-wrap .section-title { margin-bottom: 34px; }
.contact-form-wrap h2.section-main-title { font-size: 32px; font-weight: 600; }
.contact-area h5.section-sub-title { background: var(--gray); border: 2px solid #fff; }
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; border: 1px solid rgba(122, 122, 122, .5); border-radius: 15px; height: 60px; padding: 0 23px;
    font-size: 16px; color: #555; background: #fff; outline: none; transition: .4s;
}
.contact-form textarea { height: 150px; padding: 17px 23px; border-radius: 25px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 4px rgba(var(--accent-rgb), .5); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.form-status { margin: 0; padding: 12px 18px; border-radius: 12px; font-weight: 500; }
.form-status.ok { background: #e8f8ee; color: #15803d; }
.form-status.err { background: #fdecec; color: #b91c1c; }
.contact-media { position: relative; padding: 40px; }
.contact-geo { position: absolute; top: 0; inset-inline-start: 0; width: 170px; color: rgba(var(--accent-rgb), .25); animation: rotateme 15s linear infinite; }
.contact-img { position: relative; border-radius: 200px 200px 30px 30px; overflow: hidden; box-shadow: var(--shadow); }
.contact-img img { width: 100%; height: 520px; object-fit: cover; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 86px; height: 86px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 22px; animation: pulse 2s infinite; }
.play-btn:hover { background: var(--dark); }
.contact-side { background: var(--dark); border-radius: 30px; padding: 45px 40px; }
.contact-list li { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px dashed var(--dark-line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list i { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; border: 2px dashed var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 20px; }
.contact-list small { display: block; color: rgba(255, 255, 255, .55); font-size: 14px; }
.contact-list strong { color: #fff; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }
.contact-social { display: flex; gap: 10px; margin-top: 22px; }
.contact-social a { width: 44px; height: 44px; border-radius: 50%; background: var(--dark-2); color: #fff; display: grid; place-items: center; }
.contact-social a:hover { background: var(--accent); }
.map-wrap { margin-top: 70px; border-radius: 30px; overflow: hidden; height: 430px; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Blog ---------- */
.blog-area { background: var(--gray); }
.blog-home { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: start; }
.blog-big { background: #fff; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.blog-thumb { display: block; overflow: hidden; }
.blog-thumb img { width: 100%; height: 300px; object-fit: cover; transition: .6s; }
.blog-big:hover .blog-thumb img, .blog-small:hover .blog-thumb2 img { transform: scale(1.08); }
.blog-content { position: relative; padding: 52px 36px 32px; flex: 1; }
.blog-date { position: absolute; top: -24px; inset-inline-start: 30px; inset-inline-end: 30px; display: flex; justify-content: space-between; gap: 10px; background: var(--accent); color: #fff; border-radius: 10px; padding: 10px 22px; font-size: 15px; }
.blog-date i { margin-inline-end: 6px; }
.blog-title { font-size: 24px; font-weight: 600; margin: 0 0 12px; line-height: 1.45; }
.blog-title a:hover, .blog-title2 a:hover { color: var(--accent); }
.blog-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text); }
.blog-btn:hover { color: var(--accent); }
.blog-side { display: grid; gap: 28px; }
.blog-small { display: grid; grid-template-columns: 42% 1fr; gap: 24px; align-items: center; background: #fff; border-radius: 20px; overflow: hidden; }
.blog-thumb2 { display: block; overflow: hidden; height: 100%; }
.blog-thumb2 img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; transition: .6s; }
.blog-content2 { padding: 24px 0; padding-inline-end: 24px; }
.blog-date2 { background: var(--gray); border-radius: 10px; padding: 6px 18px; font-size: 14px; }
.blog-date2 i { color: var(--accent); margin-inline-end: 8px; }
.blog-date2 span { position: relative; padding-inline-start: 22px; margin-inline-start: 8px; }
.blog-date2 span::before { content: ""; position: absolute; inset-inline-start: 6px; top: 2px; width: 1px; height: 18px; background: var(--accent); }
.blog-title2 { font-size: 20px; font-weight: 600; margin: 18px 0 8px; line-height: 1.5; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 20px; }
.g-item { position: relative; overflow: hidden; border-radius: 20px; display: block; }
.g-item.g-tall { grid-row: span 2; }
.g-item.g-wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.g-item span { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--accent-rgb), 0) 30%, rgba(var(--accent-rgb), .92)); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; padding: 24px; color: #fff; opacity: 0; transition: .5s; }
.g-item span i { font-size: 26px; }
.g-item em { font-style: normal; font-family: var(--font-head); font-weight: 600; }
.g-item:hover img { transform: scale(1.1); }
.g-item:hover span { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(var(--dark-rgb), .93); display: none; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 88vh; max-width: 92vw; width: auto; border-radius: 16px; cursor: default; background: none; }
.lb-close { position: absolute; top: 20px; inset-inline-end: 26px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 30px; cursor: pointer; }

/* ---------- Counters / vision ---------- */
.counter-area { padding: 0 0 120px; }
.counter-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: var(--dark); border-radius: 30px; padding: 50px 40px; background-image: radial-gradient(circle at 100% 0, rgba(var(--accent-rgb), .3), transparent 35%); }
.counter-item { display: flex; align-items: center; gap: 18px; color: #fff; }
.counter-icon { width: 70px; height: 70px; flex-shrink: 0; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .35); display: grid; place-items: center; font-size: 26px; color: var(--accent); }
.counter-item strong { display: block; font-size: 38px; font-family: 'Poppins', sans-serif; line-height: 1.1; }
.counter-item small { opacity: .7; font-size: 15px; }
.vision-area { padding: 0 0 80px; }
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.vision-card { background: var(--accent-soft); border-radius: 15px 40px 15px 15px; padding: 42px 40px; position: relative; overflow: hidden; }
.vision-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 26px; margin-bottom: 20px; }
.vision-card h3 { font-size: 24px; }
.vision-card p { margin: 0; }

/* ---------- Page banner ---------- */
.page-banner { position: relative; overflow: hidden; margin: 0 50px; border-radius: 0 0 40px 40px; background-size: cover; background-position: center; padding: 130px 0 120px; text-align: center; color: #fff; }
.banner-shape { position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .15); inset-inline-end: -120px; top: -150px; animation: rotateme 40s linear infinite; }
.page-banner h1 { color: #fff; font-size: 50px; font-weight: 700; margin: 0 0 16px; }
.crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 30px; padding: 8px 26px; }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li:not(:last-child)::after { content: "\f111"; font-family: 'Font Awesome 5 Free'; font-weight: 900; font-size: 6px; color: var(--accent); }
.crumbs li:last-child { color: var(--accent); }
.crumbs a:hover { color: var(--accent); }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.pd-img { position: relative; background: var(--accent-soft); border-radius: 30px 60px 30px 30px; padding: 24px; }
.pd-img::before { content: ""; position: absolute; inset: 12px; border: 1px dashed rgba(var(--accent-rgb), .45); border-radius: 24px 50px 24px 24px; pointer-events: none; }
.pd-img img { width: 100%; height: 520px; object-fit: cover; border-radius: 20px; }
.pd-img .product-tag { top: 38px; inset-inline-start: 38px; }
.pd-cat { display: inline-block; color: var(--accent); font-weight: 600; background: var(--accent-soft); padding: 4px 16px; border-radius: 20px; margin-bottom: 12px; }
.pd-info h2 { font-size: 36px; margin-bottom: 12px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 18px; }
.pd-meta i { color: var(--accent); margin-inline-end: 6px; }
.pd-price { font-size: 36px; font-weight: 700; color: var(--accent); font-family: var(--font-head); margin-bottom: 16px; }
.pd-price small { font-size: 18px; }
.pd-price del { font-size: 20px; color: #999; font-weight: 500; margin-inline-start: 10px; }
.pd-info .lead { font-size: 17px; }
.pd-info h3 { font-size: 22px; margin-top: 10px; }
.pd-info .check-list { grid-template-columns: 1fr; }
.pd-order { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; background: var(--gray); border-radius: 20px; padding: 22px; }
.qty-wrap label { display: block; font-weight: 600; color: var(--heading); font-size: 14px; margin-bottom: 6px; }
.qty { display: flex; align-items: center; background: #fff; border-radius: 30px; height: 52px; overflow: hidden; }
.qty button { width: 44px; height: 100%; border: 0; background: none; color: var(--accent); cursor: pointer; }
.qty input { width: 50px; border: 0; text-align: center; font-weight: 700; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-note { margin: 18px 0 0; }
.pd-note i, .pd-note a { color: var(--accent); }
.pd-desc { margin-top: 60px; background: var(--gray); border-radius: 30px; padding: 45px 50px; }
.pd-desc h3 { font-size: 26px; }

/* ---------- Post detail ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: start; }
.detail-img img { width: 100%; height: 460px; object-fit: cover; border-radius: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 16px; }
.chips span { background: var(--gray); padding: 6px 16px; border-radius: 10px; font-size: 14px; }
.chips i { color: var(--accent); margin-inline-end: 6px; }
.post-content h2 { font-size: 32px; }
.post-content .lead { font-size: 18px; color: #555; font-weight: 500; }
.side-box { background: var(--gray); border-radius: 25px; padding: 30px; margin-bottom: 30px; }
.side-box h4 { font-size: 21px; padding-bottom: 12px; border-bottom: 2px solid #fff; margin-bottom: 18px; }
.recent-post { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.recent-post img { width: 78px; height: 70px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.recent-post strong { display: block; color: var(--heading); font-size: 15px; line-height: 1.5; font-family: var(--font-head); transition: .3s; }
.recent-post small { font-size: 13px; }
.recent-post:hover strong { color: var(--accent); }
.side-cta { background: var(--dark); color: rgba(255, 255, 255, .75); }
.side-cta h4 { color: #fff; border-color: var(--dark-line); }

/* ---------- Address strip + footer ---------- */
.address-area { background: var(--accent); margin: 0 50px; padding: 25px 0; border-radius: 40px 40px 0 0; }
main > .brand-area:last-child { margin-bottom: 100px; }
.address-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.address-box { display: flex; align-items: center; gap: 30px; }
.address-box h3 { color: #fff; font-size: 24px; margin: 0; }
.address-icon { position: relative; width: 70px; height: 70px; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-size: 26px; }
.address-icon::before { content: ""; position: absolute; inset: 0; border: 2px dashed #fff; border-radius: 50%; animation: rotateme 15s linear infinite; }
.footer-area { background: var(--dark); margin: 0 50px 35px; padding: 90px 0 20px; border-radius: 0 0 40px 40px; background-image: radial-gradient(circle at 0 100%, rgba(var(--accent-rgb), .12), transparent 30%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-text { color: rgba(255, 255, 255, .6); padding: 28px 0 34px; margin: 0; }
.footer-text.sm { padding: 0 0 20px; }
.footer-social { display: flex; gap: 26px; }
.footer-social a { color: #9e9e9e; font-size: 17px; }
.footer-social a:hover { color: var(--accent); }
.widget-title { color: #fff; font-size: 22px; font-weight: 600; margin-bottom: 26px; }
.footer-links a { position: relative; display: inline-block; color: rgba(255, 255, 255, .6); line-height: 40px; }
.footer-links a::before { content: ""; position: absolute; bottom: 8px; inset-inline-start: 0; width: 0; height: 1px; background: var(--accent); transition: .5s; }
.footer-links a:hover { color: var(--accent); }
.footer-links a:hover::before { width: 100%; }
.footer-area .news-form input { background: var(--dark-3); border: 0; color: #ddd; }
.footer-contact { margin-top: 22px; color: rgba(255, 255, 255, .6); display: grid; gap: 8px; }
.footer-contact i { color: var(--accent); margin-inline-end: 8px; }
.footer-contact a:hover { color: var(--accent); }
.copyright { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--dark-2); padding-top: 26px; }
.copyright p { margin: 0; color: rgba(255, 255, 255, .6); }
.copyright ul { display: flex; gap: 32px; }
.copyright a { color: rgba(255, 255, 255, .6); }
.copyright a:hover { color: var(--accent); }

/* ---------- Floating buttons, toast ---------- */
.to-top { position: fixed; bottom: 30px; inset-inline-end: 30px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; cursor: pointer; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .4s; box-shadow: 0 10px 25px rgba(var(--accent-rgb), .4); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: .4s; }
.to-top i + i { top: 150%; }
.to-top:hover i:first-child { top: -50%; }
.to-top:hover i + i { top: 50%; }
.wa-float { position: fixed; bottom: 30px; inset-inline-start: 30px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 30px; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); }
.wa-float:hover { transform: scale(1.08); }
.toast { position: fixed; bottom: 30px; left: 50%; z-index: 600; transform: translate(-50%, 30px); background: var(--dark); color: #fff; padding: 14px 26px; border-radius: 30px; opacity: 0; transition: .4s; box-shadow: 0 15px 40px rgba(0, 0, 0, .3); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.load-error { max-width: 640px; margin: 18vh auto; text-align: center; padding: 30px; }
.load-error code { background: var(--gray); padding: 2px 8px; border-radius: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1399px) {
    .main-nav > ul a { margin: 0 11px; }
    .hero-area h1 { font-size: 54px; }
}
@media (max-width: 1199px) {
    .container-fluid { padding: 0 20px; }
    .main-nav > ul a { margin: 0 8px; font-size: 15px; }
    .header-actions .hide-sm { display: none; }
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .hero-img { width: 320px; height: 450px; }
    .hero-media { height: 520px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
    .section-pad { padding: 90px 0; }
    .services-area, .project-area, .faq-area { padding: 90px 0 70px; }
    .top-header .header-info li:nth-child(2) { display: none; }
    .nav-toggle { display: flex; }
    .side-btn { display: none; }
    .main-nav {
        position: fixed; top: 0; inset-inline-start: 0; z-index: 400; width: 320px; max-width: 86%; height: 100vh; overflow-y: auto;
        background: var(--dark); padding: 22px; transform: translateX(100%); transition: .45s cubic-bezier(.77, 0, .18, 1); box-shadow: 0 0 60px rgba(0, 0, 0, .4);
    }
    [dir="ltr"] .main-nav { transform: translateX(-100%); }
    .main-nav.open { transform: none; }
    .mnav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
    .mnav-close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; cursor: pointer; }
    .mnav-foot { display: block; margin-top: 24px; }
    .main-nav > ul { flex-direction: column; align-items: stretch; }
    .main-nav > ul a { color: #fff; margin: 0; padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
    .main-nav > ul a::after { display: none; }
    .hero-area { min-height: 0; padding: 80px 0; }
    .hero-inner, .about-inner, .faq-inner, .contact-inner, .product-detail, .offer-inner { grid-template-columns: 1fr; }
    .hero-media { height: 500px; }
    .about-media { max-width: 620px; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .carousel-track > .project-box { flex-basis: 50%; }
    .testi-item { flex-basis: 50%; }
    .row-head { flex-direction: column; align-items: flex-start; }
    .brand-area, .testimonial-area, .page-banner, .address-area, .footer-area { margin-inline: 12px; }
    .process-grid { grid-template-columns: 1fr; gap: 50px; }
    .process-item::after { display: none; }
    .detail-layout { grid-template-columns: 1fr; }
    .counter-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
    .blog-home { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .offer-inner { padding: 50px 36px; }
}
@media (max-width: 767px) {
    body { font-size: 15.5px; }
    .top-header .header-info li:nth-child(3), .th-social { display: none; }
    .th-inner { justify-content: space-between; }
    h2.section-main-title { font-size: 30px; }
    .hero-area h1 { font-size: 38px; }
    .hero-content > p { font-size: 17px; }
    .hero-media { height: 440px; }
    .hero-img { width: 260px; height: 370px; }
    .hero-badge { top: 30px; padding: 12px 16px; }
    .hero-badge strong { font-size: 24px; }
    .hero-card { bottom: 20px; }
    .grid-3, .grid-4, .vision-grid, .form-row, .check-list { grid-template-columns: 1fr; }
    .carousel-track > .project-box, .testi-item { flex-basis: 100%; }
    .container-wide { padding: 0 16px; }
    .about-media { padding-inline-end: 0; padding-bottom: 0; }
    .about-thumb img { height: 380px; }
    .about-thumb2 { display: none; }
    .blog-small { grid-template-columns: 1fr; }
    .blog-thumb2 img { min-height: 200px; }
    .blog-content2 { padding: 0 22px 24px; }
    .blog-date { flex-direction: column; gap: 0; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .g-item.g-wide { grid-column: span 1; }
    .page-banner { padding: 90px 0 80px; }
    .page-banner h1 { font-size: 32px; }
    .counter-inner { grid-template-columns: 1fr; padding: 36px 28px; }
    .offer-content h2 { font-size: 30px; }
    .offer-media img { height: 260px; }
    .address-box h3 { font-size: 19px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-area { padding-top: 60px; }
    .pd-img img { height: 360px; }
    .pd-desc { padding: 30px 24px; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-fields { flex-direction: column; }
    .search-field input { min-width: 0; width: 100%; }
    .contact-img img { height: 400px; }
    .contact-media { padding: 20px; }
    .brand-box { width: 170px; }
    .brand-box span { font-size: 24px; }
    .map-wrap { height: 320px; }
    .to-top { bottom: 20px; inset-inline-end: 16px; }
    .wa-float { bottom: 20px; inset-inline-start: 16px; }
}
