
/*
Theme Name: WEB MEDIA
Author: WEB MEDIA
Description: قالب مؤسسي احترافي عصري ومتعدد الاستخدامات، مستقل وقابل لإعادة الاستخدام لمختلف المواقع والأنشطة.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: web-media
*/

/* ============================================================
   WEB MEDIA — PROFESSIONAL CORPORATE DESIGN SYSTEM
   ============================================================ */

:root {
	--ivory: #f7f9fc;
	--sand: #edf1f7;
	--dune: #dce3ed;

	--lagoon: #1746a2;
	--lagoon-deep: #101d38;
	--sea: #2878d0;

	--copper: #c18b3c;
	--copper-soft: #e2bd78;
	--palm: #527a9d;

	--ink: #18243a;
	--muted: #647188;
	--line: rgba(20, 43, 82, .12);
	--wa: #20a464;

	--f-display: "IBM Plex Sans Arabic", "El Messiri", Tahoma, sans-serif;
	--f-text: "IBM Plex Sans Arabic", Tahoma, "Segoe UI", sans-serif;

	--wrap: 1240px;
	--gut: clamp(1rem, 4vw, 2.5rem);
	--sec: clamp(3.5rem, 7vw, 7rem);

	--r-s: 9px;
	--r-m: 18px;
	--r-l: 28px;

	--ease: cubic-bezier(.22, .7, .2, 1);

	--shadow-sm: 0 5px 18px rgba(16, 29, 56, .05);
	--shadow-md: 0 15px 40px rgba(16, 29, 56, .09);
	--shadow-lg: 0 25px 65px rgba(16, 29, 56, .14);

	/* متغيرات التخصيص */
	--fn-head-height: 82px;
	--fn-floating-gap: 14px;
}

/* ============================================================
   BASE
   ============================================================ */

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	background: var(--ivory);
	color: var(--ink);
	font: 400 1.0625rem/1.9 var(--f-text);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, video, svg {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--lagoon);
	text-decoration-thickness: 1px;
	text-underline-offset: .25em;
	transition: color .2s ease;
}

a:hover {
	color: var(--sea);
}

h1, h2, h3, h4 {
	font-family: var(--f-display);
	font-weight: 700;
	line-height: 1.3;
	color: var(--lagoon-deep);
	margin: 0 0 .6em;
}

p {
	margin: 0 0 1em;
}

:focus-visible {
	outline: 3px solid var(--copper);
	outline-offset: 4px;
	border-radius: 5px;
}

.sr, .qform__hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip {
	position: absolute;
	inset-inline-start: 1rem;
	top: -100px;
	z-index: 100;
	background: var(--lagoon-deep);
	color: #fff;
	padding: .6rem 1rem;
	border-radius: var(--r-s);
}

.skip:focus {
	top: 1rem;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gut);
}

.ico {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
	--bg: var(--lagoon);
	--fg: #fff;

	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;

	min-height: 49px;
	padding: .65em 1.5em;

	border: 1px solid transparent;
	border-radius: 9px;

	background: var(--bg);
	color: var(--fg);

	font: 600 1rem/1.2 var(--f-text);
	text-decoration: none;
	cursor: pointer;

	box-shadow: 0 5px 15px rgba(23, 70, 162, .12);

	transition:
		transform .25s var(--ease),
		background-color .25s,
		box-shadow .25s;
}

.btn:hover {
	color: var(--fg);
	transform: translateY(-3px);
	box-shadow: 0 12px 25px rgba(23, 70, 162, .2);
}

.btn--lagoon {
	--bg: var(--lagoon);
}

.btn--lagoon:hover {
	--bg: #10377f;
}

.btn--wa {
	--bg: var(--wa);
}

.btn--wa:hover {
	--bg: #17834f;
}

.btn--sand {
	--bg: var(--sand);
	--fg: var(--lagoon-deep);
	box-shadow: none;
}

.btn--ghost {
	--bg: transparent;
	--fg: var(--lagoon-deep);
	border-color: var(--line);
	box-shadow: none;
}

.btn--line {
	--bg: transparent;
	--fg: #fff;
	border-color: rgba(255,255,255,.4);
	box-shadow: none;
}

.btn--sm {
	min-height: 41px;
	padding: .4em 1.1em;
	font-size: .93rem;
}

.btn--lg {
	min-height: 56px;
	padding: .75em 1.8em;
	font-size: 1.05rem;
}

.link {
	font-weight: 600;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	padding-bottom: 3px;
	transition: background-size .3s var(--ease);
}

.link:hover {
	background-size: 40% 1px;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-head {
	position: sticky;
	top: 0;
	z-index: 50;
	isolation: isolate;
	border-bottom: 1px solid transparent;
	transition: border-color .3s, box-shadow .3s;
}

.site-head::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255,255,255,.94);
	backdrop-filter: saturate(1.5) blur(16px);
	-webkit-backdrop-filter: saturate(1.5) blur(16px);
}

.site-head.is-scrolled {
	border-color: var(--line);
	box-shadow: 0 8px 30px rgba(16,29,56,.07);
}

.site-head__in {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 82px;
}

.brand {
	display: flex;
	align-items: center;
	gap: .8rem;
	text-decoration: none;
	color: var(--lagoon-deep);
	flex: none;
}

.brand__mark {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 0 0 1px var(--line);
}

.brand__mark img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	mix-blend-mode: multiply;
}

