/*
Theme Name: فردوس النسيم
Theme URI: https://faresmedia.site/
Author: مؤسسة فردوس النسيم
Description: ثيم مخصص خفيف لمؤسسة فردوس النسيم لتنسيق الحدائق: طابع «الواحة والنسيم»، نظام مناطق (منطقة ← مدينة ← حي)، تواصل فوري، وبيانات منظمة. بدون Page Builder.
Version: 1.0.4
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: fardous-naseem
*/

/* ------------------------------------------------------------ tokens */
:root {
	--ivory: #fbf8f1;
	--sand: #f1e8d8;
	--dune: #e2d2b6;
	--lagoon: #17506a;
	--lagoon-deep: #0e3446;
	--sea: #2c7c8c;
	--copper: #a9673c;
	--copper-soft: #d9a77d;
	--palm: #5b7d4e;
	--ink: #1d2b30;
	--muted: #56656a;
	--line: rgba(23, 80, 106, .16);
	--wa: #1f9d55;
	--f-display: "El Messiri", "IBM Plex Sans Arabic", 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: 10px;
	--r-m: 18px;
	--r-l: 32px;
	--ease: cubic-bezier(.22, .7, .2, 1);
}

/* ------------------------------------------------------------ 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; }
a:hover { color: var(--sea); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; 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: 3px; border-radius: 4px; }
.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); 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: .5em;
	min-height: 48px; padding: .55em 1.3em;
	border: 1.5px solid transparent; border-radius: 999px;
	background: var(--bg); color: var(--fg);
	font: 600 1rem/1.2 var(--f-text); text-decoration: none; cursor: pointer;
	transition: transform .25s var(--ease), background-color .25s, box-shadow .25s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(14, 52, 70, .6); }
.btn--lagoon { --bg: var(--lagoon); }
.btn--lagoon:hover { --bg: var(--lagoon-deep); }
.btn--wa { --bg: var(--wa); }
.btn--wa:hover { --bg: #178347; }
.btn--sand { --bg: var(--sand); --fg: var(--lagoon-deep); }
.btn--ghost { --bg: transparent; --fg: var(--lagoon-deep); border-color: var(--line); }
.btn--line { --bg: transparent; --fg: var(--sand); border-color: rgba(241, 232, 216, .5); }
.btn--sm { min-height: 42px; padding: .4em 1.1em; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: .7em 1.6em; font-size: 1.05rem; }
.link { font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; 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; }
/* Blur lives on a pseudo-element so the fixed mobile menu is not trapped inside the header. */
.site-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251, 248, 241, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-head.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -24px rgba(14, 52, 70, .5); }
.site-head__in { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--lagoon-deep); flex: none; }
.brand__mark { width: 52px; height: 52px; border-radius: 50%; 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.15; }
.brand__name span { font: 700 1.35rem/1.15 var(--f-display); }
.brand__name small { font-size: .8rem; color: var(--copper); font-weight: 500; }
.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: .5rem .8rem; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 999px; transition: background-color .2s, color .2s; }
.nav__list a:hover, .nav__list .current-menu-item > a { color: var(--lagoon); background: var(--sand); }
.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: .5rem; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 24px 50px -30px rgba(14, 52, 70, .5); opacity: 0; visibility: hidden; transform: translateY(6px); 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: 600; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; 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; }

/* ------------------------------------------------------------ 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: .7; }
.wave--flip { top: -1px; bottom: auto; transform: scaleY(-1); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; background: radial-gradient(120% 90% at 85% 10%, #fff 0, var(--ivory) 45%, var(--sand) 100%); padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(5rem, 10vw, 9rem); overflow: hidden; isolation: isolate; }
.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: 600; margin-bottom: 1rem; display: flex; align-items: center; gap: .7rem; }
.hero__kicker::before { content: ""; width: 42px; height: 1.5px; background: currentColor; }
.hero__title { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; margin-bottom: .45em; 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: .4rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.hero__cities a { display: block; padding: .3rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; color: var(--lagoon); text-decoration: none; background: rgba(255, 255, 255, .5); transition: background-color .2s; }
.hero__cities a:hover { background: #fff; }
.hero__media { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 560px; }
.hero__arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-l) var(--r-l); overflow: hidden; box-shadow: 0 50px 80px -50px rgba(14, 52, 70, .65); 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: 38%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, var(--copper-soft), var(--copper)); top: -6%; inset-inline-end: -10%; 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: .18; stroke-dasharray: 900 300; animation: breeze 18s linear infinite; }
.br2 { opacity: .12; animation-duration: 24s; animation-direction: reverse; }
.br3 { stroke: var(--copper); opacity: .2; animation-duration: 30s; }
.leaf { position: absolute; width: 22px; fill: var(--palm); opacity: .5; stroke: var(--ivory); 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: .35; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-2%, -1%); } }
@keyframes breeze { to { stroke-dashoffset: -2400; } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-40px, 18px) rotate(28deg); } }

/* Page-load sequence – the one orchestrated moment. */
.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 999px 999px 32px 32px); 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 999px 999px 32px 32px); } }

