/*
Theme Name: Khayaat Maha Madawi
Description: Light, photo-led English and Arabic uniform tailoring website built to bring in phone calls and WhatsApp messages. Manage everything under the Website menu in WordPress.
Author: Khayaat Maha Madawi
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: khayaat-maha-madawi
*/

@font-face { font-family: "Bricolage Grotesque"; src: url("assets/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Alexandria"; src: url("assets/fonts/alexandria-arabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; src: url("assets/fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; src: url("assets/fonts/plex-arabic-600.woff2") format("woff2"); font-weight: 600 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }

/* Layout concept: fitting-room arches and stitched edges on a bright, airy page, joined by a tailor's tape. */
:root {
	color-scheme: light;
	--paper: #FFFFFF;
	--sky: #E9F1FC;
	--sky-light: #F4F8FE;
	--blue: #2F6BDE;
	--blue-hover: #2559BF;
	--butter: #FFD974;
	--butter-light: #FFF0C2;
	--blush: #FCE1D8;
	--mint: #D9F1E6;
	--lilac: #E5E2FA;
	--ink: #243551;
	--muted: #5A6A82;
	--line: #D7E2F1;
	--wa: #25D366;
	--wa-hover: #1FC15C;
	--wa-text: #07361D;

	--display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
	--body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1280px;
	--gutter: clamp(16px, 4vw, 40px);
	--space: clamp(64px, 8.5vw, 112px);
	--r-lg: 32px;
	--r-md: 22px;
	--admin: 0px;
}

.admin-bar { --admin: 32px; }
@media (max-width: 782px) { .admin-bar { --admin: 46px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(100px + var(--admin)); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
.lang-ar { --display: "Alexandria", "Bricolage Grotesque", Tahoma, sans-serif; --body: "Plex Arabic", "Figtree", "Segoe UI", Tahoma, sans-serif; }
body.lang-ar { line-height: 1.75; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 5.7vw, 5.25rem); }
h2 { font-size: clamp(2.125rem, 4vw, 3.5rem); }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.lang-ar h1, .lang-ar h2 { font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.lang-ar h1 { font-size: clamp(2.25rem, 4.6vw, 4.25rem); }
.lang-ar h2 { font-size: clamp(1.875rem, 3.4vw, 3rem); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	min-height: 48px; padding: 10px 22px; border: 0; border-radius: 999px;
	font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
	cursor: pointer; transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 60px; padding: 14px 30px; font-size: 1.125rem; }
.btn--full { width: 100%; }
.btn--wa { background: var(--wa); color: var(--wa-text); }
.btn--wa:hover { background: var(--wa-hover); }
.btn--call { background: var(--blue); color: #fff; }
.btn--call:hover { background: var(--blue-hover); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { background: var(--sky); }
.btn bdi { font-variant-numeric: tabular-nums; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header: a floating bar */
.site-head {
	position: sticky; top: calc(10px + var(--admin)); z-index: 50;
	display: flex; align-items: center; gap: 20px;
	width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) + 40px);
	margin: 10px auto 0; padding: 9px 10px 9px 18px;
	background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 30px -18px rgba(47, 107, 222, .55);
}
[dir="rtl"] .site-head { padding: 9px 18px 9px 10px; }
.site-head__brand { display: flex; align-items: center; gap: 14px; flex: none; }
.site-head__bar { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.site-head__cta { display: flex; gap: 8px; flex: none; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.125rem; line-height: 1.1; white-space: nowrap; }
.brand--logo { display: block; }
.custom-logo { display: block; max-height: 48px; width: auto; max-width: 220px; object-fit: contain; }
.site-head .lang-link--mobile { display: none; }

/* Top bar */
.topbar { font-size: .875rem; color: var(--muted); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding: 10px calc(var(--gutter) + 20px) 0; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.topbar__info a, .topbar__info span { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar__info a:hover { color: var(--blue); }
.topbar__info .icon { width: 16px; height: 16px; color: var(--blue); }
.topbar__end { display: flex; align-items: center; gap: 16px; }

/* Social icons */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 50%; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.socials .icon { width: 17px; height: 17px; }
.socials--small { gap: 2px; }
.socials--small a { width: 30px; height: 30px; background: transparent; border: 0; color: var(--muted); }
.socials--small a:hover { background: var(--sky); color: var(--blue); }
.socials--small .icon { width: 15px; height: 15px; }
.lang-link { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: .9375rem; font-weight: 600; color: var(--blue); text-decoration: none; white-space: nowrap; }
.site-nav { flex: 1; min-width: 0; }
.site-nav ul { display: flex; justify-content: center; gap: clamp(2px, .7vw, 8px); }
.site-nav a { display: block; padding: 8px 12px; border-radius: 999px; font-size: .9688rem; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.site-nav a:hover { background: var(--sky); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--sky); color: var(--blue); }
.menu-toggle { display: none; }
.only-small { display: none; }

/* Image slots */
.slot { position: relative; overflow: hidden; background: var(--sky); }
.slot > img { width: 100%; height: 100%; object-fit: cover; }
.slot__ph { position: absolute; inset: 0; display: grid; place-items: center; }
.slot__ph .garment { width: auto; height: 74%; max-width: 74%; filter: drop-shadow(0 16px 18px rgba(36, 53, 81, .16)); }
.tint-sky { background-color: #DCE9FB; }
.tint-white { background-color: #fff; }
.tint-butter { background-color: var(--butter); }
.tint-blush { background-color: var(--blush); }
.tint-mint { background-color: var(--mint); }
.tint-lilac { background-color: var(--lilac); }
.slot__ph::before {
	content: ""; position: absolute; inset: 0; opacity: .4;
	background-image:
		repeating-linear-gradient(0deg, rgba(47, 107, 222, .07) 0 1px, transparent 1px 7px),
		repeating-linear-gradient(90deg, rgba(47, 107, 222, .07) 0 1px, transparent 1px 7px);
}
.slot__label {
	position: absolute; inset-block-start: 12px; left: 12px; right: 12px; z-index: 2;
	display: flex; align-items: flex-start; gap: 7px; width: fit-content; max-width: calc(100% - 24px);
	padding: 7px 11px; background: rgba(255, 255, 255, .94); color: var(--ink);
	border: 1.5px dashed var(--blue); border-radius: 12px;
	font: 600 .8125rem/1.25 "Figtree", system-ui, sans-serif; text-decoration: none; text-align: left;
}
.slot__label .icon { color: var(--blue); width: 16px; height: 16px; }
.slot__label small { display: block; font-weight: 500; font-size: .75rem; color: var(--muted); }
.arch { border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.arch-flip { border-radius: var(--r-lg) var(--r-lg) 999px 999px; }

/* Garment drawing */
.gf { fill: var(--g); }
.gw { fill: var(--gw); }
.ga { fill: var(--ga); }
.gl { fill: none; stroke: var(--gs); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gf.gl { fill: var(--g); }
.gw.gl { fill: var(--gw); }

/* Labels stay inside arches and circles */
.arch .slot__label { inset-block-start: 26%; }
.arch-flip .slot__label { inset-block-start: 14px; }
.hero__main .slot__label { inset-block-start: auto; bottom: 14px; left: auto; right: auto; inset-inline-end: 14px; }
.pagehead__photo .slot__label { inset-block-start: auto; bottom: 14px; }
.hero__detail .slot__label, .services__detail .slot__label {
	inset-block-start: 50%; left: 50%; right: auto; transform: translate(-50%, -50%); width: 76%; max-width: 76%; padding: 5px 8px; font-size: .75rem;
}
.hero__detail .slot__label .icon, .services__detail .slot__label .icon { display: none; }

/* Hero */
.hero { padding-block-start: 14px; padding-inline: clamp(8px, 1.4vw, 16px); }
.hero__panel {
	position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center;
	max-width: 1560px; margin-inline: auto; padding: clamp(36px, 4.5vw, 64px) clamp(20px, 5vw, 80px);
	background: var(--sky); border-radius: 40px;
}
.hero__copy { position: relative; z-index: 2; min-width: 0; }
.hero__lead { max-width: 33em; margin-block: 22px 28px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); }
.hero__for { margin-block-start: 28px; }
.hero__for p { font-size: .9375rem; font-weight: 600; color: var(--muted); }
.hero__for ul { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 10px; }
.hero__for a { display: block; padding: 8px 15px; background: #fff; border: 1.5px dashed #A9C4EF; border-radius: 999px; font-size: .9688rem; font-weight: 600; text-decoration: none; transition: border-color .15s ease, color .15s ease; }
.hero__for a:hover { border-color: var(--blue); color: var(--blue); }

.hero__art { position: relative; aspect-ratio: 1 / 1.02; min-width: 0; }
.hero__main { position: absolute; inset-block: 0; inset-inline-end: 3%; width: 72%; z-index: 1; box-shadow: 0 30px 50px -30px rgba(47, 107, 222, .6); }
.hero__detail {
	position: absolute; z-index: 2; inset-block-end: 4%; inset-inline-start: 0; width: 38%; aspect-ratio: 1; border-radius: 50%;
	outline: 2px dashed var(--blue); outline-offset: 6px; box-shadow: 0 0 0 4px var(--sky);
}
.chat {
	position: absolute; z-index: 3; inset-block-start: 15%; inset-inline-start: 0; width: min(46%, 240px);
	padding: 11px 14px 12px; background: #DDF8C9; color: #17351F; border-radius: 16px 16px 16px 4px;
	box-shadow: 0 14px 26px -16px rgba(36, 53, 81, .5); font-size: .9375rem; line-height: 1.35;
}
[dir="rtl"] .chat { border-radius: 16px 16px 4px 16px; }
.chat__ticks { position: absolute; inset-inline-end: 10px; inset-block-end: 6px; display: flex; color: #34B7F1; }
.chat__ticks .icon { width: 13px; height: 13px; }
.chat__ticks .icon + .icon { margin-inline-start: -8px; }
.chat p { padding-inline-end: 18px; }
.chat__label { display: flex; align-items: center; gap: 5px; margin-block-end: 3px; font-size: .75rem; font-weight: 700; color: #137A3B; }
.hero__tape { position: absolute; z-index: 0; inset-block-end: -12%; inset-inline-start: -46%; width: 170%; max-width: none; overflow: visible; }
[dir="rtl"] .hero__tape { transform: scaleX(-1); }
[dir="rtl"] .hero__tape .tape-nums { display: none; }

.tape-base { fill: none; stroke: var(--butter); stroke-width: 42; }
.tape-ticks { fill: none; stroke: var(--ink); stroke-width: 11; stroke-dasharray: 1.4 9; transform: translateY(-13px); opacity: .75; }
.tape-nums { font: 700 14px "Figtree", sans-serif; fill: var(--ink); dominant-baseline: central; }
@media (prefers-reduced-motion: no-preference) {
	.hero__tape { animation: tape-in 1.3s cubic-bezier(.25, .7, .2, 1) both; }
	@keyframes tape-in { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
}

.perks-wrap { position: relative; z-index: 4; max-width: var(--wrap); margin: -38px auto 0; padding-inline: var(--gutter); }
.perks {
	display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
	background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 40px -30px rgba(36, 53, 81, .45);
}
.perks li { display: flex; align-items: center; gap: 12px; padding: 20px 22px; font-weight: 600; line-height: 1.3; }
.perks li + li { border-inline-start: 1px solid var(--line); }
.perks .icon { flex: none; padding: 6px; width: 32px; height: 32px; background: var(--butter-light); color: var(--ink); border-radius: 50%; }

/* Sections */
.section { padding-block: var(--space); }
.section--flush { padding-block-start: 0; }
.section--tint { background: var(--sky-light); }
.section__head { max-width: 44em; margin-block-end: clamp(28px, 4vw, 48px); }
.section__head p { margin-block-start: 12px; font-size: 1.125rem; color: var(--muted); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px 48px; align-items: end; max-width: none; }
.section__head--split p { margin: 0; max-width: 32em; justify-self: end; }
.lang-ar .section__head--split p { justify-self: start; }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-block-end: 16px; font-size: .9375rem; color: var(--muted); }
.crumbs a { color: var(--blue); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs__sep { width: 15px; height: 15px; }
[dir="rtl"] .crumbs__sep { transform: scaleX(-1); }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 270px; gap: 14px; }
.sector--d2 { grid-column: span 2; }
.sector--d3 { grid-column: span 3; }
.sector--d4 { grid-column: span 4; }
.sector--d2 .sector__text, .sector--d3 .sector__text, .sector--d4 .sector__text { display: block; }
.sector { position: relative; }
.sector:first-child { grid-column: span 2; grid-row: span 2; }
.sector .slot { position: absolute; inset: 0; border-radius: var(--r-md); }
.sector .slot > img { transition: transform .4s ease; }
.sector:hover .slot > img { transform: scale(1.04); }
.sector .slot__ph .garment { height: 66%; transform: translateY(-9%); transition: transform .3s ease; }
.sector:hover .slot__ph .garment { transform: translateY(-11%) rotate(-1.5deg); }
.sector:first-child .slot__ph .garment { height: 74%; }
.sector__tag {
	position: absolute; inset-inline: 10px; inset-block-end: 10px; z-index: 3;
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 10px 10px 10px 15px; background: #fff; border-radius: 16px; color: inherit; text-decoration: none;
}
[dir="rtl"] .sector__tag { padding: 10px 15px 10px 10px; }
.sector__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sector strong { font-size: 1.0625rem; line-height: 1.2; }
.sector__text { display: none; font-size: .9063rem; line-height: 1.35; color: var(--muted); }
.sector:first-child .sector__text { display: block; }
.sector__go { display: grid; place-items: center; flex: none; width: 40px; height: 40px; background: var(--wa); color: var(--wa-text); border-radius: 50%; }

/* Services */
.services { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.services__art { position: relative; padding-block-end: 8%; padding-inline-end: 12%; }
.services__main { width: 100%; aspect-ratio: 4 / 5; box-shadow: 0 30px 50px -34px rgba(47, 107, 222, .6); }
.services__detail { position: absolute; inset-block-end: 0; inset-inline-end: 0; width: 42%; aspect-ratio: 1; border-radius: 50%; outline: 2px dashed var(--blue); outline-offset: 6px; box-shadow: 0 0 0 4px var(--sky-light); }
.services__lead { margin-block: 14px 26px; font-size: 1.125rem; color: var(--muted); }
.services__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin-block-end: 30px; }
.services__list li { display: flex; gap: 13px; }
.services__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; background: #fff; color: var(--blue); border: 1px solid var(--line); border-radius: 50%; }
.services__list p { margin-block-start: 3px; font-size: .9688rem; line-height: 1.42; color: var(--muted); }

/* Quote */
.quote {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center;
	padding: clamp(24px, 5vw, 64px); background: var(--butter); border-radius: 40px;
}
.section--flush#quote { padding-block-start: var(--space); }
.quote__copy > p { margin-block-start: 14px; font-size: 1.125rem; }
.quote__copy .quote__call { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-block-start: 24px; }
.quote__call a { display: inline-flex; align-items: center; gap: 8px; font-size: 1.375rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: clamp(18px, 3vw, 30px); background: #fff; border-radius: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide, .quote-form .btn, .quote-form__error { grid-column: 1 / -1; }
.field label { font-size: .9375rem; font-weight: 600; }
.field select, .field textarea { width: 100%; min-height: 52px; padding: 11px 14px; font-size: 1rem; background: var(--sky-light); border: 1px solid var(--line); border-radius: 14px; }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 1px #B3261E; }
.quote-form__error { margin-block: -6px; font-size: .9375rem; color: #B3261E; }
.quote-form__error:empty { display: none; }

/* Steps along a curved tape */
.steps-wrap { position: relative; padding-block-start: 148px; }
.steps__tape { position: absolute; inset-block-start: 0; inset-inline: 0; width: 100%; height: 120px; overflow: visible; }
[dir="rtl"] .steps__tape { transform: scaleX(-1); }
.steps__tape .tape-base { stroke-width: 26; vector-effect: non-scaling-stroke; }
.steps__tape .tape-ticks { stroke-width: 8; transform: translateY(-7px); vector-effect: non-scaling-stroke; }
.steps { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 20px; }
.step { position: relative; text-align: center; }
.step__mark {
	position: absolute; left: 50%; margin-left: -23px; top: -148px; z-index: 1;
	display: grid; place-items: center; width: 46px; height: 46px;
	background: var(--blue); color: #fff; font-weight: 800; border-radius: 50%; box-shadow: 0 0 0 5px #fff;
}
.step:nth-child(even) .step__mark { top: -72px; }
.step p { margin-block-start: 5px; font-size: .9688rem; line-height: 1.42; color: var(--muted); }

/* Photos and logos */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery .slot { aspect-ratio: 4 / 5; border-radius: var(--r-md); }
.gallery .slot:nth-child(4n + 2), .gallery .slot:nth-child(4n + 4) { transform: translateY(26px); }
.gallery .slot__ph .garment { height: 62%; }
.gallery { padding-block-end: 26px; }
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.logos .slot { aspect-ratio: 2 / 1; border: 1.5px dashed var(--line); border-radius: 16px; background: #fff; }
.logos .slot--filled { border-style: solid; }
.logos .slot > img { padding: 14px; object-fit: contain; }
.logos .slot__label { inset: 6px; width: auto; max-width: none; padding: 4px 6px; font-size: .75rem; border: 0; background: transparent; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__head p { margin-block: 14px 22px; font-size: 1.125rem; color: var(--muted); }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__list details { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.faq__list summary { position: relative; padding: 17px 54px 17px 20px; font-size: 1.0625rem; font-weight: 700; cursor: pointer; list-style: none; }
[dir="rtl"] .faq__list summary { padding: 17px 20px 17px 54px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 30px; height: 30px; background: var(--sky); color: var(--blue); border-radius: 50%; font-size: 1.25rem; font-weight: 500; line-height: 1; }
.faq__list details[open] summary::after { content: "\2212"; }
.faq__list details p { padding: 0 20px 18px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.15fr); gap: 14px; }
.contact__photo, .contact__map { min-height: 380px; border-radius: var(--r-md); }
.contact__map { width: 100%; height: 100%; border: 0; background: var(--sky); }
.contact__list { display: flex; flex-direction: column; justify-content: center; padding: 10px 24px; background: var(--sky-light); border-radius: var(--r-md); }
.contact__list > div { padding-block: 13px; }
.contact__list > div + div { border-block-start: 1px solid var(--line); }
.contact__list dt { display: flex; align-items: center; gap: 8px; font-size: .9375rem; color: var(--muted); }
.contact__list dt .icon { color: var(--blue); }
.contact__list dd { margin-block-start: 3px; font-weight: 600; }
.contact__list a { color: var(--blue); }
.closer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-block-start: 14px; padding: clamp(26px, 4vw, 48px); background: var(--blue); color: #fff; border-radius: var(--r-lg); }
.closer h2 { color: #fff; font-size: clamp(1.875rem, 3.2vw, 2.75rem); }

/* Inner page opening */
.pagehead { padding-block-start: 14px; padding-inline: clamp(8px, 1.4vw, 16px); }
.pagehead__in {
	display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end;
	max-width: 1560px; margin-inline: auto; padding: clamp(32px, 4vw, 56px) clamp(20px, 5vw, 80px) 0;
	background: var(--sky); border-radius: 40px; overflow: hidden;
}
.pagehead__copy { align-self: center; padding-block-end: clamp(28px, 4vw, 56px); }
.pagehead p { max-width: 36em; margin-block: 14px 24px; font-size: 1.1875rem; color: var(--muted); }
.pagehead__photo { height: clamp(240px, 26vw, 340px); border-radius: 999px 999px 0 0; }

/* Plain pages */
.prose { max-width: 760px; }
.prose > * + * { margin-block-start: 1em; }

/* Under one roof: a shopfront awning over the shop's full range */
.roof { padding-inline: clamp(8px, 1.4vw, 16px); }
.roof__awning, .roof__body { max-width: 1560px; margin-inline: auto; }
.roof__awning {
	position: relative; z-index: 1; height: 70px; margin-block-end: -26px;
	background: repeating-linear-gradient(90deg, var(--butter) 0 56px, #fff 56px 112px);
	border-radius: 40px 40px 0 0;
	-webkit-mask: linear-gradient(#000 0 0) top / 100% 44px no-repeat, radial-gradient(circle 28px at 28px 42px, #000 97%, transparent 100%) 0 0 / 56px 70px repeat-x;
	mask: linear-gradient(#000 0 0) top / 100% 44px no-repeat, radial-gradient(circle 28px at 28px 42px, #000 97%, transparent 100%) 0 0 / 56px 70px repeat-x;
	filter: drop-shadow(0 6px 0 rgba(13, 40, 100, .14));
}
.roof__awning::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--blue); }
.roof__body { padding-block: 80px clamp(48px, 6vw, 80px); background: var(--blue); color: #fff; border-radius: 0 0 40px 40px; }
.roof__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-block-end: clamp(32px, 4vw, 52px); }
.roof__head h2 { color: #fff; }
.roof__head p { max-width: 34em; margin-block-start: 12px; font-size: 1.125rem; color: #DCE7FB; }
.roof__items { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 28px 18px; text-align: center; }
.roof__photo { width: 100%; max-width: 168px; margin: 0 auto 16px; aspect-ratio: 1; border-radius: 50%; outline: 2px dashed rgba(255, 255, 255, .7); outline-offset: 5px; }
.roof__photo .slot__ph .garment { height: 70%; }
.roof__photo .slot__label { inset-block-start: 50%; left: 50%; right: auto; transform: translate(-50%, -50%); width: 80%; padding: 4px 6px; font-size: .6875rem; }
.roof__photo .slot__label .icon, .roof__photo .slot__label small { display: none; }
.roof__item h3 { font-size: 1.125rem; color: #fff; }
.roof__item p { margin-block-start: 4px; font-size: .9375rem; line-height: 1.4; color: #DCE7FB; }
.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); }

/* Custom sections made in the block editor */
.custom-content { max-width: 900px; }
.custom-content > * + * { margin-block-start: 1.1em; }
.custom-content h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.custom-content h3 { font-size: 1.375rem; }
.custom-content p, .custom-content li { font-size: 1.0625rem; color: var(--muted); }
.custom-content ul { list-style: disc; padding-inline-start: 1.3em; }
.custom-content img { border-radius: var(--r-md); }
.custom-content .wp-block-button__link { border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; padding: 14px 26px; text-decoration: none; }
.custom-content .alignwide, .custom-content .wp-block-columns { max-width: none; }
.custom-content:has(.wp-block-columns, .alignwide) { max-width: none; }
.custom-panel { padding: clamp(24px, 5vw, 64px); background: var(--butter); border-radius: 40px; }
.custom-panel .custom-content p { color: var(--ink); }

/* Footer */
.site-foot { padding: clamp(8px, 1.4vw, 16px); padding-block-start: 0; }
.site-foot__panel { max-width: 1560px; margin-inline: auto; padding: clamp(40px, 5vw, 72px) clamp(20px, 5vw, 80px) 0; background: var(--sky); border-radius: 40px; color: var(--muted); font-size: .9688rem; }
.site-foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px 40px; max-width: var(--wrap); margin-inline: auto; }
.site-foot__about > p { max-width: 26em; margin-block: 16px 0; }
.site-foot__label { margin-block: 22px 10px; font-weight: 700; color: var(--ink); }
.brand--foot { color: var(--ink); }
.brand--foot .brand__name { font-size: 1.25rem; }
.site-foot h2 { margin-block-end: 14px; font-family: var(--body); font-size: 1rem; font-weight: 800; letter-spacing: 0; color: var(--ink); }
.site-foot__col ul { display: flex; flex-direction: column; gap: 9px; }
.site-foot__col a { text-decoration: none; }
.site-foot__col a:hover { color: var(--blue); text-decoration: underline; }
.site-foot__more { font-weight: 700; color: var(--blue); }
.site-foot__contact a, .site-foot__contact span { display: inline-flex; align-items: flex-start; gap: 9px; }
.site-foot__contact .icon { margin-block-start: 2px; color: var(--blue); }
.site-foot__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; max-width: var(--wrap); margin: clamp(32px, 4vw, 56px) auto 0; padding-block: 20px; border-block-start: 1px solid var(--line); font-size: .875rem; }

/* Tablet and phone: brand scrolls away, the call buttons stay */
@media (max-width: 1140px) {
	.topbar { display: none; }
	.site-head .lang-link--mobile { display: inline-flex; }
	.site-head { display: contents; }
	.site-head__brand { justify-content: space-between; padding: 10px var(--gutter) 4px; }
	.site-head__bar {
		position: sticky; top: calc(8px + var(--admin)); z-index: 50; gap: 6px;
		margin: 6px clamp(8px, 2vw, 16px) 0; padding: 6px;
		background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
		border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 26px -16px rgba(47, 107, 222, .6);
	}
	.site-head__cta { flex: 1; min-width: 0; gap: 6px; }
	.site-head__cta .btn { flex: 1 1 0; min-width: 0; min-height: 50px; padding-inline: 10px; }
	.only-small { display: inline; }
	.only-large { display: none; }
	.menu-toggle {
		display: grid; place-items: center; flex: none; width: 50px; height: 50px; padding: 0;
		background: var(--sky); color: var(--ink); border: 0; border-radius: 50%; cursor: pointer; font-size: 1.125rem;
	}
	.site-nav {
		display: none; position: absolute; inset-block-start: calc(100% + 8px); inset-inline: 0;
		background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 20px 40px -20px rgba(36, 53, 81, .4);
	}
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; gap: 2px; padding: 10px; }
	.site-nav a { padding: 12px 16px; font-size: 1.0625rem; }
	html { scroll-padding-top: calc(82px + var(--admin)); }
}

@media (max-width: 1000px) {
	.hero__panel, .services, .quote, .faq { grid-template-columns: minmax(0, 1fr); }
	.hero__art { width: 100%; max-width: 560px; margin-inline: auto; }
	.perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.perks li:nth-child(odd) { border-inline-start: 0; }
	.perks li:nth-child(n + 3) { border-block-start: 1px solid var(--line); }
	.sector--d2, .sector--d3, .sector--d4 { grid-column: auto; }
	.sector--t2 { grid-column: span 2; }
	.section__head--split { grid-template-columns: minmax(0, 1fr); }
	.section__head--split p, .lang-ar .section__head--split p { justify-self: start; }
	.roof__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 250px; }
	.services__art { max-width: 480px; }
	.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gallery .slot:nth-child(n) { transform: none; }
	.gallery { padding-block-end: 0; }
	.logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact__list { order: -1; grid-column: 1 / -1; }
	.contact__photo, .contact__map { min-height: 300px; }
	.steps-wrap { padding-block-start: 0; }
	.steps__tape { display: none; }
	.steps { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 560px; margin-inline: auto; }
	.step {
		padding-block-end: 26px; padding-inline-start: 66px; text-align: start;
		background: repeating-linear-gradient(0deg, var(--ink) 0 1px, var(--butter) 1px 8px) no-repeat;
		background-size: 12px 100%;
	}
	[dir="ltr"] .step { background-position: 17px 0; }
	[dir="rtl"] .step { background-position: calc(100% - 17px) 0; }
	.step:last-child { padding-block-end: 0; }
	.step__mark, .step:nth-child(even) .step__mark { top: 0; left: auto; inset-inline-start: 0; margin: 0; }
	.pagehead__in { grid-template-columns: minmax(0, 1fr); }
	.pagehead__copy { padding-block-end: 0; }
	.pagehead__photo { width: min(100%, 420px); height: 240px; margin-inline: auto; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.hero__panel, .quote, .pagehead__in { border-radius: 28px; }
	.brand__name { font-size: 1.0625rem; }
	.actions .btn { flex: 1 1 100%; }
	.hero__tape { inset-inline-start: -60%; width: 210%; inset-block-end: -8%; }
	.chat { width: 54%; font-size: .875rem; }

	.sectors { grid-auto-rows: 210px; gap: 10px; }
	.sector__tag { inset-inline: 6px; inset-block-end: 6px; padding: 8px 6px 8px 11px; border-radius: 13px; }
	[dir="rtl"] .sector__tag { padding: 8px 11px 8px 6px; }
	.sector strong { font-size: .9375rem; }
	.sector__go { width: 32px; height: 32px; font-size: .8125rem; }
	.sector .slot__ph .garment { height: 58%; transform: translateY(-14%); }
	.sector:first-child .slot__ph .garment { height: 66%; }
	.services__list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.slot__label small { display: none; }
	.quote-form { grid-template-columns: minmax(0, 1fr); }
	.gallery { display: flex; gap: 10px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; }
	.gallery .slot { flex: 0 0 68%; scroll-snap-align: center; }
	.logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact { grid-template-columns: minmax(0, 1fr); }
	.closer { text-align: start; }
	.closer .actions { width: 100%; }
	.perks-wrap { margin-top: -24px; }
	.perks li { padding: 14px 14px; gap: 9px; font-size: .9375rem; }
	.perks .icon { width: 26px; height: 26px; padding: 5px; }
	.roof__awning { height: 54px; margin-block-end: -20px; border-radius: 28px 28px 0 0; background: repeating-linear-gradient(90deg, var(--butter) 0 40px, #fff 40px 80px);
		-webkit-mask: linear-gradient(#000 0 0) top / 100% 34px no-repeat, radial-gradient(circle 20px at 20px 33px, #000 97%, transparent 100%) 0 0 / 40px 54px repeat-x;
		mask: linear-gradient(#000 0 0) top / 100% 34px no-repeat, radial-gradient(circle 20px at 20px 33px, #000 97%, transparent 100%) 0 0 / 40px 54px repeat-x; }
	.roof__body { padding-block-start: 60px; border-radius: 0 0 28px 28px; }
	.roof__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
	.roof__photo { max-width: 132px; }
	.site-foot__panel { border-radius: 28px; }
	.site-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
	.site-foot__about, .site-foot__col:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; animation: none !important; }
}
