/* Fonts: IBM Plex Sans Arabic, self-hosted (SIL OFL 1.1) — no third-party font requests. */
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-400-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-500-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-600-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-700-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Premium Home Services — main stylesheet (Arabic / RTL first)
   Uses CSS logical properties so layout mirrors correctly.
   ========================================================================== */

:root {
	--navy: #0f2b3d;
	--navy-800: #143a52;
	--navy-900: #0a1f2d;
	--gold: #c8a56b;
	--gold-deep: #a8823f;
	--gold-soft: #ece0c8;
	--cream: #faf7f1;
	--cream-2: #f2ecdf;
	--paper: #fffdf9;
	--ink: #1b2b36;
	--gray: #5b6770;
	--line: #e6dfd0;
	--wa: #12803f;
	--wa-dark: #0e6b34;

	--font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
	--radius: 22px;
	--radius-sm: 14px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--header-h: 76px;
	--shadow-sm: 0 2px 10px rgba(15, 43, 61, 0.06);
	--shadow: 0 18px 40px -18px rgba(15, 43, 61, 0.28);
	--shadow-lg: 0 30px 60px -24px rgba(15, 43, 61, 0.38);
	--ease: cubic-bezier(0.22, 0.8, 0.28, 1);
	--gap: clamp(1rem, 2vw, 1.6rem);
	--safe-l: env(safe-area-inset-left, 0px);
	--safe-r: env(safe-area-inset-right, 0px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.85;
	color: var(--ink);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.35; color: var(--navy); font-weight: 700; letter-spacing: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - max(var(--gutter), var(--safe-l)) - max(var(--gutter), var(--safe-r))); margin-inline: auto; }
.container.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 200; background: var(--navy); color: #fff; padding: 0.6rem 1rem; border-radius: 10px; transition: top 0.2s; }
.skip-link:focus { top: 0.75rem; }

/* Icons ------------------------------------------------------------------ */
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 38px; height: 38px; }
.flag { width: 100%; height: 100%; border-radius: 8px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
	min-height: 52px; padding: 0.7rem 1.6rem;
	border: 2px solid transparent; border-radius: 999px;
	font-weight: 600; font-size: 1rem; line-height: 1.2; cursor: pointer;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
	-webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 1.3em; height: 1.3em; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 24px -12px rgba(18, 128, 63, 0.7); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(18, 128, 63, 0.75); }
.btn-wa:active { transform: translateY(0); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-800); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: rgba(15, 43, 61, 0.25); }
.btn-outline:hover { border-color: var(--navy); background: #fff; transform: translateY(-2px); }
.btn-outline .icon { transition: transform 0.25s var(--ease); }
.btn-outline:hover .icon { transform: translateX(-4px); }
.btn-sm { min-height: 46px; padding: 0.5rem 1.2rem; font-size: 0.95rem; }
.btn-lg { min-height: 58px; padding: 0.8rem 2rem; font-size: 1.05rem; }
.btn-xl { min-height: 64px; padding: 0.9rem 2.4rem; font-size: 1.15rem; }

/* Header ----------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100; height: var(--header-h);
	transition: height 0.3s;
}
/* Background, blur and shadow live on a pseudo-element: a backdrop-filter on the header itself would turn it
   into the containing block of the position:fixed mobile drawer (it would shrink to header height and overflow). */
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: rgba(250, 247, 241, 0); border-bottom: 1px solid transparent;
	transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { height: 66px; }
.site-header.is-scrolled::before {
	background: rgba(250, 247, 241, 0.88);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom-color: var(--line);
	box-shadow: 0 8px 24px -16px rgba(15, 43, 61, 0.3);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--navy); font-weight: 700; font-size: 1.15rem; min-height: 44px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--navy); color: var(--gold); }