.brand__name {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.brand__name span {
	font: 700 1.35rem/1.2 var(--f-display);
}

.brand__name small {
	font-size: .78rem;
	color: var(--copper);
	font-weight: 600;
}

.nav {
	margin-inline-start: auto;
}

.nav__list {
	display: flex;
	gap: .25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav__list a {
	display: block;
	padding: .55rem .9rem;
	color: var(--ink);
	text-decoration: none;
	font-weight: 600;
	font-size: .96rem;
	border-radius: 8px;
	transition: background-color .2s, color .2s;
}

.nav__list a:hover,
.nav__list .current-menu-item > a {
	color: var(--lagoon);
	background: #edf3ff;
}

.nav__list li {
	position: relative;
}

.nav__list .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	min-width: 230px;
	list-style: none;
	margin: 0;
	padding: .6rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: .2s var(--ease);
}

.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.nav__extra {
	display: none;
}

.site-head__act {
	display: flex;
	align-items: center;
	gap: .8rem;
}

.head-tel {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	color: var(--lagoon-deep);
	text-decoration: none;
	font-weight: 700;
}

.burger {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	position: relative;
}

.burger span:not(.sr) {
	position: absolute;
	inset-inline: 13px;
	height: 2px;
	background: var(--lagoon-deep);
	border-radius: 2px;
	transition: transform .3s var(--ease);
}

.burger span:nth-child(1) {
	top: 18px;
}

.burger span:nth-child(2) {
	top: 26px;
	inset-inline-start: 19px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(4px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
	transform: translateY(-4px) rotate(-45deg);
	inset-inline-start: 13px;
}

/* ============================================================
   DECORATIVE WAVES
   ============================================================ */

.wave {
	position: absolute;
	inset-inline: 0;
	bottom: -1px;
	height: clamp(40px, 7vw, 110px);
	pointer-events: none;
	z-index: 1;
}

.wave svg {
	width: 100%;
	height: 100%;
}

.wave__line {
	stroke: var(--copper-soft);
	stroke-width: 1.3;
	opacity: .65;
}

.wave--flip {
	top: -1px;
	bottom: auto;
	transform: scaleY(-1);
}

/* ============================================================
   MAIN HERO
   ============================================================ */

.hero {
	position: relative;
	background:
		radial-gradient(ellipse at 85% 10%, rgba(40,120,208,.11), transparent 40%),
		linear-gradient(135deg, #fff 0%, #f2f6fc 65%, #e9eff8 100%);
	padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(5rem, 10vw, 9rem);
	overflow: hidden;
	isolation: isolate;
}

.hero::before {
	content: "";
	position: absolute;
	width: 500px;
	height: 500px;
	border: 1px solid rgba(23,70,162,.08);
	border-radius: 50%;
	inset-inline-end: -180px;
	top: -230px;
	box-shadow:
		0 0 0 40px rgba(23,70,162,.025),
		0 0 0 80px rgba(23,70,162,.02);
	pointer-events: none;
}

.hero__in {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: clamp(1.5rem, 4vw, 4rem);
	z-index: 2;
}

.hero__kicker {
	color: var(--copper);
	font-weight: 700;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: .7rem;
}

.hero__kicker::before {
	content: "";
	width: 38px;
	height: 3px;
	background: currentColor;
	border-radius: 5px;
}

.hero__title {
	font-size: clamp(2.6rem, 1.4rem + 5vw, 5.2rem);
	line-height: 1.16;
	font-weight: 800;
	letter-spacing: -.02em;
	margin-bottom: .5em;
	color: var(--lagoon-deep);
}

.hero__sub {
	font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem);
	color: var(--muted);
	max-width: 34em;
	margin-bottom: 2rem;
}

.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
}

.hero__cities {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
}

.hero__cities a {
	display: block;
	padding: .35rem .95rem;
	border: 1px solid var(--line);
	border-radius: 7px;
	font-size: .92rem;
	color: var(--lagoon);
	text-decoration: none;
	background: #fff;
	transition: background-color .2s, border-color .2s;
}

.hero__cities a:hover {
	background: #edf3ff;
	border-color: rgba(23,70,162,.3);
}

.hero__media {
	position: relative;
	margin: 0;
	justify-self: end;
	width: 100%;
	max-width: 560px;
}

.hero__arch {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	z-index: 2;
	transform: translateY(var(--py, 0));
}

.hero__arch img,
.hero__arch video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: kenburns 22s var(--ease) infinite alternate;
}

.hero__sun {
	position: absolute;
	width: 35%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--copper-soft), var(--copper));
	top: -6%;
	inset-inline-end: -8%;
	opacity: .9;
	z-index: 1;
}

.hero__breeze {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.hero__breeze > svg:first-child {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.br {
	fill: none;
	stroke: var(--lagoon);
	stroke-width: 1.2;
	opacity: .12;
	stroke-dasharray: 900 300;
	animation: breeze 18s linear infinite;
}

.br2 {
	opacity: .1;
	animation-duration: 24s;
	animation-direction: reverse;
}

.br3 {
	stroke: var(--copper);
	opacity: .16;
	animation-duration: 30s;
}

.leaf {
	position: absolute;
	width: 22px;
	fill: var(--palm);
	opacity: .35;
	stroke: #fff;
	stroke-width: 1.2;
	animation: drift 16s ease-in-out infinite;
}

.leaf1 {
	top: 18%;
	inset-inline-start: 46%;
}

.leaf2 {
	top: 70%;
	inset-inline-start: 8%;
	width: 16px;
	animation-delay: -6s;
	animation-duration: 20s;
}

.leaf3 {
	top: 12%;
	inset-inline-start: 4%;
	width: 14px;
	animation-delay: -11s;
	opacity: .25;
}

@keyframes kenburns {
	from { transform: scale(1.02); }
	to { transform: scale(1.1) translate(-1%, -1%); }
}

@keyframes breeze {
	to { stroke-dashoffset: -2400; }
}

@keyframes drift {
	0%, 100% { transform: translate(0, 0) rotate(0); }
	50% { transform: translate(-25px, 12px) rotate(20deg); }
}

/* Hero entrance animation */

.js .hero__kicker,
.js .hero__title,
.js .hero__sub,
.js .hero__cta,
.js .hero__cities {
	opacity: 0;
	transform: translateY(22px);
	animation: rise .9s var(--ease) forwards;
}

.js .hero__title {
	animation-delay: .08s;
}

.js .hero__sub {
	animation-delay: .22s;
}

.js .hero__cta {
	animation-delay: .34s;
}

.js .hero__cities {
	animation-delay: .46s;
}

.js .hero__arch {
	clip-path: inset(100% 0 0 0 round 24px);
	animation: unveil 1.3s .1s var(--ease) forwards;
}

@keyframes rise {
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes unveil {
	to {
		clip-path: inset(0 0 0 0 round 24px);
	}
}

/* ============================================================
   TRUST / STATISTICS
   ============================================================ */

.trust {
	background: #fff;
	padding: 1.2rem 0 2.5rem;
	position: relative;
	border-block: 1px solid var(--line);
}

.trust__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	list-style: none;
	margin: 0 auto;
	gap: 0;
}

.trust__list li {
	padding: 1.2rem 1.4rem;
	border-inline-start: 1px solid var(--line);
	display: flex;
	flex-direction: column;
}

.trust__list li:first-child {
	border: 0;
}

.trust__list strong {
	font: 700 1.55rem/1.35 var(--f-display);
	color: var(--lagoon);
}

.trust__list span {
	color: var(--muted);
	font-size: .95rem;
}

.is-ph strong,
.ph-note {
	outline: 2px dashed var(--copper);
	outline-offset: 4px;
	color: var(--copper) !important;
}

/* ============================================================
   GENERAL SECTIONS
   ============================================================ */

.sec {
	padding-block: var(--sec);
	position: relative;
}

.sec--tight {
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.sec__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem 2rem;
	flex-wrap: wrap;
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.sec__head .sec__title {
	margin: 0;
}

.sec__title {
	font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem);
	line-height: 1.2;
	max-width: 18em;
	position: relative;
}

.sec__title::after {
	content: "";
	display: block;
	width: 55px;
	height: 4px;
	border-radius: 5px;
	background: var(--copper);
	margin-top: .6em;
}

.sec__note {
	color: var(--muted);
	margin: 0;
	max-width: 32em;
}

.js .reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.js .reveal.is-in {
	opacity: 1;
	transform: none;
}

/* ============================================================
   SERVICES
   ============================================================ */

.services {
	background: #edf2f9;
	padding-top: clamp(2rem, 4vw, 3.5rem);
}

.svc {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: minmax(210px, auto);
	gap: clamp(.7rem, 1.5vw, 1.2rem);
}

.svc__card {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 14px;
	color: #fff;
	text-decoration: none;
	background: var(--lagoon-deep);
	min-height: 210px;
	isolation: isolate;
	box-shadow: var(--shadow-sm);
}

.svc__card--lead {
	grid-column: span 2;
	grid-row: span 2;
	border-radius: 14px;
}

.svc__card:nth-child(4) {
	grid-row: span 2;
}

.svc__img,
.svc__img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.svc__img img {
	transition: transform 1.1s var(--ease), filter .6s;
}

.svc__img--none {
	background:
		radial-gradient(circle at 80% 15%, rgba(226,189,120,.35), transparent 45%),
		linear-gradient(160deg, var(--sea), var(--lagoon-deep));
}

.svc__card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10,24,48,.94), rgba(10,24,48,.2) 60%, transparent);
	z-index: 1;
	transition: opacity .5s;
}

