/*
Theme Name: Finishing & Decor Studio
Description: Custom theme for the biz-sky finishing and decor sites. One codebase, a distinct look per site: Atelier (G.S.A., greige & brass), Modern Vision (charcoal & orange) and Contracting (petrol & sand blueprint).
Version: 1.0.6
Author: biz-sky
Text Domain: finishing-decor-studio
*/

/* ---------- Tokens (per variant) ---------- */
body.fs-gsa {
	--bg: #faf7f2; --surface: #f0e9df; --ink: #2a221d; --muted: #6f645a; --line: #e2d8ca;
	--accent: #a8834a; --accent-d: #8c6c39; --on-accent: #fff; --dark: #1f1915; --dark-2: #2c241e; --on-dark: #e9e1d5;
	--head: "Cormorant Garamond", "Noto Naskh Arabic", Georgia, serif;
	--body: "Jost", "Noto Sans Arabic", Tahoma, sans-serif;
	--radius: 0px; --head-weight: 600;
}
body.fs-mv {
	--bg: #ffffff; --surface: #fff4e4; --ink: #262626; --muted: #5d5d5d; --line: #ebe6df;
	--accent: #f39200; --accent-d: #d97f00; --on-accent: #fff; --dark: #2b2b2b; --dark-2: #363636; --on-dark: #f1f1f1;
	--head: "Lalezar", "Readex Pro", Tahoma, sans-serif;
	--body: "Readex Pro", Tahoma, sans-serif;
	--radius: 10px; --head-weight: 400;
}
body.fs-rozy {
	--bg: #ffffff; --surface: #f3f0e8; --ink: #17272c; --muted: #56676d; --line: #dde2e1;
	--accent: #c9a25e; --accent-d: #b08944; --on-accent: #10262d; --dark: #0e2f38; --dark-2: #13404c; --on-dark: #d9e4e6;
	--head: "Rubik", "Noto Kufi Arabic", Tahoma, sans-serif;
	--body: "Rubik", "Noto Kufi Arabic", Tahoma, sans-serif;
	--radius: 3px; --head-weight: 600;
	--grid: linear-gradient(rgba(201,162,94,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(201,162,94,.10) 1px, transparent 1px);
}
html[dir="rtl"] body.fs-rozy { --head: "Noto Kufi Arabic", "Rubik", Tahoma, sans-serif; }
html[dir="rtl"] body.fs-gsa { --head: "Noto Naskh Arabic", "Cormorant Garamond", serif; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.8; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-d); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: var(--head-weight); line-height: 1.3; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 20px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.center { text-align: center; margin-top: 34px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.screen-reader-text:focus { width: auto; height: auto; margin: 0; clip: auto; clip-path: none; inset-inline-start: 10px; top: 10px; z-index: 999; background: #fff; color: #000; padding: 8px 14px; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[dir="rtl"] .more::after { content: " ←"; }
.more::after { content: " →"; }
.more { font-weight: 600; font-size: 14px; color: var(--accent-d); }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.5em; border-radius: var(--radius); font-weight: 600; font-size: 15px; line-height: 1.3; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6em 1.1em; font-size: 14px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-d); color: var(--on-accent); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn-line-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--dark); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--dark); color: var(--on-dark); font-size: 13px; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 7px; flex-wrap: wrap; }
.topbar-note, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-links { display: inline-flex; gap: 18px; }
.topbar a { color: var(--on-dark); }
.topbar a:hover { color: var(--accent); }