.brand-mark .icon { width: 22px; height: 22px; }
.brand-logo { max-height: 46px; max-width: 100%; width: auto; }
.brand-light { color: #fff; }
.brand-light .brand-mark { background: rgba(255, 255, 255, 0.1); }

.primary-nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-list { display: flex; align-items: center; gap: 0.2rem; }
.nav-link { position: relative; display: block; padding: 0.55rem 0.85rem; border-radius: 999px; font-weight: 500; font-size: 0.97rem; color: var(--ink); transition: color 0.2s, background-color 0.2s; }
.nav-link:hover { color: var(--navy); background: rgba(200, 165, 107, 0.16); }
.nav-link.is-active { color: var(--navy); font-weight: 600; background: rgba(200, 165, 107, 0.24); }
.nav-cta { min-height: 46px; padding: 0.4rem 1.25rem; font-size: 0.95rem; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.8); cursor: pointer; place-items: center; padding: 0; }
.nav-toggle-bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle-bars i { display: block; height: 2px; border-radius: 2px; background: var(--navy); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(10, 31, 45, 0.45); }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)) 0 clamp(3.5rem, 7vw, 6rem); overflow: clip; }
.hero-bg {
	position: absolute; inset: 0; z-index: 0;
	background:
		radial-gradient(60% 55% at 12% 20%, rgba(200, 165, 107, 0.22), transparent 70%),
		radial-gradient(50% 50% at 95% 85%, rgba(15, 43, 61, 0.1), transparent 70%),
		linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: 0.5; background-image: radial-gradient(rgba(15, 43, 61, 0.09) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%, transparent 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }

.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.35rem 1rem; border-radius: 999px; background: rgba(200, 165, 107, 0.2); color: #7a5a22; font-weight: 600; font-size: 0.92rem; line-height: 1.6; margin-bottom: 1.3rem; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 { overflow-wrap: anywhere; font-size: clamp(1.85rem, 1.2rem + 3.2vw, 3.5rem); line-height: 1.32; margin-bottom: 1.2rem; text-wrap: balance; }
.hero-desc { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem); color: var(--gray); max-width: 36em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem; }
.trust-list li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--navy); font-weight: 500; font-size: 0.97rem; }
.trust-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--navy); color: var(--gold); stroke-width: 2.6; }