.svc__body {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 1.3rem 1.4rem 1.4rem;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: .25rem;
}

.svc__name {
	font: 700 1.2rem/1.4 var(--f-display);
	color: #fff;
}

.svc__card--lead .svc__name {
	font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem);
}

.svc__ex {
	font-size: .92rem;
	color: rgba(255,255,255,.85);
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height .5s var(--ease), opacity .4s;
}

.svc__name::after {
	content: "";
	display: block;
	height: 3px;
	width: 32px;
	margin-top: .5rem;
	background: var(--copper-soft);
	border-radius: 5px;
	transition: width .5s var(--ease);
}

.svc__card:hover .svc__img img,
.svc__card:focus-visible .svc__img img {
	transform: scale(1.07);
}

.svc__card:hover .svc__name::after,
.svc__card:focus-visible .svc__name::after {
	width: 75px;
}

.svc__card:hover .svc__ex,
.svc__card:focus-visible .svc__ex {
	max-height: 4.5em;
	opacity: 1;
}

/* ============================================================
   ABOUT / STORY
   ============================================================ */

.story {
	background: #fff;
	padding-top: calc(var(--sec) + 2rem);
}

.story__in {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}

.story__media {
	position: relative;
	padding-bottom: 18%;
	padding-inline-end: 12%;
}

.story__media figure {
	margin: 0;
	overflow: hidden;
}

.story__big {
	border-radius: 16px;
	aspect-ratio: 4 / 5;
	box-shadow: var(--shadow-md);
}

.story__big img,
.story__small img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.story__small {
	position: absolute;
	inset-inline-end: 0;
	bottom: 0;
	width: 46%;
	aspect-ratio: 1;
	border-radius: 16px;
	border: 8px solid #fff;
	box-shadow: var(--shadow-md);
}

.story__text .prose {
	font-size: 1.1rem;
}

/* ============================================================
   GALLERY
   ============================================================ */

.gallery {
	background: #f5f7fb;
	padding-top: 0;
}

.gallery__nav {
	display: flex;
	gap: .5rem;
}

.gbtn {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--lagoon);
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background-color .2s, color .2s;
}

.gbtn:hover {
	background: var(--lagoon);
	color: #fff;
}

.gbtn--next .ico {
	transform: scaleX(-1);
}

[dir="rtl"] .gbtn[data-g="prev"] .ico {
	transform: scaleX(-1);
}

[dir="rtl"] .gbtn--next .ico {
	transform: none;
}

.gallery__track {
	display: flex;
	align-items: flex-end;
	gap: clamp(.7rem, 1.5vw, 1.2rem);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: .5rem max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 1.5rem;
	scrollbar-width: thin;
	scrollbar-color: var(--dune) transparent;
	overscroll-behavior-x: contain;
	scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
}

.gallery__item {
	flex: none;
	margin: 0;
	scroll-snap-align: start;
	overflow: hidden;
	border-radius: 14px;
	background: var(--sand);
	box-shadow: var(--shadow-sm);
}

.gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease);
}

.gallery__item:hover img {
	transform: scale(1.05);
}

.gallery__item--tall {
	width: clamp(220px, 26vw, 360px);
	aspect-ratio: 3 / 4;
}

.gallery__item--wide {
	width: clamp(300px, 40vw, 560px);
	aspect-ratio: 4 / 3;
	border-radius: 14px;
}

.gallery__item--sq {
	width: clamp(240px, 28vw, 380px);
	aspect-ratio: 1;
}

.gallery__more {
	margin: 0 auto;
	padding-bottom: var(--sec);
}

/* ============================================================
   BEFORE / AFTER
   ============================================================ */

.ba__box {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--r-l);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

.ba__box img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ba__before {
	position: absolute;
	inset: 0;
	clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

[dir="rtl"] .ba__before {
	clip-path: inset(0 0 0 calc(100% - var(--pos)));
}

.ba__range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: ew-resize;
	margin: 0;
}

.ba__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	inset-inline-start: calc(100% - var(--pos));
	width: 3px;
	background: #fff;
	pointer-events: none;
}

html:not([dir="rtl"]) .ba__handle {
	inset-inline-start: var(--pos);
}

.ba__handle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 46px;
	height: 46px;
	margin: -23px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */

.steps {
	background: var(--lagoon-deep);
	color: rgba(255,255,255,.82);
	overflow: hidden;
}

.steps .sec__title {
	color: #fff;
}

.steps__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	counter-reset: s;
	border-top: 1px solid rgba(255,255,255,.18);
}

.steps__list li {
	counter-increment: s;
	padding: 1.6rem 1.2rem 0;
	border-inline-start: 1px solid rgba(255,255,255,.18);
	position: relative;
}

.steps__list li:first-child {
	border: 0;
	padding-inline-start: 0;
}

.steps__list li::before {
	content: counter(s, arabic-indic);
	display: block;
	font: 700 3.4rem/1 var(--f-display);
	color: var(--copper-soft);
	margin-bottom: 1rem;
}

.steps__list h3 {
	color: #fff;
	font-size: 1.3rem;
	margin-bottom: .4em;
}

.steps__list p {
	font-size: .97rem;
	margin: 0;
}

/* ============================================================
   CITIES / LOCATIONS
   ============================================================ */

.cities {
	background: #fff;
}

.cities__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(1.5rem, 4vw, 4rem);
}