/* ------------------------------------------------------------ trust */
.trust { background: var(--sand); padding: 1rem 0 2.5rem; position: relative; }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0 auto; gap: 0; }
.trust__list li { padding: 1rem 1.4rem; border-inline-start: 1px solid var(--dune); display: flex; flex-direction: column; }
.trust__list li:first-child { border: 0; }
.trust__list strong { font: 600 1.35rem/1.35 var(--f-display); color: var(--lagoon-deep); }
.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; }

/* ------------------------------------------------------------ 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; }
.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 – magazine grid, lead card double */
.services { background: var(--sand); 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: var(--r-m); color: #fff; text-decoration: none; background: var(--lagoon-deep); min-height: 210px; isolation: isolate; }
.svc__card--lead { grid-column: span 2; grid-row: span 2; border-radius: 220px 220px var(--r-m) var(--r-m); }
.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(217, 167, 125, .55), transparent 45%), linear-gradient(160deg, var(--sea), var(--lagoon-deep)); }
.svc__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 52, 70, .88), rgba(14, 52, 70, .1) 55%, transparent); z-index: 1; transition: opacity .5s; }
.svc__body { position: absolute; inset-inline: 0; bottom: 0; padding: 1.1rem 1.25rem 1.2rem; z-index: 2; display: flex; flex-direction: column; gap: .2rem; }
.svc__name { font: 600 1.2rem/1.35 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: 1.5px; width: 28px; margin-top: .45rem; background: var(--copper-soft); transition: width .5s var(--ease); }
.svc__card:hover .svc__img img, .svc__card:focus-visible .svc__img img { transform: scale(1.06); }
.svc__card:hover .svc__name::after, .svc__card:focus-visible .svc__name::after { width: 70px; }
.svc__card:hover .svc__ex, .svc__card:focus-visible .svc__ex { max-height: 4.5em; opacity: 1; }

/* story */
.story { background: var(--ivory); 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: var(--r-m) 200px var(--r-m) var(--r-m); aspect-ratio: 4 / 5; }
.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: 50%; border: 8px solid var(--ivory); }
.story__text .prose { font-size: 1.1rem; }

/* gallery – horizontal */
.gallery { background: var(--ivory); padding-top: 0; }
.gallery__nav { display: flex; gap: .5rem; }
.gbtn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--lagoon); cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.gbtn:hover { background: var(--sand); }
.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: var(--r-m); background: var(--sand); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.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: 160px var(--r-m) var(--r-m) var(--r-m); }
.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; }
.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: 2px; 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); }

/* steps */
.steps { background: var(--lagoon-deep); color: rgba(241, 232, 216, .85); overflow: hidden; }
.steps .sec__title { color: var(--sand); }
.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(241, 232, 216, .18); }
.steps__list li { counter-increment: s; padding: 1.6rem 1.2rem 0; border-inline-start: 1px solid rgba(241, 232, 216, .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: 600 3.4rem/1 var(--f-display); color: var(--copper-soft); margin-bottom: 1rem; }
.steps__list h3 { color: var(--sand); font-size: 1.3rem; margin-bottom: .4em; }
.steps__list p { font-size: .97rem; margin: 0; }

/* cities */
.cities { background: var(--ivory); }
.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: 600; 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: 600 clamp(1.35rem, 1rem + 1.2vw, 2rem)/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: var(--sand); }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.review { margin: 0; padding: 1.8rem; background: var(--ivory); border-radius: var(--r-m); border-top: 3px solid var(--copper-soft); }
.review p { font-size: 1.08rem; }
.review footer { color: var(--muted); font-weight: 600; }

/* posts */
.posts { background: var(--ivory); }
.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; }
.pcard__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-m); 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: 1rem .2rem 0; }
.pcard time { font-size: .85rem; color: var(--copper); font-weight: 600; }
.pcard h3 { font-size: 1.22rem; margin: .3rem 0 .4rem; transition: color .2s; }
.pcard__link:hover h3 { color: var(--sea); }
.pcard p { color: var(--muted); font-size: .95rem; margin: 0; }