.hero-visual { position: relative; width: min(100%, 460px); margin-inline: auto; }
.hero-frame { position: relative; padding: 14px; }
.arch-ring { position: absolute; inset: 0; border: 2px solid var(--gold); border-radius: 999px 999px 34px 34px; transform: translate(-16px, 16px); opacity: 0.8; }
.arch-frame { position: relative; z-index: 1; aspect-ratio: 520 / 640; border-radius: 999px 999px 28px 28px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; z-index: 2; max-width: 100%; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.55rem 1rem 0.55rem 0.8rem; background: #fff; border-radius: 999px; box-shadow: var(--shadow); font-weight: 600; font-size: 0.9rem; color: var(--navy); line-height: 1.4; animation: float 6s ease-in-out infinite; }
.chip-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--gold); flex: none; }
.chip-ico .icon { width: 17px; height: 17px; stroke-width: 2.4; }
.chip-ico-wa { background: var(--wa); color: #fff; }
.chip-ico-wa .icon { fill: currentColor; stroke: none; width: 19px; height: 19px; }
.chip-1 { inset-block-start: 12%; inset-inline-start: -8%; }
.chip-2 { inset-block-end: 12%; inset-inline-end: -6%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Sections --------------------------------------------------------------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-head { max-width: 640px; margin: 0 auto clamp(2.2rem, 4vw, 3.6rem); text-align: center; }
.sec-mark { display: block; width: 54px; height: 4px; margin: 0 auto 1.1rem; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.section-head h2, .why-intro h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); margin-bottom: 0.8rem; text-wrap: balance; }
.section-head p { color: var(--gray); font-size: 1.1rem; }

/* Cards (shared) --------------------------------------------------------- */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

/* Services */
.section-services { background: var(--paper); }
/* Services: CSS Grid, equal-height rows. 3 columns by default, 4 for four options, 3+2 centred for five. */
.cards-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.cards-services.cards-n1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.cards-services.cards-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-services.cards-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-services.cards-n5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cards-services.cards-n5 .card { grid-column: span 2; }
.cards-services.cards-n5 .card:nth-child(4) { grid-column: 2 / span 2; }
.cards-services.cards-n5 .card:nth-child(5) { grid-column: 4 / span 2; }
.cards-services .card { display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.art { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-800) 100%); color: var(--gold); }
.art::before, .art::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(200, 165, 107, 0.35); }
.art::before { width: 240px; height: 240px; inset-block-start: -90px; inset-inline-end: -60px; }
.art::after { width: 160px; height: 160px; inset-block-end: -70px; inset-inline-start: -40px; border-color: rgba(255, 255, 255, 0.14); }
.art-1 { background: linear-gradient(135deg, #1a4a45 0%, #0f3a3a 100%); }
.art-2 { background: linear-gradient(135deg, #b8955a 0%, #8f6f3b 100%); color: #fff7e6; }
.art-3 { background: linear-gradient(135deg, #2a4f66 0%, #153448 100%); }
.art-4 { background: linear-gradient(135deg, #4a3b2c 0%, #2c2219 100%); }
.card-media.has-photo::before, .card-media.has-photo::after { display: none; }
.art-icon { position: absolute; inset: 0; display: grid; place-items: center; }
.art-icon .icon { width: 84px; height: 84px; stroke-width: 1.1; opacity: 0.85; transition: transform 0.5s var(--ease); }
.card:hover .art-icon .icon { transform: scale(1.12) rotate(-4deg); }
.card-badge { position: absolute; z-index: 2; inset-block-end: -26px; inset-inline-start: 1.5rem; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: var(--paper); color: var(--navy); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.card-badge .icon { width: 26px; height: 26px; color: var(--gold-deep); }
.card-body { padding: 2.2rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; gap: 0.6rem; }
.card-body h3 { font-size: 1.3rem; overflow-wrap: anywhere; }
.card-body p { color: var(--gray); font-size: 1rem; line-height: 1.8; flex: 1; margin-bottom: 0.8rem; }
.card-body .btn { align-self: flex-start; }

/* Nationalities */
.section-nat { background: var(--cream-2); }
.section-nat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 40% at 50% 0%, rgba(200, 165, 107, 0.18), transparent 70%); pointer-events: none; }
.section-nat .container { position: relative; }
.cards-nat .card { flex: 0 1 calc((100% - 3 * var(--gap)) / 4); min-width: 0; text-align: center; }
.nat-media { position: relative; display: grid; place-items: center; padding: 2rem 1rem 1.2rem; background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.flag-wrap { width: 96px; aspect-ratio: 3 / 2; border-radius: 10px; box-shadow: 0 10px 22px -8px rgba(15, 43, 61, 0.4), 0 0 0 4px #fff, 0 0 0 5px var(--line); transition: transform 0.4s var(--ease); }
.nat-card:hover .flag-wrap { transform: scale(1.08) rotate(-2deg); }
.nat-card.has-photo .nat-media { padding: 0; aspect-ratio: 4 / 3; }
.nat-card.has-photo .nat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nat-card.has-photo .flag-wrap { position: absolute; inset-block-end: 0.7rem; inset-inline-start: 0.7rem; width: 54px; box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.4), 0 0 0 3px #fff; }
.nat-card { display: flex; flex-direction: column; }
.nat-body { flex: 1; padding: 0.4rem 1.2rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.nat-body .btn { margin-top: auto; }
.nat-body h3 { font-size: 1.35rem; overflow-wrap: anywhere; }
.nat-body .btn { white-space: nowrap; }
.nat-sub { color: var(--gray); font-size: 0.9rem; line-height: 1.5; margin-top: -0.5rem; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.nat-card:hover .btn-wa { background: var(--wa-dark); }
.nat-card:focus-within { box-shadow: 0 0 0 3px var(--gold); }
.avail-note { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin: 2.2rem auto 0; max-width: 700px; padding: 0.9rem 1.3rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.7); border: 1px dashed var(--gold); color: var(--navy); font-size: 0.98rem; line-height: 1.7; }
.avail-note .icon { color: var(--gold-deep); width: 22px; height: 22px; }

/* Why choose us */
.section-why { background: var(--navy); color: #e8edf0; overflow: clip; }
.why-deco { position: absolute; inset: 0; pointer-events: none; background:
	radial-gradient(45% 60% at 0% 100%, rgba(200, 165, 107, 0.16), transparent 70%),
	radial-gradient(40% 50% at 100% 0%, rgba(255, 255, 255, 0.06), transparent 70%); }
.why-deco::before, .why-deco::after { content: ""; position: absolute; border: 1.5px solid rgba(200, 165, 107, 0.2); border-radius: 999px 999px 0 0; border-bottom: 0; }
.why-deco::before { width: 420px; height: 520px; inset-block-end: 0; inset-inline-start: -120px; }
.why-deco::after { width: 280px; height: 360px; inset-block-end: 0; inset-inline-start: -50px; border-color: rgba(200, 165, 107, 0.14); }
.why-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.why-intro .sec-mark { margin-inline: 0; }
.why-intro h2 { color: #fff; }
.why-intro p { color: #b9c6ce; font-size: 1.1rem; margin-bottom: 1.8rem; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 2.5rem); }
.why-item { display: flex; min-width: 0; gap: 1.1rem; padding: 1.6rem 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.why-ico { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 50%; border: 1.5px solid rgba(200, 165, 107, 0.6); color: var(--gold); transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease); }
.why-ico .icon { width: 25px; height: 25px; }
.why-item:hover .why-ico { background: var(--gold); color: var(--navy); transform: rotate(-8deg); }
.why-item h3 { color: #fff; font-size: 1.12rem; margin-bottom: 0.3rem; }
.why-item p { color: #aebcc5; font-size: 0.98rem; line-height: 1.75; }

/* Steps / timeline */
.section-steps { background: var(--cream); }
.timeline { display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); counter-reset: s; }
.step { position: relative; text-align: center; padding-top: 0; }
.step::before { content: ""; position: absolute; inset-block-start: 31px; inset-inline-start: 50%; width: calc(100% + clamp(1rem, 2vw, 1.5rem)); height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); z-index: 0; }
.step:last-child::before { display: none; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1.4rem; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 700; font-size: 1.5rem; line-height: 1; box-shadow: 0 0 0 7px var(--cream), 0 14px 24px -10px rgba(15, 43, 61, 0.5); transition: transform 0.4s var(--ease), background-color 0.3s; }
.step:hover .step-num { transform: scale(1.1); background: var(--gold-deep); color: #fff; }
.step-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.3rem 1.5rem; height: calc(100% - 88px); transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease); }
.step:hover .step-body { box-shadow: var(--shadow); transform: translateY(-4px); }
.step-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 0.8rem; border-radius: 14px; background: var(--cream-2); color: var(--gold-deep); }
.step-ico .icon { width: 23px; height: 23px; }
.step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step p { color: var(--gray); font-size: 0.97rem; line-height: 1.75; }

/* FAQ */
.section-faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-head { text-align: start; margin: 0; max-width: none; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-head .sec-mark { margin-inline: 0; }
.faq-head p { margin-bottom: 1.6rem; }
.faq-list { display: grid; gap: 0.8rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item.is-open { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; overflow-wrap: anywhere; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; background: none; border: 0; text-align: start; cursor: pointer; font-weight: 600; font-size: 1.05rem; line-height: 1.6; color: var(--navy); min-height: 60px; }
.faq-q .icon { width: 22px; height: 22px; padding: 2px; border-radius: 50%; background: var(--cream-2); color: var(--gold-deep); transition: transform 0.35s var(--ease), background-color 0.3s; }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); background: var(--navy); color: var(--gold); }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.4s var(--ease), visibility 0s linear 0.4s; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.4s var(--ease), visibility 0s; }
.faq-a-inner { overflow: hidden; padding-inline: 1.4rem; color: var(--gray); overflow-wrap: anywhere; }
.faq-a-inner p { padding-bottom: 1.2rem; }
html:not(.js) .faq-a { grid-template-rows: 1fr; visibility: visible; }

/* Final CTA */
.section-cta { padding-block: clamp(3rem, 6vw, 5rem); background: var(--paper); }
.cta-box { position: relative; overflow: hidden; text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.2rem, 5vw, 3rem); border-radius: 32px; color: #fff; background: radial-gradient(70% 90% at 50% 0%, #1d4a66 0%, var(--navy) 60%, var(--navy-900) 100%); box-shadow: var(--shadow-lg); }
.cta-deco { position: absolute; inset: 0; pointer-events: none; }
.cta-deco::before, .cta-deco::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(200, 165, 107, 0.28); }
.cta-deco::before { width: 420px; height: 420px; inset-block-start: -200px; inset-inline-end: -120px; }
.cta-deco::after { width: 300px; height: 300px; inset-block-end: -150px; inset-inline-start: -80px; border-color: rgba(255, 255, 255, 0.12); }
.cta-box > * { position: relative; }
.cta-ico { display: inline-grid; place-items: center; width: 74px; height: 74px; margin-bottom: 1.3rem; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 0 0 10px rgba(18, 128, 63, 0.25); }
.cta-ico .icon { fill: currentColor; stroke: none; }
.cta-box h2 { color: #fff; font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.8rem); max-width: 18em; margin: 0 auto 0.9rem; text-wrap: balance; }
.cta-box > p { color: #c4d0d7; font-size: 1.12rem; max-width: 34em; margin: 0 auto 2rem; }
.cta-box .cta-hint { margin: 1.2rem auto 0; font-size: 0.92rem; color: #9fb0ba; }
.cta-box .btn-wa { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), 0 16px 30px -12px rgba(0, 0, 0, 0.5); animation: ring 2.8s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45), 0 16px 30px -12px rgba(0, 0, 0, 0.5); } 70%, 100% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0), 0 16px 30px -12px rgba(0, 0, 0, 0.5); } }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #aebcc5; font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2.8rem, 5vw, 4rem) 2.4rem; }
.footer-brand p { margin-top: 1rem; max-width: 30em; line-height: 1.85; }
.footer-title { font-size: 1.05rem; color: #fff; margin-bottom: 1rem; font-weight: 600; }
.footer-col li { margin-bottom: 0.1rem; }
.footer-col li > a:not(.footer-wa) { display: inline-flex; align-items: center; min-height: 44px; }
.footer-col a:hover { color: var(--gold); }
.contact-list li { display: flex; align-items: flex-start; gap: 0.7rem; line-height: 1.6; margin-bottom: 0.55rem; }
.contact-list .icon { color: var(--gold); margin-top: 0.2em; }
.footer-wa { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 46px; padding: 0.55rem 1.1rem; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 600; }
.footer-wa:hover { background: var(--wa-dark); color: #fff !important; }
.footer-wa .icon { fill: currentColor; stroke: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.3rem; font-size: 0.9rem; }
.footer-bottom .sep { margin-inline: 0.4rem; }

/* Floating WhatsApp ------------------------------------------------------ */
.wa-float {
	position: fixed; z-index: 80;
	inset-inline-end: max(1rem, var(--safe-l), var(--safe-r)); inset-block-end: max(1rem, env(safe-area-inset-bottom, 0px));
	display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
	background: var(--wa); color: #fff; box-shadow: 0 14px 28px -8px rgba(15, 43, 61, 0.55);
	transition: transform 0.3s var(--ease), background-color 0.2s, opacity 0.25s;
	animation: pulse 2.6s ease-out infinite;
}
.wa-float .icon { fill: currentColor; stroke: none; }
.wa-float:hover { transform: scale(1.08); background: var(--wa-dark); }
/* JS adds .is-over while the button sits on top of text or a control: it fades, and becomes click-through over controls. */
.wa-float.is-over { opacity: 0.3; animation: none; }
.wa-float.is-over-control { pointer-events: none; }
.nav-open .wa-float { opacity: 0; pointer-events: none; }
/* Tooltip opens toward the page (away from the screen edge the button is docked to). */
.wa-float-tip {
	position: absolute; inset-inline-end: calc(100% + 14px); top: 50%; transform: translateY(-50%) translateX(6px);
	padding: 0.5rem 1rem; border-radius: 12px; background: var(--navy); color: #fff; font-size: 0.9rem; font-weight: 500; line-height: 1.4; white-space: nowrap;
	opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s var(--ease);
}
.wa-float-tip::before { content: ""; position: absolute; inset-inline-start: 100%; top: 50%; margin-top: -6px; border: 6px solid transparent; border-inline-start-color: var(--navy); }
.wa-float:hover .wa-float-tip, .wa-float:focus-visible .wa-float-tip { opacity: 1; transform: translateY(-50%); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18, 128, 63, 0.5), 0 14px 28px -8px rgba(15, 43, 61, 0.55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(18, 128, 63, 0), 0 14px 28px -8px rgba(15, 43, 61, 0.55); } }

/* Fallback pages --------------------------------------------------------- */
.fallback { padding-top: calc(var(--header-h) + 2rem); min-height: 60vh; }
.fallback h1 { font-size: 2rem; margin-bottom: 0.8rem; }
.fallback-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }

/* Reveal animations (only when JS is available) -------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card[data-reveal].is-in { transition: opacity 0.8s var(--ease) var(--d, 0ms), transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s; }

/* Responsive ------------------------------------------------------------- */
/* All breakpoints live here, in descending order:
   1080  small laptop / tablet landscape  → 2-column cards, single-column "why" list
   960   tablet                          → header becomes a drawer, sections stack, vertical timeline
   720   phone / tablet portrait edge    → 1-column services, 2-column nationalities, static hero chips
   380   very small phones (320–380)     → tighter type and controls                                    */

@media (max-width: 1080px) {
	.cards-services,
	.cards-services.cards-n4,
	.cards-services.cards-n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cards-services.cards-n5 .card:nth-child(n) { grid-column: auto; }
	.cards-services .card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - var(--gap) / 2); justify-self: center; }
	.card-media { aspect-ratio: 2 / 1; }
	.why-list { grid-template-columns: 1fr; }
	.chip-1 { inset-inline-start: -2%; }
	.chip-2 { inset-inline-end: -2%; }
}

@media (max-width: 960px) {
	:root { --header-h: 68px; }
	.nav-toggle { display: grid; }
	.primary-nav {
		position: fixed; z-index: 99; inset-block: 0; inset-inline-end: 0; width: min(86vw, 360px);
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1.4rem;
		padding: 5.5rem 1.4rem max(2rem, calc(1rem + env(safe-area-inset-bottom))); background: var(--cream); box-shadow: -20px 0 50px -20px rgba(10, 31, 45, 0.5);
		transform: translateX(105%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0s linear 0.4s; overflow-y: auto; overscroll-behavior: contain;
	}
	[dir="rtl"] .primary-nav { transform: translateX(-105%); box-shadow: 20px 0 50px -20px rgba(10, 31, 45, 0.5); }
	.nav-open .primary-nav { transform: none; visibility: visible; transition: transform 0.4s var(--ease), visibility 0s; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0.2rem; }
	.nav-link { padding: 0.9rem 1rem; font-size: 1.1rem; border-radius: 14px; }
	.nav-cta { min-height: 56px; font-size: 1.05rem; }
	.nav-open { overflow: hidden; }
	.nav-toggle { position: relative; z-index: 120; }

	.hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
	.hero-copy { display: flex; flex-direction: column; align-items: center; }
	.hero-desc { margin-inline: auto; }
	.hero-actions, .trust-list { justify-content: center; }
	.hero-visual { width: min(100%, 380px); }

	.why-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
	.why-intro, .faq-head { position: static; }
	.why-intro, .faq-head { text-align: center; }
	.why-intro .sec-mark, .faq-head .sec-mark { margin-inline: auto; }
	.why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }

	/* Timeline becomes vertical: number column + card, dashed line runs down between the numbers. */
	.timeline { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; max-width: 560px; margin-inline: auto; }
	.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.1rem; text-align: start; align-items: start; }
	.step::before { inset-block-start: 64px; inset-block-end: -1.2rem; inset-inline-start: 31px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--gold) 0 8px, transparent 8px 16px); }
	.step-num { margin: 0; }
	.step-body { height: auto; }
}

@media (max-width: 720px) {
	body { font-size: 1rem; }
	.brand-logo { max-height: 38px; }

	/* Hero: image block first-class in the flow; the two chips stop floating over it and sit under it. */
	.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
	.hero-frame { width: 100%; }
	.chip { position: static; inset: auto; font-size: 0.85rem; padding: 0.45rem 0.9rem 0.45rem 0.7rem; animation: none; }
	.chip-ico { width: 30px; height: 30px; }

	.cards-services,
	.cards-services.cards-n4,
	.cards-services.cards-n5 { grid-template-columns: minmax(0, 1fr); }
	.cards-services .card:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
	.card-media { aspect-ratio: 16 / 9; }

	.cards-nat { gap: 0.8rem; }
	.cards-nat .card { flex-basis: calc((100% - 0.8rem) / 2); }
	.flag-wrap { width: 78px; }
	.nat-media { padding: 1.5rem 0.6rem 1rem; }
	.nat-body { padding: 0.2rem 0.5rem 1.2rem; }
	.nat-body h3 { font-size: 1.15rem; }
	.nat-body .btn { padding-inline: 0.8rem; font-size: 0.9rem; min-height: 46px; }

	.why-list { grid-template-columns: minmax(0, 1fr); }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
	.footer-bottom-inner { flex-direction: column; }
	.hero-actions .btn { width: 100%; }
	.site-footer { padding-bottom: calc(5.2rem + env(safe-area-inset-bottom)); }
	.wa-float { width: 56px; height: 56px; }
	.wa-float-tip { display: none; }
	.cta-box .btn { width: 100%; padding-inline: 1rem; }
}

@media (min-width: 481px) and (max-width: 720px) {
	/* Large phones / small tablets in one column: keep the art block from growing taller than the card text. */
	.card-media { aspect-ratio: 2.4 / 1; }
}

@media (min-width: 721px) and (max-width: 960px) {
	/* Tablet portrait: four narrow nationality cards per row (4 + 3), compact inner spacing. */
	.nat-body { padding-inline: 0.5rem; }
	.nat-body .btn { padding-inline: 0.8rem; font-size: 0.92rem; white-space: nowrap; }
}

@media (max-width: 380px) {
	.brand-logo { max-height: 34px; }
	.hero h1 { font-size: 1.85rem; }
	.eyebrow { font-size: 0.85rem; }
	.nat-body { padding-inline: 0.35rem; }
	.nat-body .btn { font-size: 0.85rem; gap: 0.35rem; padding-inline: 0.55rem; white-space: nowrap; }
	.nat-body .btn .icon { width: 1.1em; height: 1.1em; }
	.card-body { padding-inline: 1.2rem; }
	.faq-q { padding-inline: 1rem; font-size: 1rem; }
	.faq-a-inner { padding-inline: 1rem; }
	.step { grid-template-columns: 56px minmax(0, 1fr); gap: 0.9rem; }
	.step-num { width: 56px; height: 56px; font-size: 1.3rem; }
	.step::before { inset-block-start: 56px; inset-inline-start: 27px; }
	.cta-box { border-radius: 26px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}