.cities__region h3 {
	font-size: 1.05rem;
	font-family: var(--f-text);
	color: var(--copper);
	font-weight: 700;
	margin-bottom: .6rem;
}

.cities__region h3 a {
	color: inherit;
}

.cities__region ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line);
}

.cities__region li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .9rem 0;
	border-bottom: 1px solid var(--line);
	font: 700 clamp(1.25rem, 1rem + 1.2vw, 1.8rem)/1.3 var(--f-display);
	color: var(--lagoon-deep);
	text-decoration: none;
	transition: color .25s, padding .35s var(--ease);
}

.cities__region li a .ico {
	color: var(--copper);
	transition: transform .35s var(--ease);
}

.cities__region li a:hover {
	color: var(--sea);
	padding-inline-start: .6rem;
}

.cities__region li a:hover .ico {
	transform: translateX(-6px);
}

html:not([dir="rtl"]) .cities__region li a .ico {
	transform: scaleX(-1);
}

/* ============================================================
   REVIEWS
   ============================================================ */

.reviews {
	background: #edf2f9;
}

.reviews__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.2rem;
}

.review {
	margin: 0;
	padding: 1.8rem;
	background: #fff;
	border-radius: 14px;
	border: 1px solid var(--line);
	border-top: 3px solid var(--copper);
	box-shadow: var(--shadow-sm);
}

.review p {
	font-size: 1.08rem;
}

.review footer {
	color: var(--muted);
	font-weight: 700;
}

/* ============================================================
   POSTS
   ============================================================ */

.posts {
	background: #fff;
}

.posts__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 2vw, 1.8rem);
}

.pcard__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	transition: transform .3s var(--ease), box-shadow .3s;
}

.pcard__link:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-md);
}

.pcard__img {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--sand);
}

.pcard__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .9s var(--ease);
}

.pcard__link:hover .pcard__img img {
	transform: scale(1.05);
}

.pcard__body {
	padding: 1.2rem;
}

.pcard time {
	font-size: .85rem;
	color: var(--copper);
	font-weight: 700;
}

.pcard h3 {
	font-size: 1.22rem;
	margin: .3rem 0 .5rem;
	transition: color .2s;
}

.pcard__link:hover h3 {
	color: var(--sea);
}

.pcard p {
	color: var(--muted);
	font-size: .95rem;
	margin: 0;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
	background: #edf2f9;
}

.faq__grid {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: clamp(1.5rem, 5vw, 5rem);
	align-items: start;
}

.faq__grid > .sec__title {
	position: sticky;
	top: 110px;
}

.faq__list {
	border-top: 1px solid var(--dune);
}

.faq__item {
	border-bottom: 1px solid var(--dune);
}