.site-header { background: var(--bg); position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-logo img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-text strong { font-family: var(--head); font-weight: var(--head-weight); font-size: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text span { font-size: 12.5px; color: var(--muted); }
.main-nav { margin-inline-start: auto; flex-shrink: 0; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; flex-wrap: nowrap; gap: 0; }
.main-nav > ul > li > a { white-space: nowrap; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 12px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--accent-d); }
.main-nav .sub-menu { position: absolute; inset-inline-start: 0; top: 100%; min-width: 200px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(0,0,0,.08); display: none; z-index: 5; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: block; }
.main-nav .sub-menu a { padding: 8px 14px; font-size: 14px; }
.main-nav .menu-item-has-children > a::after { content: "▾"; font-size: 11px; margin-inline-start: 4px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: var(--dark); border: 0; border-radius: var(--radius); width: 44px; height: 44px; padding: 13px 11px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- Shared sections ---------- */
.section { padding-block: 84px; }
.section-alt { background: var(--surface); }
.sec-head { max-width: 720px; margin: 0 0 44px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: .25em; }
.sec-head p { color: var(--muted); margin: 0; }
.kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-d); margin-bottom: 10px; }
[dir="rtl"] .kicker { letter-spacing: 0; font-size: 15px; }
.sec-num { display: block; font-family: var(--head); font-size: 15px; color: var(--accent); margin-bottom: 6px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 18px 20px 22px; }
.card-meta { font-size: 13px; color: var(--accent-d); }
.card h3 { font-family: var(--body); font-size: 17px; font-weight: 600; line-height: 1.6; margin: 4px 0 8px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--accent-d); }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }

.cta { background: var(--dark); color: var(--on-dark); padding-block: 54px; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: .15em; }
.cta p { margin: 0; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--dark); color: var(--on-dark); padding-block: 52px 46px; position: relative; overflow: hidden; }
.page-head .wrap { position: relative; }
.page-head h1 { color: #fff; font-size: clamp(26px, 4vw, 42px); margin: 0; max-width: 960px; }
.page-head .search-form { margin-top: 18px; }
.crumbs { font-size: 14px; margin-bottom: 8px; color: var(--accent); }
.crumbs a { color: var(--accent); }
.search-form { display: flex; gap: 8px; max-width: 460px; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; color: #222; }
.search-submit { padding: 10px 18px; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 600; cursor: pointer; }
.empty { text-align: center; display: grid; justify-items: center; gap: 12px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; padding-block: 54px 76px; }
.entry { min-width: 0; }
.entry-featured img { width: 100%; border-radius: var(--radius); margin-bottom: 24px; }
.entry-content { font-size: 17px; overflow-wrap: anywhere; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.2em; }
.entry-content h1 { font-size: 30px; }
.entry-content h2 { font-size: 26px; }
.entry-content h3 { font-size: 22px; }
.entry-content h4 { font-size: 19px; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4em; }
.entry-content li { margin-bottom: .3em; }
.entry-content img { border-radius: var(--radius); }
.entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; display: block; overflow-x: auto; }
.entry-content table tbody, .entry-content table thead { display: table; width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; }
/* Tables may carry their own inline colours: only weight is added, never forced white text. */
.entry-content th, .entry-content tr:first-child td { font-weight: 700; }
.entry-content td[height] { height: auto; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.gallery-columns-1 { grid-template-columns: 1fr; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery-columns-1 .gallery-item img { aspect-ratio: auto; }
.gallery br { display: none; }
.wp-caption { max-width: 100%; }

.side-sticky { position: sticky; top: 110px; display: grid; gap: 22px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.box h3 { font-size: 22px; }
.box-cta { background: var(--dark); color: var(--on-dark); border: 0; }
.box-cta h3 { color: #fff; }
.box-cta p { font-size: 14.5px; }
.side-phone { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #fff; font-weight: 600; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.side-list a { display: flex; gap: 12px; align-items: center; color: var(--ink); font-size: 14px; line-height: 1.6; }
.side-list a:hover { color: var(--accent-d); }
.side-list img { width: 62px; height: 62px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.pagination { margin-top: 34px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.pagination .current { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); padding-top: 62px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 14px; }
.footer-brand strong { font-family: var(--head); font-weight: var(--head-weight); font-size: 22px; }
.footer-logo img { height: 56px; width: auto; background: #fff; padding: 4px 8px; border-radius: var(--radius); }
.site-footer h4 { color: #fff; font-size: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--accent); }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list svg { color: var(--accent); margin-top: .35em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 18px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }

/* ======================================================================
   ATELIER (G.S.A.) – greige, espresso and brass; serif display, sharp edges
   ====================================================================== */
.fs-gsa .site-header { background: rgba(250,247,242,.96); backdrop-filter: blur(6px); }
.fs-gsa .main-nav a { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; padding-inline: 10px; }
.fs-gsa .brand-text strong { font-size: 22px; letter-spacing: .02em; }
.fs-gsa .kicker::before { content: ""; display: inline-block; width: 34px; height: 1px; background: currentColor; vertical-align: middle; margin-inline-end: 12px; }
.fs-gsa .sec-head h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 500; }
.fs-gsa .btn { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; padding: 1em 1.7em; }

.g-hero { padding-block: 70px 90px; position: relative; overflow: hidden; }
.g-hero::before { content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; width: 42%; background: var(--surface); }
.g-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.g-hero h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 500; line-height: 1.02; letter-spacing: -.01em; margin-bottom: .35em; }
.g-hero .lead { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.g-hero-list { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.g-hero-list li::before { content: "◆"; color: var(--accent); font-size: 8px; vertical-align: middle; margin-inline-end: 8px; }
.g-hero-media { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 560px; }
.g-hero-img { margin: 0; overflow: hidden; position: relative; }
.g-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.g-hero-img-1 { grid-row: 1 / 3; }
.g-hero-img-1::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.7); pointer-events: none; }
.g-hero-media.count-1 { grid-template-columns: 1fr; }

.g-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.g-service { display: flex; flex-direction: column; background: var(--bg); color: var(--ink); }
.g-service:hover { color: var(--ink); }
.g-service-img { aspect-ratio: 16 / 10; overflow: hidden; }
.g-service-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .6s, filter .6s; }
.g-service:hover img { transform: scale(1.05); filter: none; }
.g-service-body { padding: 24px 26px 28px; position: relative; display: block; }
.g-service-no { position: absolute; inset-inline-end: 24px; top: 18px; font-family: "Cormorant Garamond", serif; font-size: 40px; color: var(--line); line-height: 1; }
.g-service-icon { color: var(--accent); display: block; margin-bottom: 8px; }
.g-service-icon svg { width: 28px; height: 28px; stroke-width: 1.4; }
.g-service h3 { font-size: 27px; margin-bottom: .2em; font-family: "Cormorant Garamond", var(--head); }
.g-service-title { display: block; font-size: 14px; color: var(--muted); line-height: 1.6; }

.g-gallery { columns: 4 240px; column-gap: 14px; }
.g-gallery-item { display: block; margin-bottom: 14px; break-inside: avoid; overflow: hidden; position: relative; }
.g-gallery-item img { width: 100%; transition: transform .6s; }
.g-gallery-item:hover img { transform: scale(1.04); }

.g-costs { background: var(--dark); color: var(--on-dark); padding-block: 90px; }
.g-costs-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.g-costs h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); font-weight: 500; }
.g-costs-intro p { color: #c9bfb2; }
.g-costs-list { list-style: none; margin: 0; padding: 0; counter-reset: c; border-top: 1px solid rgba(255,255,255,.14); }
.g-costs-list li { counter-increment: c; border-bottom: 1px solid rgba(255,255,255,.14); }
.g-costs-list a { display: grid; grid-template-columns: 48px 1fr 24px; gap: 4px 16px; padding: 22px 0; color: var(--on-dark); align-items: start; }
.g-costs-list a::before { content: counter(c, decimal-leading-zero); grid-row: 1 / 3; font-family: "Cormorant Garamond", serif; font-size: 28px; color: var(--accent); line-height: 1; }
.g-costs-list a svg { grid-column: 3; grid-row: 1 / 3; align-self: center; color: var(--accent); transition: transform .2s; }
[dir="rtl"] .g-costs-list a svg { transform: scaleX(-1); }
.g-costs-list a:hover { color: #fff; }
.g-costs-list a:hover svg { transform: translateX(6px); }
.g-cost-title { font-size: 19px; font-weight: 600; color: #fff; grid-column: 2; }
.g-cost-text { font-size: 14px; color: #b8ad9f; grid-column: 2; }

.g-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.g-feature { display: grid; grid-template-rows: auto 1fr; }
.g-feature-img { aspect-ratio: 3 / 2; overflow: hidden; }
.g-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.g-feature-body { background: var(--bg); margin: -60px 28px 0; padding: 28px 30px 30px; position: relative; border-top: 2px solid var(--accent); }
.g-feature h3 { font-size: 28px; }
.g-feature h3 a { color: var(--ink); }
.g-feature p { color: var(--muted); }
.fs-gsa .cta { background: var(--accent); color: #fff; }
.fs-gsa .cta .btn-accent { background: var(--dark); }
.fs-gsa .cta .btn-accent:hover { background: #000; }
.fs-gsa .cta h2 { font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); }
.fs-gsa .page-head { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); }
.fs-gsa .page-head h1 { color: var(--ink); font-weight: 500; }

/* ======================================================================
   MODERN VISION – charcoal & orange, bold Arabic display, roof motif
   ====================================================================== */
.fs-mv .site-header { background: var(--dark); border-bottom: 4px solid var(--accent); }
.fs-mv .brand, .fs-mv .brand:hover { color: #fff; }
.fs-mv .brand-text span { color: var(--accent); }
.fs-mv .brand-logo img { background: #fff; border-radius: 8px; padding: 3px 6px; }
.fs-mv .brand-text strong { font-size: 24px; }
.fs-mv .main-nav a { color: #fff; }
.fs-mv .main-nav a:hover, .fs-mv .main-nav .current-menu-item > a { color: var(--accent); }
.fs-mv .main-nav .sub-menu { background: var(--dark); }
.fs-mv .nav-toggle { background: var(--accent); }
.fs-mv .kicker { color: var(--accent-d); font-weight: 700; }
.fs-mv .sec-head { text-align: center; margin-inline: auto; }
.fs-mv .sec-head h2 { font-size: clamp(30px, 4.4vw, 46px); }
.fs-mv .btn { border-radius: 999px; }

.m-hero { position: relative; min-height: 600px; display: flex; align-items: center; background: var(--dark) var(--hero, none) center / cover no-repeat; overflow: hidden; }
.m-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,20,.15), rgba(20,20,20,.55)); }
[dir="rtl"] .m-hero::before { background: linear-gradient(270deg, rgba(20,20,20,.15), rgba(20,20,20,.55)); }
.m-hero-inner { position: relative; padding-block: 70px; }
.m-hero-panel { max-width: 560px; background: rgba(43,43,43,.92); color: #fff; padding: 48px 44px 44px; border-radius: 18px; border-inline-start: 8px solid var(--accent); position: relative; }
.m-roof { position: absolute; top: -40px; inset-inline-start: 30px; width: 120px; height: 46px; stroke: var(--accent); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.m-hero .kicker { color: var(--accent); font-size: 18px; }
.m-hero h1 { color: #fff; font-size: clamp(40px, 7vw, 72px); line-height: 1.15; margin-bottom: .2em; }
.m-hero-tag { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; font-size: 20px; padding: 4px 18px; border-radius: 6px; margin-bottom: 28px; }

.m-strip { background: var(--accent); color: #fff; }
.m-works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.m-works li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 8px; text-align: center; font-weight: 600; font-size: 15px; }
.m-works li + li { border-inline-start: 1px solid rgba(255,255,255,.35); }
.m-works svg { width: 30px; height: 30px; stroke-width: 1.6; }

.m-package { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 44px; align-items: start; }
.m-package-head { position: sticky; top: 110px; background: var(--dark); color: #fff; border-radius: var(--radius); padding: 30px 28px; }
.m-package-head h2 { color: #fff; font-size: 32px; }
.m-package-head p { color: #cfcfcf; margin: 0; }
.m-package-head .kicker { color: var(--accent); }
.m-sheet { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--accent); border-radius: var(--radius); padding: 30px 34px; box-shadow: 0 18px 40px rgba(0,0,0,.05); min-width: 0; }
.m-sheet h1, .m-sheet h2, .m-sheet h3 { font-family: var(--body); font-weight: 700; }
.m-sheet h1:first-child, .m-sheet h2:first-child { margin-top: 0; }

.m-extra { display: grid; gap: 26px; }
.m-extra-card { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; color: var(--ink); border: 1px solid var(--line); }
.m-extra-card:hover { color: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.m-extra-img { min-height: 280px; }
.m-extra-img img { width: 100%; height: 100%; object-fit: cover; }
.m-extra-body { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.m-extra-body h3 { font-size: 30px; }
.m-extra-body p { color: var(--muted); }
.fs-mv .cta { background: var(--accent); color: #fff; }
.fs-mv .cta h2 { font-size: clamp(28px, 3.6vw, 42px); }
.fs-mv .page-head { background: var(--dark); border-bottom: 4px solid var(--accent); }
.fs-mv .footer-logo img { border-radius: 8px; }

/* ======================================================================
   CONTRACTING – petrol & sand, blueprint grid, corner ticks
   ====================================================================== */
.fs-rozy .site-header { box-shadow: 0 1px 0 var(--line); }
.fs-rozy .brand-text strong { font-size: 19px; color: var(--dark); }
.fs-rozy .brand-text span { color: var(--accent-d); letter-spacing: .04em; }
.fs-rozy .main-nav a { font-weight: 500; }
.fs-rozy .main-nav > ul > li > a { border-bottom: 2px solid transparent; }
.fs-rozy .main-nav > ul > li > a:hover, .fs-rozy .main-nav > ul > .current-menu-item > a { border-color: var(--accent); color: var(--dark); }
.fs-rozy .topbar { background: #0a242b; }
.fs-rozy .kicker { color: var(--accent-d); }
.fs-rozy .kicker::before { content: "/ "; }

.r-hero { background: var(--dark); background-image: var(--grid); background-size: 32px 32px; color: var(--on-dark); padding-block: 80px 90px; position: relative; overflow: hidden; }
.r-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.r-tag { display: inline-block; border: 1px solid var(--accent); color: var(--accent); padding: 4px 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
[dir="rtl"] .r-tag { letter-spacing: 0; font-size: 14px; }
.r-hero h1 { color: #fff; font-size: clamp(38px, 5.6vw, 66px); line-height: 1.12; font-weight: 700; margin-bottom: .3em; }
.r-hero .lead { font-size: 18px; color: #b9cbcf; max-width: 560px; margin-bottom: 30px; }
.r-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 44px 0 0; border-top: 1px solid rgba(201,162,94,.35); }
.r-facts div { padding: 18px 14px 0 0; }
[dir="rtl"] .r-facts div { padding: 18px 0 0 14px; }
.r-facts div + div { border-inline-start: 1px solid rgba(201,162,94,.35); padding-inline-start: 18px; }
.r-facts dt { font-size: 30px; font-weight: 700; color: var(--accent); line-height: 1.1; }
.r-facts dd { margin: 4px 0 0; font-size: 13.5px; color: #a9bec3; }
.r-hero-img { margin: 0; position: relative; padding: 16px; }
.r-hero-img img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; position: relative; z-index: 1; }
.r-hero-img::before, .r-hero-img::after, .r-corner::before, .r-corner::after { content: ""; position: absolute; width: 46px; height: 46px; border: 2px solid var(--accent); z-index: 2; }
.r-hero-img::before { top: 0; inset-inline-start: 0; border-inline-end: 0; border-bottom: 0; }
.r-hero-img::after { bottom: 0; inset-inline-end: 0; border-inline-start: 0; border-top: 0; }
.r-corner::before { top: 0; inset-inline-end: 0; border-inline-start: 0; border-bottom: 0; }
.r-corner::after { bottom: 0; inset-inline-start: 0; border-inline-end: 0; border-top: 0; }

.r-services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); }
.r-service { padding: 30px 24px; position: relative; background: #fff; }
.r-service + .r-service { border-inline-start: 1px solid var(--line); }
.r-service-no { position: absolute; top: 14px; inset-inline-end: 16px; font-size: 13px; color: var(--accent-d); font-weight: 600; }
.r-service-icon { width: 54px; height: 54px; display: grid; place-items: center; background: var(--dark); color: var(--accent); border-radius: var(--radius); margin-bottom: 16px; }
.r-service-icon svg { width: 26px; height: 26px; }
.r-service h3 { font-size: 18px; color: var(--dark); }
.r-service p { font-size: 14.5px; color: var(--muted); margin: 0; }
.r-service:hover { background: var(--surface); }

.r-projects-sec { background: var(--dark); background-image: var(--grid); background-size: 32px 32px; }
.r-projects-sec .sec-head h2 { color: #fff; }
.r-projects-sec .kicker { color: var(--accent); }
.r-projects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.r-project { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3.4; background: #0a242b; color: #fff; }
.r-project-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.r-project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.r-project:hover img { transform: scale(1.05); }
.r-project-cap { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(8,30,36,.92)); display: grid; gap: 2px; }
.r-project-cap strong { font-size: 16px; line-height: 1.4; }
.r-project-wide .r-project-cap strong { font-size: 22px; }
.r-pin { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--accent); }
.r-project:hover { color: #fff; }

.r-tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.r-tier { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--dark); padding: 22px 20px 24px; display: flex; flex-direction: column; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.r-tier:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 16px 30px rgba(14,47,56,.12); }
.r-tier-4 { border-top-color: var(--accent); background: linear-gradient(180deg, #fffaf0, #fff); }
.r-tier-0 { border-top-style: dashed; }
.r-tier-bar { display: flex; gap: 4px; margin-bottom: 16px; }
.r-tier-bar i { flex: 1; height: 6px; background: var(--line); }
.r-tier-bar i.on { background: var(--accent); }
.r-tier h3 { font-family: var(--body); font-size: 17px; font-weight: 600; line-height: 1.5; color: var(--dark); }
.r-tier p { font-size: 13.5px; color: var(--muted); flex: 1; }

.r-about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.r-about h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--dark); }
.r-about-text > p { color: var(--muted); }
.r-offices { background: var(--surface); border: 1px solid var(--line); padding: 30px; position: relative; }
.r-offices::before { content: ""; position: absolute; top: -1px; inset-inline-start: -1px; width: 60px; height: 4px; background: var(--accent); }
.r-offices h3 { color: var(--dark); font-size: 22px; }
.r-offices ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.r-offices li { display: flex; gap: 12px; }
.r-offices li svg { color: var(--accent-d); margin-top: .3em; width: 20px; height: 20px; }
.r-offices strong { display: block; color: var(--dark); }
.r-offices span { font-size: 14.5px; color: var(--muted); }
.r-phone { display: inline-flex; align-items: center; gap: 10px; background: var(--dark); color: #fff; padding: 12px 18px; font-weight: 600; font-size: 18px; }
.r-phone:hover { color: var(--accent); }
.fs-rozy .cta { background: var(--accent); color: var(--dark); }
.fs-rozy .cta h2 { color: var(--dark); }
.fs-rozy .cta .btn-accent { background: var(--dark); color: #fff; }
.fs-rozy .page-head { background-image: var(--grid); background-size: 32px 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.nav-toggle { display: flex; }
	.main-nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
	.fs-mv .main-nav { background: var(--dark); }
	.main-nav.open { display: block; }
	.main-nav > ul { flex-direction: column; padding: 8px 20px 14px; }
	.main-nav a { padding: 11px 4px; border-bottom: 1px solid var(--line); }
	.fs-mv .main-nav a { border-color: rgba(255,255,255,.12); }
	.main-nav .sub-menu { position: static; display: block; border: 0; box-shadow: none; background: transparent; padding-inline-start: 16px; }
	.header-actions { margin-inline-start: auto; }
	.site-header .wrap { position: relative; }
	.site-header { position: sticky; }
	.cards { grid-template-columns: repeat(2, 1fr); }
	.g-services { grid-template-columns: repeat(2, 1fr); }
	.r-services { grid-template-columns: repeat(2, 1fr); }
	.r-service + .r-service { border-inline-start: 0; }
	.r-service { border-bottom: 1px solid var(--line); }
	.r-tiers { grid-template-columns: repeat(3, 1fr); }
	.r-projects { grid-template-columns: repeat(2, 1fr); }
	.m-works { grid-template-columns: repeat(3, 1fr); }
	.m-works li:nth-child(4) { border-inline-start: 0; }
	.m-works li:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.35); }
}
@media (max-width: 900px) {
	.g-hero-grid, .r-hero-grid, .g-costs-grid, .g-pair, .r-about, .layout, .m-package, .m-extra-card { grid-template-columns: 1fr; }
	.g-hero::before { display: none; }
	.g-hero-media { height: 420px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.side-sticky, .m-package-head { position: static; }
	.r-hero-img { max-width: 520px; }
}
@media (max-width: 640px) {
	.section, .g-costs { padding-block: 58px; }
	.header-row { min-height: 64px; gap: 10px; }
	.brand-logo img { height: 42px; }
	.brand-text strong { font-size: 17px !important; }
	.brand-text span { display: none; }
	.header-actions .btn span { display: none; }
	.header-actions .btn { padding: 0; width: 44px; height: 44px; }
	.topbar-note { display: none; }
	.topbar-row { justify-content: center; }
	.cards, .footer-grid, .g-services, .r-services, .r-tiers { grid-template-columns: 1fr; }
	.g-hero { padding-block: 40px 56px; }
	.g-hero-media { height: 320px; gap: 8px; }
	.g-feature-body { margin: -40px 12px 0; padding: 22px; }
	.r-projects { grid-template-columns: 1fr 1fr; gap: 10px; }
	.r-project-cap strong { font-size: 13.5px; }
	.r-project-wide .r-project-cap strong { font-size: 17px; }
	.r-facts dt { font-size: 22px; }
	.r-facts dd { font-size: 12px; }
	.m-hero { min-height: 0; }
	.m-hero-inner { padding-block: 150px 34px; }
	.m-hero-panel { padding: 40px 22px 28px; }
	.m-works { grid-template-columns: repeat(2, 1fr); }
	.m-works li { border-inline-start: 0 !important; border-top: 1px solid rgba(255,255,255,.35); }
	.m-works li:nth-child(even) { border-inline-start: 1px solid rgba(255,255,255,.35) !important; }
	.m-works li:nth-child(-n+2) { border-top: 0; }
	.m-sheet { padding: 22px 18px; }
	.m-extra-img { min-height: 200px; }
	.m-extra-body { padding: 22px; }
	.gallery { grid-template-columns: repeat(2, 1fr); }
	.gallery-columns-1 { grid-template-columns: 1fr; }
	.cta-row { text-align: center; justify-content: center; }
	.cta-row .btns { justify-content: center; }
	.btn { padding: .75em 1.2em; }
}

/* Contracting: the menu can be long (Arabic titles), so it gets its own row on desktop. */
@media (min-width: 1101px) {
	.fs-rozy .header-row { flex-wrap: wrap; row-gap: 0; padding-top: 8px; }
	.fs-rozy .header-actions { margin-inline-start: auto; }
	.fs-rozy .main-nav { order: 3; width: 100%; margin-inline-start: 0; border-top: 1px solid var(--line); }
	.fs-rozy .main-nav > ul { flex-wrap: wrap; }
	.fs-rozy .main-nav > ul > li > a { white-space: normal; padding-block: 12px; }
}
