/* ==========================================================================
   Future House – brand layer
   Loaded after style.css. Keeps the template's green / ecru direction and
   adds design tokens, accessibility fixes and the components built for the
   real company content (hero, social links, FAQ, contact).
   ========================================================================== */

:root {
	/* Brand palette: black & white (client feedback: no green).
	   Every colour in the site flows from these tokens; css/style.css reads them too. */
	--fh-primary: #111111;        /* primary: buttons, bands, headings on light */
	--fh-primary-600: #2b2b2b;    /* hover / lifted charcoal */
	--fh-surface-tint: #ededed;   /* tinted surface (was a pale green) */
	--fh-accent: #cfcfcf;         /* silver accent: lines, eyebrows and highlights on dark */
	--fh-accent-300: #e0e0e0;
	--fh-surface: #f5f5f5;        /* soft off-white background */
	--fh-ink: #171717;            /* headings */
	--fh-text: #4a4a4a;           /* body text, 8.9:1 on white */
	--fh-muted: #5f5f5f;          /* secondary text, 6.3:1 on white */
	--fh-line: #e4e4e4;
	--fh-white: #ffffff;
	--fh-focus: #111111;          /* focus ring on light backgrounds (white on dark, see below) */
	--fh-deep: #0a0a0a;           /* darkest band (footer bottom bar) */

	--fh-font-body: 'Lato', sans-serif;
	--fh-font-head: 'Montserrat', sans-serif;
	--fh-radius: 4px;
}

/* ---------- Accessibility base ---------- */

/* style.css removes every outline; restore a visible, branded focus ring */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--fh-focus) !important;
	outline-offset: 2px !important;
}
/* Focus ring: dark on light surfaces (token above), white on every dark surface */
.fh-footer a:focus-visible,
.fh-footer-bottom a:focus-visible,
.call-to-action a:focus-visible,
.page-title a:focus-visible,
.hero a:focus-visible,
.header-top a:focus-visible,
.welcome-section .inner-content a:focus-visible,
.scroll-to-top:focus-visible {
	outline-color: #ffffff !important;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 12px;
	z-index: 1000001;
	padding: 12px 20px;
	background: var(--fh-primary);
	color: #fff !important;
	font-weight: 700;
	border-radius: 0 0 var(--fh-radius) var(--fh-radius);
}
.skip-link:focus { top: 0; }

.sr-only-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

body { color: var(--fh-text); }
h1, h2, h3, h4, h5, h6 { color: var(--fh-ink); }