.faq__item summary {
	list-style: none;
	cursor: pointer;
	padding: 1.2rem 0;
	padding-inline-end: 2.5rem;
	position: relative;
	font: 700 1.15rem/1.5 var(--f-display);
	color: var(--lagoon-deep);
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__item summary::after {
	content: "";
	position: absolute;
	inset-inline-end: .3rem;
	top: 50%;
	width: 14px;
	height: 14px;
	margin-top: -9px;
	border-inline-end: 2px solid var(--copper);
	border-bottom: 2px solid var(--copper);
	transform: rotate(45deg);
	transition: transform .3s var(--ease);
}

.faq__item[open] summary::after {
	transform: rotate(-135deg);
	margin-top: -3px;
}

.faq__a {
	padding-bottom: 1.2rem;
	color: var(--muted);
}

/* ============================================================
   CLIMATE / PLACES
   ============================================================ */

.climate {
	background: #fff;
}

.climate__grid {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: clamp(1.5rem, 5vw, 5rem);
}

.climate__text {
	font-size: 1.12rem;
}

.places {
	background: #fff;
	padding-block: clamp(2rem, 4vw, 3.5rem);
}

.places__list {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.places__list a {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .6rem 1.1rem;
	border-radius: 8px;
	background: #edf2f9;
	color: var(--lagoon-deep);
	text-decoration: none;
	font-weight: 600;
	transition: background-color .2s, color .2s;
}

.places__list a .ico {
	color: var(--copper);
}

.places__list a:hover {
	background: var(--lagoon);
	color: #fff;
}

/* ============================================================
   CTA BAND
   ============================================================ */

.ctaband {
	position: relative;
	background:
		radial-gradient(circle at 90% 10%, rgba(40,120,208,.2), transparent 35%),
		var(--lagoon-deep);
	color: rgba(255,255,255,.85);
	padding: clamp(5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
}

.ctaband .wave--flip path:first-child {
	fill: var(--lagoon-deep);
}

.ctaband__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.ctaband__title {
	color: #fff;
	font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
	max-width: 14em;
}

.ctaband p {
	max-width: 36em;
	margin: 0;
}

.ctaband__btns {
	display: flex;
	gap: .8rem;
	flex-wrap: wrap;
}

/* ============================================================
   INNER PAGE HERO
   ============================================================ */

.phero {
	position: relative;
	background:
		radial-gradient(ellipse at 85% 5%, rgba(40,120,208,.1), transparent 40%),
		linear-gradient(180deg, #fff, #edf2f9);
	padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(4.5rem, 9vw, 7.5rem);
	overflow: hidden;
}

.phero__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
	position: relative;
	z-index: 2;
}

.phero--img .phero__inner {
	grid-template-columns: 1.15fr .85fr;
}

.phero__title {
	font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.2rem);
	line-height: 1.15;
	font-weight: 800;
	margin-bottom: .45em;
	max-width: 16em;
}

.phero__sub {
	color: var(--muted);
	font-size: 1.12rem;
	max-width: 38em;
}

.phero__cta {
	display: flex;
	gap: .7rem;
	flex-wrap: wrap;
	margin-top: 1.4rem;
}

.phero__img {
	margin: 0;
	aspect-ratio: 5 / 4;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.phero__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
	list-style: none;
	margin: 0 0 1.2rem;
	padding: 0;
	font-size: .9rem;
	color: var(--muted);
}

.crumbs li + li::before {
	content: "/";
	margin-inline-end: .3rem;
	color: var(--dune);
}

.crumbs a {
	color: var(--muted);
	text-decoration: none;
}

.crumbs a:hover {
	color: var(--lagoon);
}

/* ============================================================
   CONTENT / PROSE
   ============================================================ */

.prose {
	max-width: 74ch;
}

.article__body {
	max-width: none;
}

.article__body > * {
	max-width: 74ch;
}

.article__body > .alignwide,
.article__body > .wp-block-table,
.article__body > .wp-block-gallery {
	max-width: none;
}

.prose h2 {
	font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.1rem);
	margin-top: 1.8em;
}

.prose h3 {
	font-size: 1.35rem;
	margin-top: 1.5em;
}

.prose ul,
.prose ol {
	padding-inline-start: 1.3em;
}

.prose li {
	margin-bottom: .35em;
}

.prose li::marker {
	color: var(--copper);
}

.prose img {
	border-radius: 12px;
}

.prose blockquote {
	margin: 1.5em 0;
	padding: .8em 1.4em;
	border-inline-start: 4px solid var(--copper);
	background: #f2f5fa;
	font-size: 1.15rem;
	color: var(--lagoon-deep);
	border-radius: 0 10px 10px 0;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
	display: block;
	overflow-x: auto;
}

.prose th,
.prose td {
	padding: .7em .9em;
	border-bottom: 1px solid var(--line);
	text-align: start;
}

.prose th {
	background: #edf2f9;
	color: var(--lagoon-deep);
}

.prose figure {
	margin: 1.5em 0;
}

.prose figcaption {
	font-size: .88rem;
	color: var(--muted);
	text-align: center;
}

.prose .wp-block-details {
	border-bottom: 1px solid var(--dune);
	padding: .8rem 0;
}

.prose .wp-block-details summary {
	font: 700 1.1rem/1.5 var(--f-display);
	color: var(--lagoon-deep);
	cursor: pointer;
}

.prose .wp-block-button__link {
	border-radius: 8px;
	background: var(--lagoon);
}

.prose > *:first-child {
	margin-top: 0;
}

.entry--builder {
	max-width: none;
}

.entry--builder img {
	border-radius: 0;
}

.fn-builder .sec--tight {
	padding-block: 1rem 2rem;
}

.alignwide {
	max-width: 1100px;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

/* ============================================================
   ARTICLE
   ============================================================ */

.ahead {
	background: linear-gradient(180deg, #fff, #edf2f9 70%, #fff 70%);
	padding-top: clamp(1.5rem, 4vw, 3rem);
}

.ahead__title {
	font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem);
	max-width: 20em;
	line-height: 1.2;
}

.ahead__meta {
	display: flex;
	gap: 1.2rem;
	color: var(--muted);
	font-size: .92rem;
}

.ahead__img {
	margin: 1.5rem auto 0;
}

.ahead__img img {
	width: 100%;
	aspect-ratio: 16 / 8;
	object-fit: cover;
	border-radius: 16px;
}

.article__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(2rem, 5vw, 5rem);
	padding-block: clamp(2rem, 5vw, 4rem);
}

.article__body {
	font-size: 1.09rem;
}

.article__side {
	position: relative;
}

.sidecard .btn {
	width: 100%;
}

.sidecard {
	position: sticky;
	top: 100px;
	padding: 1.5rem;
	border-radius: 14px;
	background: #edf2f9;
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: .7rem;
	align-items: flex-start;
}

.sidecard__t {
	font: 700 1.25rem/1.4 var(--f-display);
	color: var(--lagoon-deep);
	margin: 0;
}

.sidecard p {
	margin: 0;
	font-size: .95rem;
	color: var(--muted);
}

.widget {
	margin-top: 1.5rem;
	font-size: .95rem;
}

.widget-title {
	font-size: 1.1rem;
}

/* ============================================================
   ARCHIVE / SEARCH / 404
   ============================================================ */

.posts__grid--archive {
	row-gap: 2.5rem;
}

.nav-links {
	display: flex;
	gap: .4rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 3rem;
}

.page-numbers {
	min-width: 46px;
	height: 46px;
	padding: 0 .9rem;
	display: grid;
	place-items: center;
	border-radius: 9px;
	border: 1px solid var(--line);
	text-decoration: none;
	background: #fff;
}

.page-numbers.current {
	background: var(--lagoon);
	color: #fff;
	border-color: var(--lagoon);
}

.sform {
	display: flex;
	gap: .5rem;
	max-width: 520px;
}

.sform input {
	flex: 1;
}

.empty {
	text-align: center;
	display: grid;
	justify-items: center;
	gap: 1rem;
	padding: 2rem 0;
}

.lost {
	position: relative;
	background: linear-gradient(180deg, #fff, #edf2f9);
	padding: clamp(3rem, 8vw, 7rem) 0 clamp(6rem, 10vw, 9rem);
	text-align: center;
	overflow: hidden;
}

.lost__in {
	display: grid;
	justify-items: center;
	gap: 1rem;
	position: relative;
	z-index: 2;
}

.lost__num {
	font: 800 clamp(6rem, 20vw, 13rem)/1 var(--f-display);
	margin: 0;
	background: linear-gradient(180deg, var(--copper), var(--copper-soft));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.lost__title {
	font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem);
}

.lost .places__list {
	justify-content: center;
	margin-top: 1rem;
}

/* ============================================================
   FORMS
   ============================================================ */

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="search"],
select,
textarea {
	width: 100%;
	min-height: 50px;
	padding: .65rem .95rem;
	font: 400 1rem/1.5 var(--f-text);
	color: var(--ink);
	background: #fff;
	border: 1px solid #d6deea;
	border-radius: 8px;
	transition: border-color .2s, box-shadow .2s;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--lagoon);
	box-shadow: 0 0 0 3px rgba(23,70,162,.12);
}

.quote {
	background:
		radial-gradient(circle at 90% 10%, rgba(40,120,208,.18), transparent 35%),
		var(--lagoon-deep);
	color: rgba(255,255,255,.85);
	padding-block: clamp(3.5rem, 7vw, 6rem);
	scroll-margin-top: 80px;
}

.quote__grid {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.quote__title {
	color: #fff;
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
}

.quote__direct {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.quote__direct a {
	color: var(--copper-soft);
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-weight: 700;
	text-decoration: none;
	font-size: 1.2rem;
}

.qform {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	background: #fff;
	color: var(--ink);
	padding: clamp(1.25rem, 3vw, 2.2rem);
	border-radius: 14px;
	box-shadow: var(--shadow-lg);
}

.qf {
	display: grid;
	gap: .3rem;
	font-weight: 700;
	font-size: .93rem;
	color: var(--lagoon-deep);
}

.qf--wide,
.qform__btns,
.qform__msg {
	grid-column: 1 / -1;
}

.qform__btns {
	display: flex;
	gap: .7rem;
	flex-wrap: wrap;
	margin-top: .3rem;
}

.qform__msg {
	margin: 0;
	padding: .8rem 1rem;
	border-radius: 8px;
	background: #fbe9e3;
	color: #8a3a22;
}

.qform__msg--ok {
	background: #e3f1e6;
	color: #24613a;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-foot {
	background: #0b1730;
	color: rgba(255,255,255,.75);
	padding-top: clamp(3rem, 6vw, 5rem);
	font-size: .97rem;
}

.site-foot a {
	color: rgba(255,255,255,.85);
	text-decoration: none;
}

.site-foot a:hover {
	color: var(--copper-soft);
}

.site-foot__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr .8fr;
	gap: 2rem;
}

.site-foot__brand {
	font: 800 1.8rem/1.2 var(--f-display);
	color: #fff;
	margin-bottom: .6rem;
}

.site-foot__h {
	font: 700 1.1rem/1.4 var(--f-display);
	color: var(--copper-soft);
	margin-bottom: .8rem;
}

.flinks,
.contact-list,
.social {
	list-style: none;
	margin: 0;
	padding: 0;
}

.flinks li {
	margin-bottom: .45rem;
}

.contact-list {
	display: grid;
	gap: .5rem;
	margin: 1rem 0;
}

.contact-list a {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}

.social {
	display: flex;
	gap: .5rem;
}

.social a {
	width: 42px;
	height: 42px;
	border-radius: 9px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255,255,255,.2);
	transition: background-color .2s, border-color .2s;
}