/* faq */
.faq { background: var(--sand); }
.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: 600 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: 1.5px solid var(--copper); border-bottom: 1.5px 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: var(--ivory); }
.climate__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 5vw, 5rem); }
.climate__text { font-size: 1.12rem; }
.places { background: var(--ivory); 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: .55rem 1.1rem; border-radius: 999px; background: var(--sand); color: var(--lagoon-deep); text-decoration: none; font-weight: 500; 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: var(--lagoon); color: rgba(241, 232, 216, .9); padding: clamp(5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem); }
.ctaband .wave--flip path:first-child { fill: var(--lagoon); }
.ctaband__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.ctaband__title { color: var(--sand); 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: linear-gradient(180deg, var(--ivory), var(--sand)); 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: 700; 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: 240px 240px var(--r-m) var(--r-m); overflow: hidden; box-shadow: 0 40px 70px -46px rgba(14, 52, 70, .6); }
.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); }

/* ------------------------------------------------------------ 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: var(--r-m); }
.prose blockquote { margin: 1.5em 0; padding: .4em 1.4em; border-inline-start: 3px solid var(--copper-soft); font-size: 1.15rem; color: var(--lagoon-deep); }
.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: var(--sand); 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: 600 1.1rem/1.5 var(--f-display); color: var(--lagoon-deep); cursor: pointer; }
.prose .wp-block-button__link { border-radius: 999px; 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, var(--ivory), var(--sand) 70%, var(--ivory) 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: var(--r-l) var(--r-l) var(--r-l) 200px; }
.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: var(--r-m); background: var(--sand); display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.sidecard__t { font: 600 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, pagination, 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: 999px; border: 1px solid var(--line); text-decoration: none; }
.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, var(--ivory), var(--sand)); 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: 700 clamp(6rem, 20vw, 13rem)/1 var(--f-display); margin: 0; background: linear-gradient(180deg, var(--copper-soft), var(--sand)); -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: .6rem .9rem;
	font: 400 1rem/1.4 var(--f-text); color: var(--ink);
	background: #fff; border: 1px solid var(--dune); border-radius: var(--r-s);
	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, 80, 106, .18); }
.quote { background: var(--lagoon-deep); color: rgba(241, 232, 216, .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: var(--sand); 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: 600; text-decoration: none; font-size: 1.2rem; }
.qform { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: var(--ivory); color: var(--ink); padding: clamp(1.25rem, 3vw, 2.2rem); border-radius: var(--r-l) 140px var(--r-l) var(--r-l); }
.qf { display: grid; gap: .3rem; font-weight: 600; 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: var(--r-s); background: #fbe9e3; color: #8a3a22; }
.qform__msg--ok { background: #e3f1e6; color: #24613a; }

/* ------------------------------------------------------------ footer */
.site-foot { background: #0b2a39; color: rgba(241, 232, 216, .78); padding-top: clamp(3rem, 6vw, 5rem); font-size: .97rem; }
.site-foot a { color: rgba(241, 232, 216, .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: 700 1.8rem/1.2 var(--f-display); color: var(--sand); margin-bottom: .6rem; }
.site-foot__h { font: 600 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: .35rem; }
.contact-list { display: grid; gap: .4rem; 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: 50%; display: grid; place-items: center; border: 1px solid rgba(241, 232, 216, .25); transition: background-color .2s, border-color .2s; }
.social a:hover { background: var(--copper); border-color: var(--copper); 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(241, 232, 216, .14); font-size: .88rem; }
.site-foot__bar p { margin: 0; }

/* crop the printed contact strip on project photos inside theme frames */
.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: var(--r-l) var(--r-l) var(--r-l) 200px; 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; }

/* content galleries: keep the top of project photos (printed strip sits at the bottom) */
.wp-block-gallery.is-cropped .wp-block-image img { object-position: 50% 0; }
.wp-block-gallery .wp-block-image { border-radius: var(--r-m); overflow: hidden; }

/* mobile contact bar */
.mbar { display: none; }

/* ------------------------------------------------------------ responsive */
@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; }
}
@media (max-width: 900px) {
	.burger { display: block; }
	.head-tel { display: none; }
	.nav { position: fixed; inset: var(--head-b, 76px) 0 0; z-index: 70; background: var(--ivory); 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: 600 1.5rem/1.4 var(--f-display); padding: .8rem 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.1rem; }
	.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; border-radius: 160px 160px var(--r-m) var(--r-m); }
	.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: var(--ivory); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(14, 52, 70, .5); 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: 600; 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; }
}
@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: 160px 160px var(--r-m) var(--r-m); 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(241, 232, 216, .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: var(--r-l) 90px var(--r-l) var(--r-l); }
	.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: var(--r-m) var(--r-m) var(--r-m) 90px; }
}

/* ------------------------------------------------------------ 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; }
}

@media print {
	.site-head, .mbar, .quote, .ctaband, .wave, .hero__breeze { display: none !important; }
}
