/*
Theme Name: Hassan M.S.D Contracting
Theme URI: https://hassanmsd.com
Author: Hassan M.S.D Contracting Est.
Description: Corporate theme for Hassan Mohammed Saeid Bin Dhabib Contracting Est. — manpower supply and technical support services in the Kingdom of Saudi Arabia.
Version: 2.1.3
Requires at least: 6.4
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: hassan-msd
*/

:root {
	--navy: #1f2f6e;
	--navy-deep: #141f4d;
	--blue: #2e47a0;
	--orange: #f07b2e;
	--orange-dark: #d9631a;
	--orange-soft: #fff1e7;
	--ink: #1c2233;
	--muted: #5b6275;
	--line: #e4e7ef;
	--soft: #f5f6fa;
	--white: #fff;
	--radius: 16px;
	--shadow: 0 10px 30px rgba(31, 47, 110, .09);
	--shadow-lg: 0 20px 50px rgba(31, 47, 110, .16);
	--wrap: 1240px;
	--head: "Montserrat", "Segoe UI", Arial, sans-serif;
	--body: "Open Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
html, body { overflow-x: hidden; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; color: var(--navy); margin: 0 0 .6em; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #dfe4f5; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .lead { color: #c9d1ee; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--orange); }
.accent { color: var(--orange); }
.lead { font-size: 1.1rem; color: var(--muted); }
.section-head { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.callout { border-left: 4px solid var(--orange); background: var(--orange-soft); padding: 14px 18px; border-radius: 0 10px 10px 0; color: var(--navy); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-family: var(--head); font-weight: 700; font-size: .93rem; border: 2px solid transparent; transition: all .2s ease; cursor: pointer; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(240,123,46,.3); }
.btn--primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--block { width: 100%; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Top bar */
.topbar { background: var(--navy-deep); color: #c9d1ee; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar span + span { margin-left: 18px; }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; }
.brand-name { font-family: var(--head); font-weight: 800; font-size: 1.15rem; line-height: 1.1; color: var(--navy); }
.brand-name small { display: block; font-size: .66rem; letter-spacing: .2em; color: var(--orange); font-weight: 700; margin-top: 3px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 2px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 13px; font-family: var(--head); font-weight: 600; font-size: .9rem; color: var(--ink); border-radius: 8px; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--orange); }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 8px; position: relative; top: -3px; }
.main-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; border-top: 3px solid var(--orange); }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { font-weight: 600; font-size: .87rem; padding: 9px 12px; color: var(--muted); }
.main-nav .sub-menu a:hover { background: var(--soft); color: var(--orange); }
.main-nav .menu-cta > a { background: var(--orange); color: #fff; padding: 11px 22px; border-radius: 50px; margin-left: 8px; }
.main-nav .menu-cta > a:hover { background: var(--orange-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Home hero */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-bg) center/cover no-repeat; opacity: .35; filter: grayscale(.4); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,31,77,.97) 0%, rgba(31,47,110,.9) 50%, rgba(46,71,160,.55) 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; min-height: 660px; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { color: #fff; }
.hero p { color: #d6dcf2; font-size: 1.12rem; max-width: 600px; }
.hero-cr { display: inline-block; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); padding: 6px 16px; border-radius: 50px; font-size: .82rem; font-weight: 600; margin-bottom: 22px; }
.hero-tagline { margin-top: 26px; font-size: .98rem !important; color: #aeb8e0 !important; }
.hero-tagline strong { color: var(--orange); }
.hero-media { position: relative; align-self: end; margin-bottom: -70px; display: flex; justify-content: center; }
.hero-media::before { content: ""; position: absolute; left: 10%; right: 0; top: 14%; bottom: 0; background: var(--orange); border-radius: 220px 220px 0 0; }
.hero-media img { position: relative; max-height: 580px; width: auto; border-radius: 200px 200px 0 0; object-fit: cover; }
.hero-badge { position: absolute; left: 0; bottom: 70px; background: #fff; color: var(--navy); border-radius: 14px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-lg); }
.hero-badge .icon { width: 44px; height: 44px; margin: 0; }
.hero-badge .icon svg { width: 22px; height: 22px; }
.hero-badge strong { display: block; font-family: var(--head); font-size: .9rem; }
.hero-badge small { color: var(--muted); }

/* Inner hero */
.inner-hero { position: relative; background: var(--navy) center 30%/cover no-repeat; color: #fff; padding: 90px 0 100px; }
.inner-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(20,31,77,.96) 0%, rgba(31,47,110,.85) 55%, rgba(240,123,46,.45) 100%); }
.inner-hero .wrap { position: relative; }
.inner-hero h1 { color: #fff; max-width: 820px; }
.inner-hero p { color: #d6dcf2; font-size: 1.12rem; max-width: 680px; }
.inner-hero .eyebrow::before { background: var(--orange); }
.breadcrumb { font-size: .88rem; color: #c9d1ee; margin-bottom: 26px; }
.breadcrumb a { color: #fff; }

/* Stats strip */
.stats-strip { position: relative; z-index: 2; margin-top: -56px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 30px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--head); font-size: 2.4rem; font-weight: 800; color: var(--orange); line-height: 1.1; }
.stat > span { color: var(--navy); font-weight: 600; font-size: .92rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
.split--rev .split-media { order: 2; }
.split-media { position: relative; display: flex; justify-content: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split-media::after { content: ""; position: absolute; width: 130px; height: 130px; border: 6px solid var(--orange); border-radius: var(--radius); right: -18px; bottom: -18px; z-index: -1; }
.legal-box { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.legal-box > div { background: var(--soft); border-radius: 12px; padding: 16px 18px; border-left: 4px solid var(--orange); }
.legal-box span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.legal-box strong { display: block; font-family: var(--head); color: var(--navy); font-size: .95rem; margin: 4px 0; }
.legal-box em { font-style: normal; font-size: .9rem; color: var(--muted); }

/* Grids */
.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.icon { width: 56px; height: 56px; border-radius: 14px; background: var(--orange); color: #fff; display: grid; place-items: center; margin-bottom: 18px; flex: none; }
.icon svg { width: 26px; height: 26px; }

/* Value cards */
.value-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; overflow: hidden; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card p { color: var(--muted); margin: 0; }
.value-num { position: absolute; right: 20px; top: 14px; font-family: var(--head); font-weight: 800; font-size: 2.6rem; color: var(--soft); line-height: 1; }
.section--navy .value-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
.section--navy .value-card p { color: #c9d1ee; }
.section--navy .value-num { color: rgba(255,255,255,.08); }

/* Feature row */
.feature-row .feature { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature .icon { width: 48px; height: 48px; margin: 0; }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1rem; margin-bottom: 4px; }
.feature p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Image service cards */
.img-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; color: var(--ink); }
.img-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.img-card-media { aspect-ratio: 16/10; overflow: hidden; }
.img-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .5s; }
.img-card:hover .img-card-media img { transform: scale(1.06); }
.img-card-body { padding: 26px; border-top: 4px solid var(--orange); }
.img-card-body p { color: var(--muted); font-size: .95rem; }
.more { font-family: var(--head); font-weight: 700; font-size: .88rem; color: var(--orange); }

/* Category service cards */
.sub-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 64px 0 24px; padding-bottom: 14px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.sub-head h3 { font-size: 1.4rem; margin: 0; }
.sub-head a { font-family: var(--head); font-weight: 700; font-size: .9rem; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: all .25s; color: var(--ink); }
.svc-card .icon { background: var(--orange-soft); color: var(--orange); transition: all .25s; }
.svc-card p { color: var(--muted); font-size: .9rem; flex: 1; }
.svc-meta { font-family: var(--head); font-weight: 700; font-size: .85rem; color: var(--blue); }
.svc-card:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card:hover h3, .svc-card:hover .svc-meta { color: #fff; }
.svc-card:hover p { color: #c9d1ee; }
.svc-card:hover .icon { background: var(--orange); color: #fff; }

.custom-box { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(110deg, var(--navy) 0%, var(--blue) 100%); color: #dfe4f5; border-radius: var(--radius); padding: 34px 40px; }
.custom-box h3 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.custom-box p { margin: 0; max-width: 640px; }

/* Photo band */
.photo-band { position: relative; min-height: 460px; background: center 32%/cover no-repeat; display: flex; align-items: center; color: #fff; padding: 80px 0; }
.photo-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,31,77,.95) 0%, rgba(31,47,110,.75) 55%, rgba(0,0,0,.1) 100%); }
.photo-band .wrap { position: relative; }
.photo-band h2 { color: #fff; max-width: 600px; }
.photo-band p { color: #dfe4f5; max-width: 600px; }

/* Check lists */
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding: 6px 0 6px 34px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff; font-size: .75rem; display: grid; place-items: center; font-weight: 700; }
.checks--light li { color: #fff; font-weight: 600; }

/* Process steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 18px); }
.steps li { position: relative; text-align: center; padding: 0 6px; }
.step-num { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); font-family: var(--head); font-weight: 800; font-size: 1.3rem; color: var(--navy); box-shadow: 0 0 0 8px #fff; }
.steps h3 { font-size: 1rem; }
.steps p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Contact / quote */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: stretch; }
.contact-grid > * { min-width: 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid #cfd4e2; border-radius: 10px; font: inherit; color: var(--ink); background: #fbfcfe; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,123,46,.18); }
.hp-field { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.notice--ok { background: #e7f7ee; color: #17663a; }
.notice--err { background: #fdecec; color: #9b1c1c; }
.info-card { background: var(--navy); color: #dfe4f5; border-radius: var(--radius); padding: 38px 30px; display: flex; flex-direction: column; }
.info-card h3 { color: #fff; font-size: 1.3rem; }
.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .93rem; }
.info-row .icon { width: 42px; height: 42px; margin: 0; border-radius: 50%; }
.info-row .icon svg { width: 19px; height: 19px; }
.info-row strong { display: block; color: #fff; font-family: var(--head); font-size: .9rem; }
.info-row a { color: #fff; word-break: break-word; }
.hotline { margin-top: auto; background: var(--orange); border-radius: 12px; padding: 18px 20px; margin-top: 22px; }
.hotline span { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff3ea; }
.hotline a { display: block; color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.25rem; }
.contact-tile { display: block; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 24px; box-shadow: var(--shadow); color: var(--ink); transition: transform .25s; }
.contact-tile:hover { transform: translateY(-6px); color: var(--ink); }
.contact-tile .icon { margin: 0 auto 16px; border-radius: 50%; }
.contact-tile p { color: var(--muted); margin: 0; word-break: break-word; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { display: block; width: 100%; height: 400px; border: 0; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-wrap > * { min-width: 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-family: var(--head); font-weight: 700; color: var(--navy); position: relative; display: flex; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; background: var(--orange); color: #fff; }
.faq-n { color: var(--orange); font-size: .85rem; }
.faq details p { padding: 0 20px 20px 54px; margin: 0; color: var(--muted); }

/* Categories page */
.cat-jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.cat-jump a { padding: 9px 18px; border-radius: 50px; background: var(--soft); border: 1px solid var(--line); font-weight: 600; font-size: .88rem; color: var(--navy); }
.cat-jump a:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.cat-list { display: grid; gap: 22px; }
.cat-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border-left: 5px solid var(--orange); }
.cat-row > * { min-width: 0; }
.cat-row-head { display: flex; gap: 18px; align-items: flex-start; }
.cat-row-head .icon { margin: 0; }
.cat-row-head h3 { font-size: 1.3rem; margin-bottom: 6px; }
.cat-row-head p { color: var(--muted); font-size: .93rem; margin-bottom: 8px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; background: var(--soft); border-radius: 50px; padding: 7px 14px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.chips svg { width: 14px; height: 14px; color: var(--orange); }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--orange) 0%, var(--orange-dark) 100%); color: #fff; padding: 60px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #fff3ea; }
.cta-band .btn--ghost:hover { color: var(--orange-dark); }

/* Entry content (generic pages) */
.entry-content { font-size: 1.04rem; }
.entry-content > * + * { margin-top: 1.2em; }
.page-banner { position: relative; background: var(--navy) center 30%/cover no-repeat; color: #fff; padding: 110px 0 90px; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,47,110,.95) 0%, rgba(31,47,110,.7) 60%, rgba(240,123,46,.55) 100%); }
.page-banner .wrap { position: relative; }
.page-banner h1 { color: #fff; margin-bottom: 8px; }
.posts-list article { padding: 30px 0; border-bottom: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #aab3d6; padding-top: 70px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; background: var(--orange); border-radius: 2px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #aab3d6; }
.site-footer a:hover { color: var(--orange); }
.site-footer .btn--primary, .site-footer .btn--primary:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 50px; background: #fff; border-radius: 10px; padding: 6px; }
.footer-brand .brand-name { color: #fff; }
.footer-ar { font-size: 1.05rem; color: #fff; direction: rtl; text-align: left; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding: 22px 0; font-size: .85rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Floating buttons */
.floaters { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.float-wa { display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #fff; padding: 12px 18px; border-radius: 50px; font-family: var(--head); font-weight: 700; font-size: .88rem; box-shadow: 0 10px 24px rgba(37,211,102,.4); }
.float-wa:hover { color: #fff; transform: translateY(-2px); }
.float-wa svg { width: 22px; height: 22px; }
.to-top { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: all .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top svg { width: 20px; height: 20px; }

/* Responsive */
@media (max-width: 1100px) {
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.steps::before { display: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 12px 20px rgba(0,0,0,.08); display: none; max-height: calc(100vh - 120px); overflow-y: auto; }
	.main-nav.is-open { display: block; }
	.main-nav > ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding: 0 0 0 14px; display: none; min-width: 0; }
	.main-nav .sub-open > .sub-menu { display: block; }
	.main-nav .menu-cta > a { text-align: center; margin: 8px 0 0; }
	.hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 60px; }
	.hero-media img { max-height: 420px; max-width: 100%; }
	.hero-badge { display: none; }
	.split, .contact-grid, .faq-wrap, .cat-row { grid-template-columns: 1fr; gap: 36px; }
	.split--rev .split-media { order: 0; }
	.section { padding: 68px 0; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.grid-3 { grid-template-columns: 1fr 1fr; }
	.topbar .hide-sm { display: none; }
}
@media (max-width: 600px) {
	.grid-2, .grid-3, .grid-4, .footer-grid, .form-row, .legal-box { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr 1fr; }
	.brand-name { font-size: .98rem; }
	.wrap { padding: 0 16px; }
	.hero-actions .btn { flex: 1 1 auto; }
	.custom-box { padding: 28px 24px; }
	.float-wa span { display: none; }
	.float-wa { padding: 14px; }
	.form-card, .info-card { padding: 28px 22px; }
	.stat strong { font-size: 2rem; }
	.faq details p { padding-left: 20px; }
}

/* Footer credit link */
.footer-bottom a { color: #fff; font-weight: 600; }
.footer-bottom a:hover { color: var(--orange); }

/* Scroll-to-top (standalone) */
body > .to-top { position: fixed; right: 20px; bottom: 84px; z-index: 60; }