.social a:hover {
	background: var(--lagoon);
	border-color: var(--lagoon);
	color: #fff;
}

.site-foot__bar {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: .5rem 2rem;
	margin-top: 3rem;
	padding-block: 1.3rem;
	border-top: 1px solid rgba(255,255,255,.12);
	font-size: .88rem;
}

.site-foot__bar p {
	margin: 0;
}

/* ============================================================
   IMAGE COMPATIBILITY
   ============================================================ */

.svc__img img.has-strip,
.gallery__item img.has-strip,
.hero__arch img.has-strip,
.story__media img.has-strip,
.pcard__img img.has-strip,
.phero__img img.has-strip {
	height: 140% !important;
	object-position: 50% 0;
}

.ahead__img {
	overflow: hidden;
	border-radius: 16px;
	aspect-ratio: 16 / 8;
	padding: 0;
}

.ahead__img img.has-strip {
	height: 140%;
	object-position: 50% 0;
}

.ahead__img img {
	height: 100%;
	aspect-ratio: auto;
	border-radius: 0;
}

.wp-block-gallery.is-cropped .wp-block-image img {
	object-position: 50% 0;
}

.wp-block-gallery .wp-block-image {
	border-radius: 12px;
	overflow: hidden;
}

/* ============================================================
   MOBILE CONTACT BAR
   ============================================================ */