@keyframes fadeInDown {
	from { opacity: 0; transform: translate3d(0, -100%, 0); }
	to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* No-JS safety: the template preloader is replaced by nothing */
.preloader { display: none !important; }

/* ---------- Header ---------- */

.main-header .main-box .logo-box { max-width: 230px; padding: 26px 0; }
.main-header .main-box .logo-box .logo img { width: 190px; height: auto; display: block; }
.main-header.fixed-header .main-box .logo-box { padding: 14px 0; }

.main-header .header-top .top-right ul li a { color: inherit; }
.main-header .header-top .top-right ul li a:hover { text-decoration: underline; }

.header-top { background: var(--fh-primary); color: #fff; }
.main-header .header-top .top-right ul li,
.main-header .header-top .top-right ul li span { color: #fff; }
.main-header .header-top .top-right ul li a { color: #fff; }

.main-menu .navigation > li { padding: 30px 0; }
.main-menu .navigation > li > a { color: var(--fh-ink); font-weight: 700; font-size: 13px; padding: 9px 13px; }
.main-menu .navigation > li.current > a,
.main-menu .navigation > li > a:hover,
.main-menu .navigation > li > a:focus-visible { color: #fff; background: var(--fh-primary); }
.main-menu .navigation > li > a.lang-switch {
	border: 2px solid var(--fh-primary);
	margin-inline-start: 8px;
	text-transform: none;
	font-size: 14px;
}
.main-menu .navigation > li > a.lang-switch:hover { background: var(--fh-primary); color: #fff; }

.fh-menu-btn {
	display: none;
	background: transparent;
	border: 2px solid var(--fh-primary);
	border-radius: var(--fh-radius);
	width: 48px; height: 48px;
	color: var(--fh-primary);
	font-size: 22px;
	cursor: pointer;
}

/* Header top: contact + social */
.fh-social { list-style: none; margin: 0; padding: 0; display: inline-flex; flex-wrap: wrap; gap: 8px; vertical-align: middle; }
.fh-social li { display: block; margin: 0; padding: 0; }
.fh-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .55);
	color: #fff; transition: background .25s, color .25s, border-color .25s;
}
.fh-social a:hover { background: var(--fh-accent); border-color: var(--fh-accent); color: var(--fh-primary); }
.fh-social svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.fh-social .fh-at { font: 700 17px/1 var(--fh-font-body); }
.fh-social.on-light a { border-color: var(--fh-primary); color: var(--fh-primary); }
.fh-social.on-light a:hover { background: var(--fh-primary); border-color: var(--fh-primary); color: #fff; }
.fh-social.large a { width: 44px; height: 44px; }
.fh-social.large svg { width: 20px; height: 20px; }

.main-header .header-top .top-right { display: flex; align-items: center; gap: 24px; float: none !important; justify-content: flex-end; padding: 6px 0; }
.main-header .header-top .top-right ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.main-header .header-top .top-right ul li { float: none; margin: 0; padding: 0; line-height: 36px; font-size: 14px; }
.main-header .header-top .top-right ul li .fa { margin-inline-end: 6px; }
.main-header .header-top .social-icon { display: none; }

/* ---------- Hero (replaces the Revolution Slider) ---------- */

.hero {
	position: relative;
	min-height: 620px;
	display: flex;
	align-items: center;
	color: #fff;
	background: var(--fh-primary) center / cover no-repeat;
	isolation: isolate;
}
.hero::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(17, 17, 17, .88) 0%, rgba(17, 17, 17, .62) 55%, rgba(17, 17, 17, .35) 100%);
}
.hero .auto-container { width: 100%; }
.hero .eyebrow {
	display: inline-block; color: var(--fh-accent); font-family: var(--fh-font-head);
	font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 14px; margin-bottom: 14px;
}
.hero h1 {
	color: #fff; font-size: 54px; font-weight: 700; line-height: 1.25em;
	text-transform: uppercase; max-width: 780px; margin-bottom: 18px;
}
.hero .lead-text { font-size: 20px; line-height: 1.7em; max-width: 640px; color: #fff; margin-bottom: 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-style-two,
.btn-outline-light {
	display: inline-block; padding: 10px 30px; line-height: 24px; text-transform: uppercase;
	border: 2px solid #fff; color: #fff !important; background: transparent; font-size: 14px;
	border-radius: 3px; font-family: var(--fh-font-head);
}
.hero .btn-style-two:hover, .btn-outline-light:hover { background: #fff; color: var(--fh-primary) !important; }
.hero .btn-style-one { background: var(--fh-accent); border-color: var(--fh-accent); color: var(--fh-primary) !important; font-weight: 700; }
.hero .btn-style-one:hover { background: #fff; border-color: #fff; color: var(--fh-primary) !important; }

/* Solid ecru button: dark green text (7.5:1) – used on dark photo bands */
.btn-ecru { background: var(--fh-accent); border: 2px solid var(--fh-accent); color: var(--fh-primary) !important; font-weight: 700; padding: 10px 30px; line-height: 24px; text-transform: uppercase; font-size: 14px; border-radius: 3px; font-family: var(--fh-font-head); }
.btn-ecru:hover { background: #fff; border-color: #fff; color: var(--fh-primary) !important; }
html[dir="rtl"] .btn-ecru { text-transform: none; }
.theme-btn { min-height: 44px; }

/* ---------- Sections ---------- */

.fh-section { padding: 90px 0; }
.fh-section.tint { background: var(--fh-surface); }
.fh-section-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.fh-section-head .sub-title { color: var(--fh-primary); font-family: var(--fh-font-head); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }
.fh-section-head h2 { font-size: 34px; text-transform: uppercase; font-weight: 700; color: var(--fh-ink); line-height: 1.35em; }
.fh-section-head h2::after { content: ""; display: block; width: 60px; height: 3px; background: var(--fh-accent); margin: 16px auto 0; }
.fh-section-head p { margin-top: 18px; font-size: 17px; }

.welcome-section .welcome-column .inner-content h2,
.welcome-section .welcome-column .inner-content h3 { color: #fff; }
.welcome-section .welcome-column .inner-content .text { color: #f1f1f1; }
.welcome-section .welcome-column .inner-content .theme-btn { background: var(--fh-accent); border-color: var(--fh-accent); color: var(--fh-primary) !important; font-weight: 700; }
.welcome-section .welcome-column .inner-content .text { font-size: 16px; }

.service-block-one .inner-box .category a { color: var(--fh-primary); }

/* Service cards */
.service-block-two .inner-box .text { color: var(--fh-text); }
.service-block-two .inner-box:hover .text,
.service-block-two .inner-box:hover h3 { color: #fff; }
.service-block-two .inner-box:hover .icon-box { background: var(--fh-accent); color: var(--fh-primary); }
.service-block-two .inner-box { min-height: 270px; }
.service-block-two { margin-bottom: 30px; }

/* Area / channel cards */
.fh-card {
	background: #fff; border: 1px solid var(--fh-line); border-radius: var(--fh-radius);
	padding: 32px 28px; height: 100%; margin-bottom: 30px; transition: box-shadow .3s, transform .3s;
}
.fh-card:hover { box-shadow: 0 12px 30px rgba(17, 17, 17, .12); transform: translateY(-3px); }
.fh-card h3 { font-size: 20px; font-weight: 700; color: var(--fh-primary); margin-bottom: 10px; }
.fh-card .icon { width: 56px; height: 56px; border-radius: 50%; background: var(--fh-primary); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.fh-card .icon svg { width: 26px; height: 26px; fill: currentColor; }
.fh-card .icon .fa { font-size: 24px; }
.fh-card a.more { font-weight: 700; color: var(--fh-primary); text-decoration: underline; text-underline-offset: 3px; }
.fh-row-equal { display: flex; flex-wrap: wrap; }
.fh-row-equal > [class*="col-"] { display: flex; }
.fh-row-equal > [class*="col-"] > .fh-card { width: 100%; }

.fh-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.fh-steps li { position: relative; padding: 0 0 26px 70px; }
.fh-steps li::before {
	counter-increment: step; content: counter(step);
	position: absolute; inset-inline-start: 0; top: 0; width: 48px; height: 48px; border-radius: 50%;
	background: var(--fh-primary); color: #fff; font: 700 20px/48px var(--fh-font-head); text-align: center;
}
.fh-steps h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; color: var(--fh-primary); }

.call-to-action .text { color: #fff; }
.call-to-action h2 { color: #fff; }
.call-to-action .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 10px; }

.page-title { background-color: var(--fh-primary); }
.page-title h1 { color: #fff; }
.page-info { background: var(--fh-surface); }
.page-info .bread-crumb li, .page-info .bread-crumb li a { color: var(--fh-ink); }
.page-info .bread-crumb li a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ (native <details>) ---------- */

.fh-faq { max-width: 900px; margin: 0 auto; }
.fh-faq details { border: 1px solid var(--fh-line); border-radius: var(--fh-radius); margin-bottom: 14px; background: #fff; }
.fh-faq summary {
	list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
	font: 700 17px/1.5 var(--fh-font-head); color: var(--fh-ink); min-height: 44px;
}
.fh-faq summary::-webkit-details-marker { display: none; }
.fh-faq summary::after {
	content: "+"; position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%);
	width: 28px; height: 28px; line-height: 26px; text-align: center; border-radius: 50%;
	background: var(--fh-primary); color: #fff; font-size: 20px;
}
.fh-faq details[open] summary { color: var(--fh-primary); }
.fh-faq details[open] summary::after { content: "\2212"; }
.fh-faq .answer { padding: 0 22px 20px; font-size: 16px; }
.fh-faq .answer a { color: var(--fh-primary); text-decoration: underline; }

/* ---------- Contact ---------- */

.fh-contact-list { list-style: none; padding: 0; margin: 0; }
.fh-contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--fh-line); }
.fh-contact-list .ico { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--fh-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.fh-contact-list h3 { font-size: 16px; font-weight: 700; margin: 0 0 2px; color: var(--fh-ink); }
.fh-contact-list a { color: var(--fh-primary); text-decoration: underline; text-underline-offset: 3px; }

.fh-form .field { margin-bottom: 20px; }
.fh-form label { display: block; font-weight: 700; color: var(--fh-ink); margin-bottom: 6px; }
.fh-form .req { color: #a30000; }
.fh-form input, .fh-form select, .fh-form textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #8a8a8a; border-radius: var(--fh-radius);
	background: #fff; color: var(--fh-ink); font-size: 16px;
}
.fh-form textarea { min-height: 150px; resize: vertical; }
.fh-form [aria-invalid="true"] { border-color: #a30000; border-width: 2px; }
.fh-form .error { color: #a30000; font-size: 14px; margin-top: 4px; min-height: 0; }
.fh-form .hint { font-size: 14px; color: var(--fh-muted); margin-top: 12px; }
.fh-form .form-status { margin-top: 16px; padding: 12px 16px; border-radius: var(--fh-radius); background: var(--fh-surface-tint); color: var(--fh-primary); display: none; }
.fh-form .form-status.show { display: block; }

/* ---------- Footer ---------- */


.scroll-to-top { width: 48px; height: 48px; line-height: 48px; }

/* ---------- Responsive ---------- */

@media only screen and (max-width: 1023px) {
	.fh-menu-btn { display: block; position: absolute; right: 0; top: 50%; margin-top: -24px; }
	.main-header .main-box .outer-container { padding-right: 60px; min-height: 84px; }
	.main-header .main-box .logo-box { padding: 18px 0; width: auto; }
	.main-header .nav-toggler { display: none !important; }

	.main-header.fh-menu-open .nav-outer,
	.main-header.fh-menu-open .nav-outer .main-menu {
		display: block;
	}
	.main-header .nav-outer {
		position: absolute; left: 0; right: 0; top: 100%; z-index: 998;
		background: #fff; border-top: 3px solid var(--fh-primary); box-shadow: 0 14px 28px rgba(0, 0, 0, .15);
		float: none; width: 100%;
	}
	.main-menu .navigation { float: none; width: 100%; }
	.main-menu .navigation > li { display: block; padding: 0; margin: 0; border-bottom: 1px solid var(--fh-line); float: none; }
	.main-menu .navigation > li > a { padding: 14px 20px; font-size: 15px; border-radius: 0; min-height: 48px; }
	.main-menu .navigation > li > a.lang-switch { margin: 10px 20px; display: inline-block; }
	.main-header .main-box { position: relative; }
	.main-header .header-top .top-right ul li.hide-sm { display: none; }
	.hero { min-height: 520px; }
	.hero h1 { font-size: 40px; }
}

@media only screen and (max-width: 767px) {
	.main-header .header-top .top-right { justify-content: center; gap: 12px; flex-wrap: wrap; }
	.main-header .header-top .top-right ul { gap: 14px; justify-content: center; }
	.hero { min-height: 480px; }
	.hero h1 { font-size: 30px; }
	.hero .lead-text { font-size: 17px; }
	.fh-section { padding: 60px 0; }
	.fh-section-head h2 { font-size: 26px; }
	.main-header .main-box .logo-box .logo img { width: 160px; }
	.hero .actions .theme-btn { width: 100%; text-align: center; }
}

/* ---------- Sticky header (replaces the template's fixed-header jump) ---------- */
.main-header { position: sticky; top: 0; z-index: 999; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.main-header .header-top { height: auto; }
.main-header.fixed-header .main-box { position: relative; }
@media only screen and (min-width: 768px) { .main-header { top: -48px; } .main-header .header-top { height: 48px; } }
@media only screen and (max-width: 767px) { .main-header .header-top { display: none; } }
.main-header { margin: 0 !important; }

.main-header .header-top .top-right ul li span { position: static; padding: 0; }
.main-header .header-top .top-right ul li .fa { padding: 0; }

/* Breadcrumb: direction-neutral flex layout (works for LTR and RTL) */
.page-info .bread-crumb { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; float: none; }
.page-info .bread-crumb li { float: none; display: block; margin: 0; padding: 0; }
.page-info .bread-crumb li:after { display: none; content: none; }
.page-info .bread-crumb li + li::before { content: "/"; margin: 0 10px; color: var(--fh-muted); }
.fh-social.on-light { margin-bottom: 32px; }

/* ---------- Illustrative (placeholder) imagery ---------- */
.illustrative-tag {
	position: absolute; bottom: 14px; inset-inline-end: 16px; z-index: 2;
	padding: 4px 12px; font-size: 12px; line-height: 1.6; color: #fff;
	background: rgba(17, 17, 17, .78); border: 1px solid rgba(255, 255, 255, .35); border-radius: 20px;
}
.fh-figure { position: relative; margin: 0 0 24px; border-radius: var(--fh-radius); overflow: hidden; }
.fh-figure img { display: block; width: 100%; height: auto; }
.fh-figure figcaption {
	position: absolute; bottom: 10px; inset-inline-end: 10px; padding: 3px 10px; font-size: 12px; color: #fff;
	background: rgba(17, 17, 17, .78); border-radius: 20px;
}
.fh-card blockquote { font-size: 17px; line-height: 1.8; margin: 0 0 14px; padding: 0; border: 0; color: var(--fh-ink); }
.main-menu .navigation > li > a.lang-switch[lang="ar"] { font-family: 'Cairo', 'Tahoma', sans-serif; font-size: 16px; }
.fh-section-head.start { text-align: start; margin: 0 0 20px; max-width: none; }
.fh-section-head.start h2::after { margin: 16px 0 0; }
.hero { padding: 48px 0 64px; }
.fh-form .form-status a { color: var(--fh-primary); text-decoration: underline; font-weight: 700; }

/* Call-to-action band: lighter, single overlay so the photo reads; scroll (not fixed) attachment avoids mobile jank */
.call-to-action { background-attachment: scroll; }
.call-to-action:before { display: none; }

/* ==========================================================================
   Footer – three-column grid, bottom bar
   Logical properties throughout, so the same rules serve LTR and RTL.
   ========================================================================== */

.fh-footer { background: var(--fh-primary); color: rgba(255, 255, 255, .82); position: relative; font-size: 15.5px; }
.fh-footer a { color: #fff; }
.fh-footer-main { padding: 84px 0 68px; }

.fh-footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.2fr);
	gap: 64px;
	align-items: start;
}

/* Shared animated underline for footer links (text only, grows from the inline start) */
.fh-ul {
	background: linear-gradient(currentColor, currentColor) left 100% / 0 1px no-repeat;
	transition: background-size .35s var(--fh-ease, ease), color .25s ease;
	padding-bottom: 2px;
}
html[dir="rtl"] .fh-ul { background-position: right 100%; }
a:hover > .fh-ul, a:focus-visible > .fh-ul, a.fh-ul:hover, a.fh-ul:focus-visible { background-size: 100% 1px; }
.fh-footer a:hover > .fh-ul, .fh-footer a.fh-ul:hover { color: var(--fh-accent); }

/* Column 1 – company */
.fh-footer-logo { display: inline-block; margin-bottom: 24px; }
.fh-footer-logo img { display: block; width: 200px; height: auto; }
.fh-footer-about { max-width: 46ch; margin: 0 0 30px; line-height: 1.85; color: rgba(255, 255, 255, .84); }

.fh-footer-contact { list-style: none; margin: 0; padding: 0; max-width: 480px; }
.fh-footer-contact li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 13px 0; margin: 0; }
.fh-footer-contact li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
.fh-footer-contact .ico {
	width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: rgba(207, 207, 207, .14); color: var(--fh-accent); font-size: 17px; line-height: 1;
}
.fh-footer-contact .lbl { display: block; font-size: 12px; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase; color: var(--fh-accent); margin-bottom: 1px; }
.fh-footer-contact a { overflow-wrap: anywhere; line-height: 1.6; }

/* Headings */
.fh-footer-title {
	position: relative; margin: 6px 0 26px; padding-bottom: 16px;
	font: 700 15px/1.4 var(--fh-font-head); letter-spacing: .12em; text-transform: uppercase; color: #fff;
}
.fh-footer-title::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 34px; height: 2px; background: var(--fh-accent); }

/* Column 2 – quick links */
.fh-footer-links { list-style: none; margin: 0; padding: 0; }
.fh-footer-links li { margin: 0; }
.fh-footer-links a { display: flex; align-items: center; gap: 0; min-height: 44px; }
.fh-footer-links a::before {
	content: ""; flex: 0 0 auto; width: 0; height: 1px; margin-inline-end: 0; background: var(--fh-accent);
	transition: width .35s var(--fh-ease, ease), margin .35s var(--fh-ease, ease);
}
.fh-footer-links a:hover::before, .fh-footer-links a:focus-visible::before { width: 16px; margin-inline-end: 10px; }

/* Column 3 – social */
.fh-footer-social { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.fh-footer-social li { margin: 0; }
.fh-footer-social a { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.fh-footer-social .ico {
	flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255, 255, 255, .28); color: #fff;
	transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .35s var(--fh-ease, ease);
}
.fh-footer-social .ico svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.fh-footer-social a:hover .ico, .fh-footer-social a:focus-visible .ico { background: var(--fh-accent); border-color: var(--fh-accent); color: var(--fh-primary); transform: translateY(-2px); }

/* Bottom bar */
.fh-footer-bottom { background: var(--fh-deep); border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .72); font-size: 14px; }
.fh-footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px; padding: 22px 0; }
.fh-footer-bottom p { margin: 0; line-height: 1.6; }
.fh-footer-bottom a { text-decoration: none; }
.fh-footer-bottom .copy a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media only screen and (max-width: 1023px) {
	.fh-footer-main { padding: 64px 0 48px; }
	.fh-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
	.fh-footer-company { grid-column: 1 / -1; }
}
@media only screen and (max-width: 575px) {
	.fh-footer-main { padding: 52px 0 36px; }
	.fh-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
	.fh-footer-logo img { width: 180px; }
	.fh-footer-title { margin-bottom: 18px; }
	.fh-footer-bottom-inner { flex-direction: column; align-items: flex-start; padding: 18px 0; }
}
@media only screen and (min-width: 1440px) {
	.fh-footer-main { padding: 96px 0 76px; }
	.fh-footer-grid { gap: 80px; }
}

/* ==========================================================================
   Welcome / introduction block (below the hero)
   Headings (all widths): "Welcome to Future House" is a small eyebrow with an ecru
   accent line; "Your Future House is our mission" is the primary heading.
   <1200px: rounded card + controlled measure. <992px: single centred column with an
   intentional overlap onto the hero. >=1200px keeps the original card geometry.
   ========================================================================== */

.welcome-section .welcome-column .inner-content h2 {
	display: flex; align-items: center; gap: 14px;
	margin: 0 0 18px; padding: 0;
	font: 700 13px/1.4 var(--fh-font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--fh-accent);
}
/* template draws two absolute dark hairlines on this h2; replace with one ecru accent line */
.welcome-section .welcome-column .inner-content h2::before {
	content: ""; position: static; left: auto; bottom: auto; flex: none;
	display: block; width: 34px; height: 2px; background: var(--fh-accent);
}
.welcome-section .welcome-column .inner-content h2::after { display: none; }
.welcome-section .welcome-column .inner-content h3 {
	margin: 0 0 22px; color: #fff;
	font-size: clamp(26px, 3.6vw, 34px); line-height: 1.25; font-weight: 700; letter-spacing: -.005em; text-wrap: balance;
}
html[dir="rtl"] .welcome-section .welcome-column .inner-content h2 { font-size: 15px; text-transform: none; }
html[dir="rtl"] .welcome-section .welcome-column .inner-content h3 { line-height: 1.5; }

@media only screen and (max-width: 1199px) {
	.welcome-section .welcome-column .inner-content {
		border-radius: 16px;
		padding: 52px 44px 56px;
		box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .65);
	}
	.welcome-section .welcome-column .inner-content .text { font-size: 16.5px; line-height: 1.85; max-width: 58ch; margin-bottom: 34px; }
	.welcome-section .welcome-column .inner-content .theme-btn { min-height: 52px; padding: 14px 34px; font-weight: 700; letter-spacing: .02em; }
}
@media only screen and (max-width: 991px) {
	.welcome-section .welcome-column .inner-content,
	html[dir="rtl"] .welcome-section .welcome-column .inner-content {
		width: min(100%, 760px); margin: -56px auto 0; text-align: center;
		padding: 56px clamp(28px, 7vw, 72px) 60px;
	}
	/* centred layout: accent lines on both sides of the eyebrow */
	.welcome-section .welcome-column .inner-content h2 { justify-content: center; }
	.welcome-section .welcome-column .inner-content h2::after {
		content: ""; position: static; left: auto; bottom: auto; flex: none;
		display: block; width: 34px; height: 2px; background: var(--fh-accent);
	}
	.welcome-section .welcome-column .inner-content .text { margin-inline: auto; }
	.welcome-section .service-column,
	html[dir="rtl"] .welcome-section .service-column { padding: 54px 15px 0; }
}
@media only screen and (max-width: 575px) {
	.welcome-section .welcome-column .inner-content,
	html[dir="rtl"] .welcome-section .welcome-column .inner-content { margin-top: -40px; padding: 40px 24px 44px; border-radius: 12px; }
	.welcome-section .welcome-column .inner-content h2 { gap: 10px; font-size: 12px; }
	html[dir="rtl"] .welcome-section .welcome-column .inner-content h2 { font-size: 14px; }
	.welcome-section .welcome-column .inner-content h2::before, .welcome-section .welcome-column .inner-content h2::after { width: 24px; }
	.welcome-section .welcome-column .inner-content .text { font-size: 16px; line-height: 1.8; }
	.welcome-section .welcome-column .inner-content .theme-btn { width: 100%; }
}

/* ==========================================================================
   Social-media image library: poster cards, people cards, articles
   (same hover language as the other cards: lift + soft shadow + image zoom)
   ========================================================================== */

.fh-poster {
	margin: 0 0 30px; width: 100%; display: flex; flex-direction: column; overflow: hidden;
	background: #fff; border: 1px solid var(--fh-line); border-radius: var(--fh-radius);
	transition: transform .45s var(--fh-ease, ease), box-shadow .45s var(--fh-ease, ease), border-color .45s var(--fh-ease, ease);
}
.fh-poster:hover, .fh-poster:focus-within { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(17, 17, 17, .16); border-color: var(--fh-accent); }
.fh-poster-img { display: block; overflow: hidden; background: var(--fh-surface-tint); }
.fh-poster-img img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--fh-ease, ease); }
.fh-poster:hover .fh-poster-img img, .fh-poster:focus-within .fh-poster-img img { transform: scale(1.04); }
.fh-poster figcaption { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fh-poster h3 { margin: 0; font: 700 18px/1.35 var(--fh-font-head); color: var(--fh-primary); }
.fh-poster .meta { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--fh-muted); }
.fh-poster.compact figcaption { padding: 12px 14px 14px; gap: 2px; }
.fh-poster.compact h3 { font-size: 16px; }
.fh-ask {
	margin-top: auto; padding-top: 8px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
	font-weight: 700; color: var(--fh-primary); text-decoration: underline; text-underline-offset: 3px;
}
.fh-ask:hover { color: var(--fh-primary-600); }
.fh-note { margin: 34px auto 0; max-width: 820px; text-align: center; font-size: 14px; line-height: 1.7; color: var(--fh-muted); }
.fh-note.start { text-align: start; margin-inline: 0; }
.fh-subhead { margin: 0 0 8px; text-align: center; font: 700 26px/1.3 var(--fh-font-head); color: var(--fh-primary); }
.fh-subp { margin: 0 auto 36px; max-width: 700px; text-align: center; color: var(--fh-muted); }

.fh-photo { margin: 0 0 24px; }
.fh-photo img { display: block; width: 100%; height: auto; border-radius: var(--fh-radius); }
.fh-photo .fh-poster-img { border-radius: var(--fh-radius); }
.fh-photo figcaption { margin-top: 10px; font-size: 14px; color: var(--fh-muted); }
.fh-photo .fh-poster-img:hover img { transform: scale(1.03); }

.fh-article { max-width: 760px; margin: 0 auto; }
.fh-article h3 { margin: 0 0 14px; font: 700 28px/1.3 var(--fh-font-head); color: var(--fh-primary); }
.fh-article p { font-size: 17px; }
.fh-steps-plain li { min-height: 48px; padding-top: 11px; }
.fh-steps-plain li p { margin: 0; }
.fh-article-outro { margin-top: 18px; padding-inline-start: 18px; border-inline-start: 3px solid var(--fh-accent); color: var(--fh-ink); font-weight: 700; }
.fh-keys { list-style: none; counter-reset: key; margin: 26px 0 8px; padding: 0; }
.fh-keys li { counter-increment: key; position: relative; margin: 0; padding: 0 0 24px; padding-inline-start: 64px; }
.fh-keys li::before {
	content: counter(key); position: absolute; inset-inline-start: 0; top: 0; width: 46px; height: 46px; border-radius: 50%;
	background: var(--fh-primary); color: #fff; font: 700 19px/46px var(--fh-font-head); text-align: center;
}
.fh-keys h4 { margin: 0 0 4px; font: 700 19px/1.4 var(--fh-font-head); color: var(--fh-primary); }
.fh-keys p { margin: 0; font-size: 16.5px; }
.fh-cover { max-width: 460px; margin: 0 auto 30px; }

@media only screen and (max-width: 767px) {
	.fh-subhead { font-size: 22px; }
	.fh-article h3 { font-size: 24px; }
	.fh-poster figcaption { padding: 14px 14px 16px; }
	.fh-poster h3 { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.fh-poster:hover, .fh-poster:focus-within { transform: none !important; }
	.fh-poster:hover .fh-poster-img img, .fh-poster:focus-within .fh-poster-img img, .fh-photo .fh-poster-img:hover img { transform: none !important; }
}

/* ==========================================================================
   Developments: masonry columns. Every image shows in full at its natural
   ratio (no cropping, no fixed heights, no stretching); cards keep their own
   natural height and pack into balanced columns, so there is no dead space.
   ========================================================================== */
.fh-masonry { column-count: 1; column-gap: 30px; }
.fh-masonry-item {
	display: inline-block; width: 100%; margin: 0 0 30px; vertical-align: top;
	break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
}
.fh-masonry .fh-poster { margin: 0; width: 100%; display: block; height: auto; }
.fh-masonry .fh-poster figcaption { display: flex; flex-direction: column; flex: none; }
.fh-masonry .fh-ask { margin-top: 6px; padding-top: 0; }
.fh-poster-img { background: #f1f1f1; }                           /* neutral, only visible while an image loads */
.fh-poster-img img { width: 100%; height: auto; object-fit: contain; }
@media only screen and (min-width: 576px) { .fh-masonry { column-count: 2; } }
@media only screen and (min-width: 992px) { .fh-masonry { column-count: 3; } }

/* ==========================================================================
   Home "Featured developments": uniform cards in one row.
   Equal heights, aligned titles and bottoms; every poster sits in a fixed 4:5 frame
   with object-fit: contain, so no image is ever cropped or stretched.
   >= 1230px: 4 columns | 576-1229px: 2 columns | < 576px: swipeable carousel.
   ========================================================================== */
.fh-dev-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; align-items: stretch; }
.fh-dev-item { display: flex; min-width: 0; }
.fh-dev-item .fh-poster { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; }
.fh-dev-item .fh-poster-img { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; background: #f1f1f1; }
.fh-dev-item .fh-poster-img img { width: 100%; height: 100%; object-fit: contain; }
.fh-dev-item .fh-poster figcaption { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.fh-dev-item .fh-poster .fh-ask { margin-top: auto; padding-top: 10px; }
.fh-dev-cta { margin-top: 52px; text-align: center; }
.fh-dev-cta .theme-btn { min-height: 52px; }
@media only screen and (max-width: 1229px) {
	.fh-dev-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media only screen and (max-width: 575px) {
	.fh-dev-row {
		display: flex; gap: 14px; margin: 0 -15px; padding: 4px 15px 20px; scroll-padding-inline: 15px;
		overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
	}
	.fh-dev-item { flex: 0 0 min(78vw, 300px); scroll-snap-align: start; }
	/* scrolled-into-view reveal is pointless inside a carousel: keep every card visible */
	html.js .fh-dev-row .fh-dev-item[data-reveal] { opacity: 1 !important; translate: none !important; transition: none !important; }
	.fh-dev-item .fh-poster figcaption { padding: 14px 14px 16px; }
	.fh-dev-item .fh-poster h3 { font-size: 17px; }
	.fh-dev-cta { margin-top: 30px; }
	.fh-dev-cta .theme-btn { width: 100%; max-width: 360px; }
}

/* ==========================================================================
   Cookie consent bar (js/consent.js) and the footer legal links
   Black bar fixed to the bottom; Accept and Reject have equal size and prominence.
   ========================================================================== */
.fh-consent[hidden] { display: none !important; }
.fh-consent {
	position: fixed; inset-inline: 0; bottom: 0; z-index: 2000;
	background: var(--fh-primary); color: #fff; border-top: 1px solid rgba(255, 255, 255, .18);
	box-shadow: 0 -12px 34px rgba(0, 0, 0, .28); padding-bottom: env(safe-area-inset-bottom);
}
.fh-consent-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 18px; padding-bottom: 18px; }
.fh-consent-text { margin: 0; font-size: 15px; line-height: 1.7; max-width: 820px; color: rgba(255, 255, 255, .92); }
.fh-consent-text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fh-consent-actions { display: flex; gap: 12px; flex: none; }
.fh-consent-btn {
	min-width: 132px; min-height: 48px; padding: 10px 24px; cursor: pointer; border-radius: 3px;
	font: 700 14px/1.2 var(--fh-font-head); letter-spacing: .02em; text-transform: uppercase;
	background: transparent; color: #fff; border: 2px solid #fff;
	transition: background-color .25s ease, color .25s ease;
}
.fh-consent-btn:hover, .fh-consent-btn:focus-visible { background: #fff; color: var(--fh-primary); }
.fh-consent-accept { background: #fff; color: var(--fh-primary); }
.fh-consent-accept:hover, .fh-consent-accept:focus-visible { background: var(--fh-accent); border-color: var(--fh-accent); }
.fh-consent a:focus-visible, .fh-consent button:focus-visible { outline: 3px solid #fff !important; outline-offset: 3px !important; }
html[dir="rtl"] .fh-consent-btn { text-transform: none; font-size: 15px; }
.fh-consent:not([hidden]) { animation: fh-consent-in .45s var(--fh-ease, ease) both; }
@keyframes fh-consent-in { from { translate: 0 100%; } to { translate: 0 0; } }
@media only screen and (max-width: 767px) {
	.fh-consent-inner { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 16px; padding-bottom: 16px; }
	.fh-consent-text { font-size: 14.5px; line-height: 1.6; }
	.fh-consent-actions { width: 100%; }
	.fh-consent-btn { flex: 1 1 0; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .fh-consent:not([hidden]) { animation: none; } }

.fh-footer-bottom .legal { margin: 0; }
.fh-footer-bottom .legal a, .fh-link-btn { color: rgba(255, 255, 255, .88); }
.fh-link-btn { background: none; border: 0; padding: 0; margin: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fh-footer-bottom .legal a { text-decoration: underline; text-underline-offset: 3px; }
.fh-footer-bottom .legal a:hover, .fh-link-btn:hover { color: #fff; }
.fh-footer-bottom .legal a:focus-visible, .fh-link-btn:focus-visible { outline: 2px solid #fff !important; outline-offset: 3px !important; }

.fh-legal h2 { margin: 36px 0 10px; font: 700 22px/1.35 var(--fh-font-head); color: var(--fh-primary); }
.fh-legal ul { margin: 8px 0 14px; padding-inline-start: 22px; }
.fh-legal li { margin: 0 0 10px; font-size: 17px; line-height: 1.75; }
.fh-legal p { font-size: 17px; line-height: 1.8; }
.fh-legal-meta { color: var(--fh-muted); font-size: 15px !important; margin-bottom: 18px; }