.mbar {
	display: none;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */

@media (max-width: 1080px) {
	.head-tel span {
		display: none;
	}

	.svc {
		grid-template-columns: repeat(3, 1fr);
	}

	.svc__card--lead {
		grid-column: span 2;
	}

	.steps__list {
		grid-template-columns: repeat(3, 1fr);
		row-gap: 2rem;
	}

	.steps__list li:nth-child(4) {
		border: 0;
		padding-inline-start: 0;
	}

	.site-foot__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* ============================================================
   RESPONSIVE — MOBILE NAVIGATION
   ============================================================ */

@media (max-width: 900px) {
	.burger {
		display: block;
	}

	.head-tel {
		display: none;
	}

	.nav {
		position: fixed;
		inset: var(--head-b, 82px) 0 0;
		z-index: 70;
		background: #fff;
		padding: 1.5rem var(--gut) 6rem;
		overflow-y: auto;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .45s var(--ease), visibility .45s;
	}

	[dir="rtl"] .nav {
		transform: translateX(-100%);
	}

	.nav.is-open {
		transform: none;
		visibility: visible;
	}

	.nav__list {
		flex-direction: column;
		gap: 0;
	}

	.nav__list a {
		font: 700 1.35rem/1.5 var(--f-display);
		padding: .85rem 0;
		border-radius: 0;
		border-bottom: 1px solid var(--line);
	}

	.nav__list a:hover {
		background: none;
	}

	.nav__list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		background: none;
		padding: 0 1rem;
	}

	.nav__list .sub-menu a {
		font-size: 1.05rem;
	}

	.nav__extra {
		display: flex;
		gap: .6rem;
		flex-wrap: wrap;
		margin-top: 1.5rem;
	}

	.hero__in,
	.story__in,
	.faq__grid,
	.climate__grid,
	.quote__grid,
	.phero--img .phero__inner,
	.article__grid {
		grid-template-columns: 1fr;
	}

	.hero__media {
		justify-self: center;
		max-width: 400px;
		width: 78%;
		margin-top: .5rem;
	}

	.hero__arch {
		aspect-ratio: 1 / 1.05;
	}

	.hero__sun {
		width: 34%;
		inset-inline-end: -6%;
	}

	.faq__grid > .sec__title {
		position: static;
	}

	.phero__img {
		aspect-ratio: 16 / 10;
		order: -1;
	}

	.posts__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.trust__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.trust__list li:nth-child(3) {
		border: 0;
	}

	.sidecard {
		position: static;
	}

	.mbar {
		display: grid;
		grid-template-columns: 1fr 1.2fr 1fr;
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		z-index: 60;
		background: #fff;
		border-top: 1px solid var(--line);
		box-shadow: 0 -10px 30px rgba(16,29,56,.1);
		padding-bottom: env(safe-area-inset-bottom);
	}

	.mbar a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: .15rem;
		min-height: 62px;
		font-size: .82rem;
		font-weight: 700;
		color: var(--lagoon-deep);
		text-decoration: none;
	}

	.mbar a .ico {
		width: 22px;
		height: 22px;
	}

	.mbar__wa {
		background: var(--wa);
		color: #fff !important;
	}

	body {
		padding-bottom: calc(62px + env(safe-area-inset-bottom));
	}

	#anas-social-float,
	.anas-social-float,
	.fst-float-wa {
		display: none !important;
	}

	.site-head .btn--sm {
		display: none;
	}
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE
   ============================================================ */

@media (max-width: 600px) {
	body {
		font-size: 1.02rem;
	}

	.svc {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: minmax(170px, auto);
	}

	.svc__card {
		min-height: 170px;
	}

	.svc__card--lead {
		border-radius: 14px;
		min-height: 320px;
	}

	.svc__card:nth-child(4) {
		grid-row: auto;
	}

	.svc__card:last-child:nth-child(even) {
		grid-column: span 2;
	}

	.trust__list strong {
		font-size: 1.08rem;
	}

	.trust__list li {
		padding: .8rem 1rem;
	}

	.svc__name {
		font-size: 1.02rem;
	}

	.svc__ex {
		display: none;
	}

	.steps__list {
		grid-template-columns: 1fr;
	}

	.steps__list li {
		border: 0;
		border-top: 1px solid rgba(255,255,255,.18);
		padding: 1.2rem 0 0;
		display: grid;
		grid-template-columns: 3.4rem 1fr;
		column-gap: 1rem;
	}

	.steps__list li:first-child {
		border: 0;
	}

	.steps__list li::before {
		grid-row: span 2;
		font-size: 2.6rem;
		margin: 0;
	}

	.posts__grid {
		grid-template-columns: 1fr;
	}

	.qform {
		grid-template-columns: 1fr;
		border-radius: 14px;
	}

	.qform__btns .btn {
		flex: 1 1 100%;
	}

	.site-foot__grid {
		grid-template-columns: 1fr;
	}

	.hero__cta .btn {
		flex: 1 1 100%;
	}

	.story__media {
		padding-inline-end: 8%;
	}

	.brand__name span {
		font-size: 1.15rem;
	}

	.brand__mark {
		width: 44px;
		height: 44px;
	}

	.ahead__img {
		aspect-ratio: 4 / 3;
		border-radius: 14px;
	}

	.sec__title::after {
		width: 42px;
	}
}

/* ============================================================
   PAGE TRANSITIONS & MOTION SAFETY
   ============================================================ */

@view-transition {
	navigation: auto;
}

::view-transition-old(root) {
	animation: .25s ease both vt-out;
}

::view-transition-new(root) {
	animation: .35s ease both vt-in;
}

@keyframes vt-out {
	to { opacity: 0; }
}

@keyframes vt-in {
	from { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}

	.js .reveal,
	.js .hero__kicker,
	.js .hero__title,
	.js .hero__sub,
	.js .hero__cta,
	.js .hero__cities {
		opacity: 1;
		transform: none;
	}

	.js .hero__arch {
		clip-path: none;
	}

	.leaf,
	.br {
		display: none;
	}

	@view-transition {
		navigation: none;
	}
}

/* ============================================================
   PRINT
   ============================================================ */

@media print {
	.site-head,
	.mbar,
	.quote,
	.ctaband,
	.wave,
	.hero__breeze,
	.fn-floating-contact {
		display: none !important;
	}
}

/* ============================================================
   WEB MEDIA — DYNAMIC CUSTOMIZER INTEGRATION
   ربط التصميم بإعدادات لوحة التحكم
   ============================================================ */

/* 1. ربط متغيرات التصميم القديمة بإعدادات لوحة التحكم */

:root {
	--lagoon: var(--fn-primary, #1746a2);
	--lagoon-deep: var(--fn-dark, #101d38);
	--sea: var(--fn-secondary, #2878d0);

	--copper: var(--fn-accent, #c18b3c);
	--copper-soft: var(--fn-accent, #e2bd78);

	--ink: var(--fn-text, #18243a);
	--muted: var(--fn-muted, #647188);

	--ivory: var(--fn-background, #f7f9fc);
	--sand: var(--fn-surface, #edf1f7);

	--f-display: var(--fn-font, "IBM Plex Sans Arabic", sans-serif);
	--f-text: var(--fn-font, "IBM Plex Sans Arabic", sans-serif);

	--wrap: var(--fn-content-width, 1240px);
	--sec: var(--fn-section-spacing, clamp(3.5rem, 7vw, 7rem));

	--r-m: var(--fn-image-radius, 18px);
}

/* 2. الخطوط والعناوين */

body {
	font-family: var(--f-text);
	color: var(--ink);
	background-color: var(--ivory);
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero__title,
.phero__title,
.ctaband__title {
	font-family: var(--f-display);
}

.sec__title {
	text-align: var(--fn-heading-align, right);
}

/* 3. عرض الموقع والمسافات */

.wrap {
	max-width: var(--wrap);
}

.sec {
	padding-block: var(--sec);
}

/* 4. إعدادات الصور */

.hero__arch {
	border-radius: var(--fn-hero-radius, 24px);
}

.hero__arch img,
.hero__arch video {
	border-radius: inherit;
}

.story__big,
.story__small,
.gallery__item,
.ba__box,
.phero__img,
.ahead__img,
.pcard__link,
.svc__card {
	border-radius: var(--fn-image-radius, 18px);
}

.svc__img,
.story__media,
.gallery__item,
.phero__img {
	overflow: hidden;
}

/* أشكال الصور */

body.fn-images-circle .svc__img,
body.fn-images-circle .story__big,
body.fn-images-circle .story__small,
body.fn-images-circle .gallery__item img,
body.fn-images-circle .phero__img {
	border-radius: 50%;
}

body.fn-images-square .svc__card,
body.fn-images-square .story__big,
body.fn-images-square .story__small,
body.fn-images-square .gallery__item,
body.fn-images-square .phero__img {
	border-radius: 0;
}

/* إلغاء ظلال الصور عند تعطيلها */

.svc__card,
.gallery__item,
.story__big,
.story__small,
.hero__arch,
.phero__img {
	transition:
		transform var(--fn-motion-duration, .55s) var(--ease),
		box-shadow var(--fn-motion-duration, .55s) ease;
}

/* 5. أنماط البطاقات */

body.fn-cards-flat .svc__card,
body.fn-cards-flat .pcard__link,
body.fn-cards-flat .review,
body.fn-cards-flat .gallery__item {
	box-shadow: none;
	border: 1px solid var(--line);
}

body.fn-cards-border .svc__card,
body.fn-cards-border .pcard__link,
body.fn-cards-border .review {
	box-shadow: none;
	border: 1px solid var(--lagoon);
}

body.fn-cards-shadow .svc__card,
body.fn-cards-shadow .pcard__link,
body.fn-cards-shadow .review {
	box-shadow: var(--shadow-lg);
	border-color: transparent;
}

body.fn-cards-soft .svc__card,
body.fn-cards-soft .pcard__link,
body.fn-cards-soft .review {
	box-shadow: var(--shadow-sm);
}

/* 6. عناوين الأقسام */

body .sec__title {
	font-weight: var(--fn-heading-weight, 700);
}

body .sec__title::after {
	background: var(--copper);
}

body .sec__title {
	max-width: 100%;
}

body .sec__head {
	align-items: center;
}

/* 7. خلفيات الأقسام */

.sec,
.story,
.gallery,
.cities,
.posts,
.climate,
.places {
	background-color: var(--ivory);
}

.services,
.reviews,
.faq {
	background-color: var(--sand);
}

.steps,
.ctaband,
.quote {
	background-color: var(--lagoon-deep);
}

/* 8. الأزرار والألوان */

.btn--lagoon {
	background-color: var(--lagoon);
}

.btn--lagoon:hover {
	background-color: var(--sea);
}

.btn--ghost {
	color: var(--lagoon-deep);
}

a {
	color: var(--lagoon);
}

a:hover {
	color: var(--sea);
}

:focus-visible {
	outline-color: var(--copper);
}

/* 9. تأثيرات الصور */

.svc__img img,
.gallery__item img,
.story__media img,
.phero__img img {
	transition:
		transform var(--fn-motion-duration, .55s) var(--ease),
		filter var(--fn-motion-duration, .55s) ease;
}

body:not(.fn-motion-off) .svc__card:hover img,
body:not(.fn-motion-off) .gallery__item:hover img {
	transform: scale(1.05);
}

/* 10. إيقاف الحركات عند تعطيلها */

body.fn-motion-off *,
body.fn-motion-off *::before,
body.fn-motion-off *::after {
	animation: none !important;
	transition: none !important;
}

body.fn-motion-off .js .reveal,
body.fn-motion-off .js .hero__kicker,
body.fn-motion-off .js .hero__title,
body.fn-motion-off .js .hero__sub,
body.fn-motion-off .js .hero__cta,
body.fn-motion-off .js .hero__cities {
	opacity: 1 !important;
	transform: none !important;
}

body.fn-motion-off .js .hero__arch {
	clip-path: none !important;
}

/* 11. توافق مع شاشات الموبايل */

@media (max-width: 900px) {
	.wrap {
		padding-inline: var(--gut);
	}

	.hero__arch {
		border-radius: var(--fn-hero-radius, 24px);
	}
}

/* 12. احترام إعداد تقليل الحركة في الجهاز */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
	}
}

/* ============================================================
   WEB MEDIA — INDEPENDENT TYPOGRAPHY & COLOR CONTROLS
   ربط أحجام الخطوط والألوان المستقلة بلوحة التحكم
   ============================================================ */

body {
	font-size: var(--fn-font-size-body, 16px);
}

.hero__title {
	font-size: var(--fn-font-size-hero-title, clamp(2.6rem, 1.4rem + 5vw, 5.2rem));
	color: var(--fn-hero-title-color, var(--lagoon-deep));
}

.hero__sub {
	font-size: var(--fn-font-size-hero-sub, clamp(1.05rem, 1rem + .4vw, 1.25rem));
}

.phero__title {
	color: var(--fn-hero-title-color, var(--lagoon-deep));
}

.sec__title {
	font-size: var(--fn-font-size-section-title, clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem));
	color: var(--fn-section-title-color, var(--lagoon-deep));
}

.btn {
	font-size: var(--fn-font-size-button, 16px);
}

.btn--lagoon,
.btn--lagoon:hover,
.hero__cta .btn--lagoon,
.quote .btn--lagoon {
	background-color: var(--fn-button-color, var(--lagoon));
	color: var(--fn-button-text-color, #fff);
}

.btn--lagoon:hover {
	filter: brightness(.92);
}

.site-head .btn,
.hero .btn,
.quote .btn,
.ctaband .btn,
.phero .btn {
	font-size: var(--fn-font-size-button, 16px);
}

/* ============================================================
   WEB MEDIA — FLOATING PHONE & WHATSAPP BUTTONS
   أزرار التواصل العائمة أسفل الهيدر
   ============================================================ */

.fn-floating-contact {
	position: fixed !important;
	top: calc(var(--fn-head-height, 82px) + var(--fn-floating-gap, 14px)) !important;
	z-index: 49 !important;

	width: 54px;
	height: 54px;
	min-width: 54px;
	min-height: 54px;

	display: flex !important;
	align-items: center;
	justify-content: center;

	padding: 0;
	margin: 0;

	border: 0;
	border-radius: 50%;

	color: #fff !important;
	text-decoration: none !important;

	box-shadow: 0 8px 24px rgba(0,0,0,.2);

	transition:
		transform .35s var(--ease),
		box-shadow .3s ease,
		filter .3s ease;

	animation-duration: .8s;
	animation-fill-mode: both;
	animation-timing-function: var(--ease);
}

.fn-floating-contact:hover {
	color: #fff !important;
	transform: scale(1.08);
	box-shadow: 0 12px 30px rgba(0,0,0,.25);
	filter: brightness(1.06);
}

.fn-floating-contact:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 4px;
}

.fn-floating-contact svg,
.fn-floating-contact .ico {
	width: 25px;
	height: 25px;
	max-width: 25px;
	max-height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

/* زر الهاتف — ناحية اليمين في RTL */

.fn-floating-contact--phone {
	inset-inline-end: 18px !important;
	inset-inline-start: auto !important;
	background: #1746a2;
	animation-name: fn-float-from-end;
}

/* زر الواتساب — الناحية المقابلة */

.fn-floating-contact--whatsapp {
	inset-inline-start: 18px !important;
	inset-inline-end: auto !important;
	background: #20a464;
	animation-name: fn-float-from-start;
}

/* حركة دخول الزر من الخارج إلى الداخل */

@keyframes fn-float-from-end {
	from {
		opacity: 0;
		transform: translateX(130px) scale(.75);
	}
	to {
		opacity: 1;
		transform: translateX(0) scale(1);
	}
}

@keyframes fn-float-from-start {
	from {
		opacity: 0;
		transform: translateX(-130px) scale(.75);
	}
	to {
		opacity: 1;
		transform: translateX(0) scale(1);
	}
}

/* توافق الأزرار العائمة مع الهاتف */

@media (max-width: 900px) {
	.fn-floating-contact {
		top: calc(var(--fn-head-height, 82px) + 10px) !important;
		width: 48px;
		height: 48px;
		min-width: 48px;
		min-height: 48px;
	}

	.fn-floating-contact--phone {
		inset-inline-end: 12px !important;
	}

	.fn-floating-contact--whatsapp {
		inset-inline-start: 12px !important;
	}

	.fn-floating-contact svg,
	.fn-floating-contact .ico {
		width: 22px;
		height: 22px;
		max-width: 22px;
		max-height: 22px;
	}
}

@media (max-width: 380px) {
	.fn-floating-contact {
		width: 44px;
		height: 44px;
		min-width: 44px;
		min-height: 44px;
	}

	.fn-floating-contact--phone {
		inset-inline-end: 9px !important;
	}

	.fn-floating-contact--whatsapp {
		inset-inline-start: 9px !important;
	}
}

/* ============================================================
   WEB MEDIA — RESPONSIVE FINAL FIXES
   ============================================================ */

/* منع تجاوز المحتوى للشاشات الصغيرة */

@media (max-width: 900px) {
	.site-head__in {
		min-height: 72px;
	}

	.hero__title {
		font-size: var(--fn-font-size-hero-title, clamp(2.2rem, 7vw, 3.5rem));
	}

	.sec__title {
		font-size: var(--fn-font-size-section-title, clamp(1.7rem, 5vw, 2.5rem));
	}

	.fn-floating-contact {
		-webkit-tap-highlight-color: transparent;
	}
}

/* حماية المحتوى من التمرير الأفقي */

html,
body {
	max-width: 100%;
	overflow-x: clip;
}

@supports not (overflow: clip) {
	html,
	body {
		overflow-x: hidden;
	}
}

/* ============================================================
   END OF WEB MEDIA STYLE SYSTEM
   ============================================================ */
