/* ==========================================================================
   Home Fix Doha – main stylesheet
   White / deep navy / emerald. Mobile-first. No framework.
   ========================================================================== */

/* ---------- Fonts (self-hosted, Latin subset) ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Bold.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/Lora-Italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--navy-950: #06142B;
	--navy-900: #0B1F3A;
	--navy-800: #12305A;
	--navy-700: #1B3F70;
	--emerald-800: #065F46;
	--emerald-700: #047857;
	--emerald-600: #059669;
	--emerald-500: #10B981;
	--emerald-300: #6EE7B7;
	--emerald-100: #D1FAE5;
	--emerald-50: #ECFDF5;
	--wa: #15803D;
	--wa-hover: #166534;
	--ink: #0B1F3A;
	--text: #33445C;
	--muted: #55667D;
	--line: #E2E8F0;
	--field: #7A8AA0;
	--surface: #FFFFFF;
	--surface-2: #F5F8FB;
	--danger: #B91C1C;

	--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-accent: "Lora", Georgia, "Times New Roman", serif;

	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 28px;
	--shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 2px 8px rgba(11, 31, 58, .05);
	--shadow: 0 14px 34px -16px rgba(11, 31, 58, .22), 0 4px 12px -6px rgba(11, 31, 58, .08);
	--shadow-lg: 0 34px 70px -28px rgba(11, 31, 58, .38), 0 12px 26px -14px rgba(11, 31, 58, .14);

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 68px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 1080px) { :root { --header-h: 76px; } }

@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video, picture { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--emerald-700); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--emerald-800); }
:focus-visible { outline: 3px solid var(--emerald-600); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--navy-900); color: #fff; padding: .75rem 1rem; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.js-only { display: none !important; }
.js .js-only { display: inline-flex !important; }

/* ---------- Buttons ---------- */
.btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	min-height: 48px; padding: .8rem 1.35rem;
	border: 1px solid transparent; border-radius: 999px;
	font: 600 1rem/1.15 var(--font-sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
	cursor: pointer; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { width: 20px; height: 20px; transition: transform .3s var(--ease-out); }
.btn:hover .icon--arrow-right { transform: translateX(3px); }
.btn--primary { background: var(--emerald-700); color: #fff; box-shadow: 0 12px 26px -12px rgba(4, 120, 87, .75), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn--primary:hover { background: var(--emerald-800); color: #fff; box-shadow: 0 18px 34px -14px rgba(4, 120, 87, .8); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px -12px rgba(21, 128, 61, .7); }
.btn--wa:hover { background: var(--wa-hover); color: #fff; }
.btn--glass { background: rgba(255, 255, 255, .7); color: var(--ink); border-color: rgba(11, 31, 58, .14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }
.btn--glass:hover { background: #fff; color: var(--ink); border-color: rgba(11, 31, 58, .24); box-shadow: var(--shadow); }
.btn--glass .icon--wa { color: var(--wa); }
.btn--ghost { background: transparent; color: var(--ink); border-color: #C9D3E0; }
.btn--ghost:hover { background: var(--surface-2); color: var(--ink); border-color: #AFBCCD; }
.btn--lg { min-height: 56px; padding: 1rem 1.65rem; font-size: 1.05rem; }
.btn--sm { min-height: 44px; padding: .55rem 1.05rem; font-size: .92rem; }
.btn--sm .icon { width: 18px; height: 18px; }
.btn--block { display: flex; width: 100%; }
.btn--shine::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .38) 45%, transparent 70%);
	transform: translateX(-120%); transition: transform .9s var(--ease-out);
}
.btn--shine:hover::after { transform: translateX(120%); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--emerald-700); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 90; pointer-events: none; }
.scroll-progress__bar { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--emerald-500), var(--emerald-700) 55%, var(--navy-700)); }
@supports (animation-timeline: scroll()) {
	.scroll-progress__bar { animation: hfd-progress linear both; animation-timeline: scroll(root block); }
	@keyframes hfd-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255, 255, 255, .74);
	-webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
	border-bottom: 1px solid rgba(226, 232, 240, .7);
	transition: box-shadow .3s var(--ease), background-color .3s;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: rgba(255, 255, 255, .97); } }
.site-header.is-scrolled { background: rgba(255, 255, 255, .86); box-shadow: 0 10px 30px -20px rgba(11, 31, 58, .45); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; color: inherit; }
.brand__mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 6px 12px rgba(11, 31, 58, .2)); transition: transform .4s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }
.brand__text { display: grid; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.025em; color: var(--ink); }
.brand__tag { font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--emerald-700); margin-top: .2rem; }
.brand--inverse .brand__name { color: #fff; }
.brand--inverse .brand__tag { color: var(--emerald-300); }
.custom-logo-link { margin-right: auto; display: inline-flex; }
.custom-logo { max-height: 48px; width: auto; }

.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__link, .nav .menu-item a { text-decoration: none; color: var(--text); font-weight: 600; }
.site-header__actions { display: flex; align-items: center; gap: .5rem; }
.site-header__wa span { display: none; }
.site-header__wa { padding-inline: .8rem; }
.site-header__quote { display: none; }
@media (min-width: 480px) { .site-header__quote { display: inline-flex; } }
@media (min-width: 720px) { .site-header__wa span { display: inline; } .site-header__wa { padding-inline: 1.05rem; } }

.menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; color: var(--ink); }
.menu-toggle__bars { position: relative; width: 20px; height: 14px; display: block; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease-out), opacity .2s, top .35s var(--ease-out); }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile navigation panel */
@media (max-width: 1079.98px) {
	.nav {
		position: absolute; top: 100%; left: 0; right: 0;
		height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
		overflow-y: auto; overscroll-behavior: contain;
		padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
		background: #fff;
		opacity: 0; visibility: hidden; transform: translateY(-10px);
		transition: opacity .3s var(--ease), transform .35s var(--ease-out), visibility 0s linear .35s;
	}
	.no-js .site-header__inner { flex-wrap: wrap; height: auto; min-height: var(--header-h); padding-block: .5rem; }
	.no-js .menu-toggle { display: none; }
	.no-js .nav { position: static; order: 3; width: 100%; height: auto; padding: 0; opacity: 1; visibility: visible; transform: none; background: none; overflow-x: auto; }
	.no-js .nav__list { display: flex; gap: .25rem; }
	.no-js .nav__list li { border: 0; }
	.no-js .nav__link { min-height: 44px; font-size: 1rem; padding: 0 .6rem; }
	.no-js .nav__cta-mobile { display: none; }
	.nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease-out), visibility 0s; }
	.nav__list { display: grid; }
	.nav__list li { border-bottom: 1px solid var(--line); }
	.nav__link, .nav .menu-item a { display: flex; align-items: center; min-height: 56px; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
	.nav__link.is-active { color: var(--emerald-700); }
	.nav__cta-mobile { display: grid; gap: .75rem; margin-top: 1.5rem; }
	.nav__contact { display: grid; gap: .5rem; margin: .75rem 0 0; }
	.nav__contact a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 600; }
	.nav__contact .icon { color: var(--emerald-700); width: 20px; height: 20px; }
}
@media (min-width: 1080px) {
	.menu-toggle, .nav__cta-mobile { display: none; }
	.nav { display: block; }
	.nav__list { display: flex; align-items: center; gap: .15rem; }
	.nav__link, .nav .menu-item a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .8rem; border-radius: 999px; font-size: .95rem; transition: color .2s, background-color .2s; }
	.nav__link:hover, .nav .menu-item a:hover { color: var(--ink); background: rgba(11, 31, 58, .05); }
	.nav__link.is-active { color: var(--emerald-700); }
	.nav__link::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--emerald-600); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease-out); }
	.nav__link.is-active::after { transform: translateX(-50%) scale(1); }
}
body.menu-open { overflow: hidden; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; overflow-x: clip; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem; font-size: .78rem; font-weight: 700; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald-700); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-500); box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }
.eyebrow--light, .section-head--light .eyebrow { color: var(--emerald-300); }
.section-title { font-size: clamp(2rem, 3.9vw, 3.15rem); line-height: 1.08; letter-spacing: -.032em; margin: 0 0 1rem; }
.section-title em, .hero__title em { font-family: var(--font-accent); font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--emerald-700); }
.section-head--light .section-title { color: #fff; }
.section-head--light .section-title em { color: var(--emerald-300); }
.section-intro { font-size: 1.1rem; color: var(--muted); margin: 0; }
.section-head--light .section-intro { color: #B6C2D2; }
.lead { font-size: 1.18rem; color: var(--ink); font-weight: 500; line-height: 1.55; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(2.25rem, 6vw, 5rem); background: linear-gradient(180deg, #F4F8FC 0%, #FFFFFF 78%); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(64px); will-change: transform; animation: hfd-blob 20s var(--ease) infinite alternate; }
.hero__blob--1 { width: 560px; height: 560px; top: -180px; right: -140px; background: radial-gradient(circle, rgba(52, 211, 153, .55), rgba(16, 185, 129, 0) 70%); }
.hero__blob--2 { width: 520px; height: 520px; bottom: -120px; left: -200px; background: radial-gradient(circle, rgba(27, 63, 112, .28), rgba(27, 63, 112, 0) 70%); animation-duration: 26s; animation-delay: -6s; }
.hero__blob--3 { width: 320px; height: 320px; top: 28%; left: 42%; background: radial-gradient(circle, rgba(167, 243, 208, .6), rgba(167, 243, 208, 0) 70%); animation-duration: 16s; animation-delay: -3s; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(11, 31, 58, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 31, 58, .055) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 34%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 60% at 72% 34%, #000 10%, transparent 70%); }
@keyframes hfd-blob { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(30px, -20px, 0) scale(1.08); } 100% { transform: translate3d(-24px, 26px, 0) scale(.96); } }

.hero__inner { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.06fr .94fr; } }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(11, 31, 58, .1); box-shadow: var(--shadow-sm); font-size: .85rem; font-weight: 600; color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-500); }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--emerald-500); animation: hfd-ping 2s var(--ease) infinite; }
@keyframes hfd-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3); opacity: 0; } }
.hero__kicker { font-family: var(--font-accent); font-style: italic; font-size: clamp(1.2rem, 2.1vw, 1.55rem); color: var(--emerald-700); margin: 0 0 .5rem; }
.hero__title { font-size: clamp(2.3rem, 5.2vw, 4.15rem); line-height: 1.03; letter-spacing: -.04em; margin: 0 0 1.25rem; max-width: 16ch; }
.text-gradient {
	background: linear-gradient(100deg, var(--emerald-700) 0%, var(--emerald-600) 30%, #0F766E 58%, var(--navy-700) 100%);
	background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
	animation: hfd-gradient 9s var(--ease) infinite alternate; padding-bottom: .06em;
}
@keyframes hfd-gradient { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (forced-colors: active) { .text-gradient { background: none; color: CanvasText; } }
.hero__lead { font-size: clamp(1.05rem, 1.45vw, 1.2rem); max-width: 56ch; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2rem 0 1.6rem; }
.hero__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem 1.35rem; font-size: .93rem; font-weight: 500; color: var(--text); }
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust .icon { width: 19px; height: 19px; color: var(--emerald-700); }

/* 3D stage */
.hero__stage { --rx: 0deg; --ry: 0deg; --mx: 0; --my: 0; position: relative; perspective: 1400px; transform-style: preserve-3d; padding: 1.25rem .75rem 1.75rem; max-width: 600px; margin-inline: auto; width: 100%; }
.hero__card {
	position: relative; z-index: 2; margin: 0; aspect-ratio: 5 / 4.3; border-radius: var(--radius-lg); overflow: hidden;
	background: var(--navy-900); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .5);
	transform: rotateX(calc(2deg + var(--rx))) rotateY(calc(-5deg + var(--ry)));
	transition: transform .7s var(--ease-out);
}
.hero__card picture, .hero__card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hero__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 28%) var(--gy, 18%), rgba(255, 255, 255, .32), transparent 46%); mix-blend-mode: soft-light; }
.hero__plate {
	position: absolute; z-index: 1; inset: 10% 0 0 14%; border-radius: 34px;
	background: linear-gradient(140deg, var(--emerald-500), var(--emerald-700) 45%, var(--navy-900));
	transform: rotateX(calc(2deg + var(--rx))) rotateY(calc(-5deg + var(--ry))) translate3d(18px, 22px, -60px);
	transition: transform .7s var(--ease-out); opacity: .95;
}
.hero__plate::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(255, 255, 255, .25) 1.2px, transparent 1.4px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(135deg, transparent 30%, #000); mask-image: linear-gradient(135deg, transparent 30%, #000); }
@media (min-width: 960px) {
	.hero__stage { padding: 2rem 1.5rem 2.5rem; }
	.hero__card { transform: rotateX(calc(4deg + var(--rx))) rotateY(calc(-10deg + var(--ry))); }
	.hero__plate { inset: 8% -4% -2% 12%; transform: rotateX(calc(4deg + var(--rx))) rotateY(calc(-10deg + var(--ry))) translate3d(28px, 30px, -90px); }
}

.hero__chip {
	--depth: 14;
	position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .5rem;
	padding: .45rem .85rem .45rem .45rem; border-radius: 999px;
	background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .95);
	-webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
	box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; color: var(--ink); white-space: nowrap;
	transform: translate3d(calc(var(--mx) * var(--depth) * 1px), calc(var(--my) * var(--depth) * 1px), 110px);
	transition: transform .6s var(--ease-out);
	animation: hfd-float 6s var(--ease) infinite alternate;
}
.hero__chip-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: linear-gradient(140deg, var(--emerald-500), var(--emerald-700)); box-shadow: 0 6px 14px -6px rgba(4, 120, 87, .8); }
.hero__chip-icon .icon { width: 16px; height: 16px; }
.hero__chip--a { top: 0; left: -2%; }
.hero__chip--b { top: 34%; right: -3%; --depth: 24; animation-delay: -2s; }
.hero__chip--c { bottom: 10%; left: -4%; --depth: 20; animation-delay: -4s; display: none; }
.hero__chip--d { bottom: -2%; right: 10%; --depth: 10; animation-delay: -1s; }
@media (min-width: 560px) { .hero__chip { font-size: .88rem; padding: .5rem .95rem .5rem .5rem; } .hero__chip-icon { width: 34px; height: 34px; } .hero__chip--c { display: inline-flex; } }
@keyframes hfd-float { from { translate: 0 0; } to { translate: 0 -12px; } }

.cube { position: absolute; z-index: 3; top: -14px; right: 16%; width: 46px; height: 46px; transform-style: preserve-3d; translate: 0 0 120px; animation: hfd-cube 16s linear infinite; }
.cube__face { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .55); border-radius: 6px; background: linear-gradient(135deg, rgba(16, 185, 129, .92), rgba(4, 120, 87, .92)); }
.cube__face--front { transform: translateZ(23px); }
.cube__face--back { transform: rotateY(180deg) translateZ(23px); background: linear-gradient(135deg, rgba(27, 63, 112, .95), rgba(11, 31, 58, .95)); }
.cube__face--right { transform: rotateY(90deg) translateZ(23px); background: linear-gradient(135deg, rgba(5, 150, 105, .9), rgba(6, 95, 70, .9)); }
.cube__face--left { transform: rotateY(-90deg) translateZ(23px); background: linear-gradient(135deg, rgba(18, 48, 90, .95), rgba(6, 20, 43, .95)); }
.cube__face--top { transform: rotateX(90deg) translateZ(23px); background: linear-gradient(135deg, rgba(110, 231, 183, .95), rgba(16, 185, 129, .9)); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(23px); }
@keyframes hfd-cube { from { transform: rotateX(-24deg) rotateY(0deg); } to { transform: rotateX(-24deg) rotateY(360deg); } }
@media (min-width: 960px) { .cube { width: 60px; height: 60px; top: -10px; } .cube__face--front { transform: translateZ(30px); } .cube__face--back { transform: rotateY(180deg) translateZ(30px); } .cube__face--right { transform: rotateY(90deg) translateZ(30px); } .cube__face--left { transform: rotateY(-90deg) translateZ(30px); } .cube__face--top { transform: rotateX(90deg) translateZ(30px); } .cube__face--bottom { transform: rotateX(-90deg) translateZ(30px); } }

.geo { position: absolute; pointer-events: none; }
.hero__stage .geo { translate: 0 0 -160px; }
.geo--ring { z-index: 0; width: 130px; height: 130px; bottom: -26px; left: -18px; border-radius: 50%; border: 2px dashed rgba(4, 120, 87, .35); animation: hfd-spin 40s linear infinite; }
.geo--dots { z-index: 0; width: 120px; height: 120px; top: -18px; left: 22%; background-image: radial-gradient(rgba(11, 31, 58, .22) 1.6px, transparent 1.8px); background-size: 14px 14px; border-radius: 20px; }
@keyframes hfd-spin { to { transform: rotate(360deg); } }

/* Marquee */
.marquee { position: relative; z-index: 1; margin-top: clamp(2.75rem, 6vw, 4.5rem); border-block: 1px solid var(--line); background: rgba(255, 255, 255, .7); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 2.75rem; padding: 1.05rem 2.75rem 1.05rem 0; animation: hfd-marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.marquee__item .icon { color: var(--emerald-600); width: 20px; height: 20px; }
@keyframes hfd-marquee { to { transform: translateX(-50%); } }

/* ---------- Media fallback (no image assigned yet) ---------- */
.media-fallback { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 180px; color: var(--emerald-300); background: radial-gradient(circle at 30% 20%, rgba(52, 211, 153, .35), transparent 55%), linear-gradient(140deg, var(--navy-800), var(--navy-950)); overflow: hidden; }
.media-fallback__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 28px 28px; }
.media-fallback__icon { position: relative; width: 56px; height: 56px; stroke-width: 1.4; }

/* ---------- Intro ---------- */
.intro { padding-block: clamp(4rem, 8vw, 6.5rem); }
.intro__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .intro__grid { grid-template-columns: 1.15fr .85fr; gap: 4.5rem; } }
.intro__lead { font-size: 1.15rem; margin: 0; }
.facts { margin: 0; padding: 0; display: grid; gap: 1rem; }
.fact { display: grid; grid-template-columns: 5.25rem 1fr; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); transition: transform .4s var(--ease-out), box-shadow .4s, background-color .3s; }
.fact:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.fact__value { flex: none; min-width: 3.6ch; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 4vw, 3rem); line-height: 1; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.fact__value { background: linear-gradient(160deg, var(--navy-900), var(--emerald-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact__suffix { font-size: .4em; letter-spacing: .02em; margin-left: .12em; }
.fact__label { font-size: 1rem; font-weight: 500; color: var(--text); line-height: 1.4; }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--surface-2) 0%, #fff 100%); overflow: hidden; }
.services::before { content: ""; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 129, .12), transparent 65%); pointer-events: none; }
.services__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.services__head .section-head { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.services__viewport { position: relative; }
.services__track { margin: 0; padding: 0; list-style: none; }
.services__item { display: flex; }

/* Swipeable slider below 1180px */
@media (max-width: 1179.98px) {
	.services__track {
		display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 340px); gap: 1rem;
		overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
		padding: .75rem var(--gutter) 1.75rem; scrollbar-width: none; -webkit-overflow-scrolling: touch;
	}
	.services__track::-webkit-scrollbar { display: none; }
	.services__item { scroll-snap-align: start; }
}
@media (min-width: 700px) and (max-width: 1179.98px) { .services__track { grid-auto-columns: calc((100% - var(--gutter) * 2 - 2rem) / 2.25); gap: 1.25rem; } }
@media (min-width: 1180px) {
	.services__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding: .5rem var(--gutter) 1rem; }
	.slider-nav, .slider-dots { display: none !important; }
}

.service-card {
	--rx: 0deg; --ry: 0deg; --lift: 0px;
	position: relative; width: 100%; height: 100%; border-radius: 24px; padding: 1px;
	background: linear-gradient(180deg, #E2E8F0, rgba(226, 232, 240, .55));
	box-shadow: var(--shadow-sm);
	transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, var(--lift), 0);
	transition: transform .55s var(--ease-out), box-shadow .45s var(--ease);
	scroll-margin-top: calc(var(--header-h) + 24px);
}
.service-card::before {
	content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none;
	background: conic-gradient(from var(--angle), transparent 0deg, var(--emerald-500) 70deg, var(--navy-700) 150deg, transparent 220deg);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	opacity: 0; transition: opacity .4s var(--ease);
}
.service-card:hover, .service-card:focus-within, .service-card.is-open { --lift: -6px; box-shadow: var(--shadow-lg); }
.service-card:hover::before, .service-card:focus-within::before { opacity: 1; animation: hfd-border 4s linear infinite; }
@keyframes hfd-border { to { --angle: 360deg; } }
.service-card:target { box-shadow: 0 0 0 3px var(--emerald-600), var(--shadow-lg); }
.service-card__inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 23px; overflow: hidden; }
.service-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--navy-900); }
.service-card__media picture, .service-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.service-card__media img { transition: transform 1.1s var(--ease-out); }
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 58, 0) 55%, rgba(11, 31, 58, .45)); pointer-events: none; }
.service-card__icon { position: absolute; z-index: 1; left: 14px; bottom: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: linear-gradient(140deg, var(--emerald-500), var(--emerald-700)); box-shadow: 0 10px 22px -8px rgba(4, 120, 87, .9), inset 0 1px 0 rgba(255, 255, 255, .3); transition: transform .5s var(--ease-out); }
.service-card__icon .icon { width: 22px; height: 22px; }
.service-card:hover .service-card__icon { transform: translateY(-4px) rotate(-6deg); }
.service-card__num { position: absolute; z-index: 1; top: 12px; right: 12px; padding: .2rem .55rem; border-radius: 999px; font-family: var(--font-display); font-size: .78rem; font-weight: 700; color: #fff; background: rgba(6, 20, 43, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); letter-spacing: .04em; }
.service-card__body { display: flex; flex-direction: column; gap: .7rem; flex: 1; padding: 1.3rem 1.3rem 1.1rem; }
.service-card__title { font-size: 1.2rem; margin: 0; letter-spacing: -.02em; }
.service-card__summary { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.55; }
.service-card__benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.service-card__benefits li { display: flex; gap: .5rem; font-size: .9rem; line-height: 1.45; color: var(--text); }
.service-card__benefits .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--emerald-700); stroke-width: 2.4; }
.service-card__more-inner { font-size: .92rem; line-height: 1.55; padding-top: .35rem; border-top: 1px dashed var(--line); }
.service-card__more-inner p { margin: .6rem 0 0; }
.service-card__more-title { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald-700); }
.service-card__more-inner ul { margin: .4rem 0 .75rem; padding-left: 1.1rem; }
.service-card__more-inner li { margin: .15rem 0; }
.service-card__more-inner li::marker { color: var(--emerald-600); }
.js .service-card__more { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .5s var(--ease-out), opacity .35s var(--ease), visibility 0s linear .5s; }
.js .service-card__more > .service-card__more-inner { min-height: 0; overflow: hidden; }
.js .service-card.is-open .service-card__more { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows .5s var(--ease-out), opacity .35s var(--ease) .1s, visibility 0s; }
.service-card__actions { margin-top: auto; padding-top: .55rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.service-card__toggle { align-items: center; gap: .3rem; min-height: 44px; padding: 0 .35rem; margin-left: -.35rem; border: 0; background: none; color: var(--ink); font-weight: 600; font-size: .93rem; cursor: pointer; border-radius: 8px; }
.service-card__toggle:hover { color: var(--emerald-700); }
.service-card__toggle .icon { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.service-card__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.service-card__glare { position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .26), transparent 42%); mix-blend-mode: soft-light; }
.service-card:hover .service-card__glare { opacity: 1; }

.slider-nav { display: flex; gap: .5rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.slider-nav__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #C9D3E0; background: #fff; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, opacity .2s, transform .2s; }
.slider-nav__btn:hover:not(:disabled) { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.slider-nav__btn:disabled { opacity: .4; cursor: default; }
.slider-dots { display: flex; justify-content: center; gap: .15rem; margin-top: .25rem; }
.slider-dots button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; padding: 0; }
.slider-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #B4C0CF; transition: width .35s var(--ease-out), background-color .3s; }
.slider-dots button[aria-current="true"]::before { width: 22px; background: var(--emerald-700); }
.services__cta { margin: 2.25rem 0 0; text-align: center; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem .75rem; }

/* ---------- About ---------- */
.about__grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 960px) { .about__grid { grid-template-columns: .92fr 1.08fr; gap: 5rem; } }
.about__media { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.about__media::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: 34px; border: 2px solid rgba(4, 120, 87, .22); background: linear-gradient(140deg, rgba(16, 185, 129, .1), rgba(27, 63, 112, .08)); z-index: 0; }
.about__frame, .process__frame { position: relative; z-index: 1; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--navy-900); }
.about__frame { aspect-ratio: 4 / 5; }
.about__frame picture, .about__frame img, .process__frame picture, .process__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
[data-parallax-img] img { scale: 1.1; will-change: translate; }
.glass-badge { position: absolute; z-index: 2; display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem .85rem .85rem; border-radius: 18px; background: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: var(--shadow); font-size: .88rem; line-height: 1.35; color: var(--text); }
.glass-badge strong { display: block; color: var(--ink); font-size: .95rem; }
.glass-badge__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; color: #fff; background: linear-gradient(140deg, var(--emerald-500), var(--emerald-700)); }
.about__badge { left: 16px; bottom: 16px; }
@media (min-width: 960px) { .about__badge { left: auto; right: -28px; bottom: 36px; } }
.geo--about { left: auto; right: -30px; top: -30px; bottom: auto; }
.about__points { list-style: none; margin: 1.75rem 0 2rem; padding: 0; display: grid; gap: 1rem; }
.about__points li { display: flex; gap: 1rem; align-items: flex-start; }
.about__point-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--emerald-50); color: var(--emerald-700); border: 1px solid var(--emerald-100); }
.about__point-icon .icon { width: 22px; height: 22px; }
.about__points strong { color: var(--ink); }

/* ---------- Why (dark) ---------- */
.why { color: #C3CEDC; background: var(--navy-950); overflow: hidden; }
.why__bg { position: absolute; inset: 0; pointer-events: none; }
.why__bg span { position: absolute; border-radius: 50%; filter: blur(70px); animation: hfd-blob 22s var(--ease) infinite alternate; }
.why__bg span:first-child { width: 620px; height: 620px; top: -260px; left: -180px; background: radial-gradient(circle, rgba(16, 185, 129, .32), transparent 70%); }
.why__bg span:last-child { width: 560px; height: 560px; bottom: -260px; right: -160px; background: radial-gradient(circle, rgba(59, 130, 246, .2), transparent 70%); animation-delay: -8s; }
.why .container { position: relative; }
.why__grid { margin: 0; padding: 0; display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why__grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.why-card { position: relative; padding: 1.75rem; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025)); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .5s var(--ease-out), border-color .4s, background-color .4s; }
.why-card:hover { transform: translateY(-6px); border-color: rgba(110, 231, 183, .45); }
.why-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.15rem; border-radius: 15px; color: var(--emerald-300); background: linear-gradient(140deg, rgba(16, 185, 129, .26), rgba(16, 185, 129, .06)); border: 1px solid rgba(52, 211, 153, .3); }
.why-card__icon .icon { width: 24px; height: 24px; }
.why-card__title { color: #fff; font-size: 1.15rem; margin-bottom: .45rem; }
.why-card p { margin: 0; font-size: .97rem; color: #B6C2D2; }
.cta-band { margin-top: clamp(2.5rem, 5vw, 3.75rem); padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.5rem, 4vw, 2.5rem); border-radius: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; background: linear-gradient(120deg, rgba(16, 185, 129, .24), rgba(18, 48, 90, .55)); border: 1px solid rgba(255, 255, 255, .14); }
.cta-band__title { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: .35rem; }
.cta-band p { margin: 0; color: #D3DCE7; }
.why :focus-visible, .areas :focus-visible, .quote__aside :focus-visible, .site-footer :focus-visible { outline-color: var(--emerald-300); }

/* ---------- Process ---------- */
.process__grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 960px) { .process__grid { grid-template-columns: 1.05fr .95fr; gap: 4.5rem; } }
.steps { --steps-progress: 1; position: relative; list-style: none; margin: 0; padding: 0; }
.js .steps { --steps-progress: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(180deg, var(--emerald-500), var(--emerald-700)); transform-origin: 50% 0; transform: scaleY(var(--steps-progress)); }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; padding-bottom: 1.85rem; }
.step:last-child { padding-bottom: 0; }
.step__node { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--emerald-700); transition: border-color .5s, box-shadow .5s, background-color .5s, color .5s; }
.step__node .icon { width: 24px; height: 24px; }
.step.is-in .step__node { border-color: rgba(4, 120, 87, .45); box-shadow: 0 0 0 6px rgba(16, 185, 129, .12), var(--shadow-sm); }
.step__count { margin: .2rem 0 .1rem; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald-700); }
.step__title { font-size: 1.25rem; margin-bottom: .35rem; }
.step p:last-child { margin: 0; color: var(--muted); }
.process__media { position: relative; max-width: 560px; width: 100%; margin-inline: auto; }
.process__frame { aspect-ratio: 5 / 4.4; }
.process__badge { left: 16px; bottom: 16px; }
@media (min-width: 960px) { .process__badge { left: -32px; bottom: 40px; } }

/* ---------- Areas ---------- */
.areas { color: #E2E8F0; background: var(--navy-950); overflow: hidden; padding-block: clamp(5rem, 11vw, 8.5rem); }
.areas__media { position: absolute; inset: -14% 0; z-index: 0; will-change: transform; }
.areas__media picture, .areas__media img, .areas__media .media-fallback { width: 100%; height: 100%; object-fit: cover; }
.areas__overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(6, 20, 43, .94) 0%, rgba(6, 20, 43, .78) 45%, rgba(6, 20, 43, .35) 100%), linear-gradient(0deg, rgba(6, 20, 43, .6), transparent 40%); }
@media (max-width: 760px) { .areas__overlay { background: linear-gradient(180deg, rgba(6, 20, 43, .7), rgba(6, 20, 43, .9)); } }
.areas .container { position: relative; z-index: 1; }
.areas__panel { max-width: 660px; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); }
.areas .section-title { color: #fff; }
.areas .section-title em { color: var(--emerald-300); }
.areas__lead { color: #E2E8F0; }
.chips { margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: .9rem; font-weight: 500; color: #fff; transition: background-color .25s, transform .25s; }
.chip:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.chip .icon { width: 16px; height: 16px; color: var(--emerald-300); }
.areas__note { display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; color: #D3DCE7; margin: 0 0 1.5rem; }
.areas__note .icon { color: var(--emerald-300); margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .82fr 1.18fr; gap: 4.5rem; align-items: start; } .faq__intro { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq__help { display: grid; gap: .85rem; justify-items: start; margin-top: 1.75rem; padding: 1.5rem; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.faq__help p { margin: 0; }
.faq__help strong { color: var(--ink); }
.faq__help-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--emerald-50); color: var(--emerald-700); }
.accordion { display: grid; gap: .75rem; }
.accordion__item { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .3s, box-shadow .4s var(--ease); }
.accordion__item:hover { border-color: #C9D3E0; }
.accordion__item.is-open { border-color: rgba(4, 120, 87, .35); box-shadow: var(--shadow); }
.accordion__heading { margin: 0; font-family: var(--font-sans); font-size: 1rem; letter-spacing: 0; }
.accordion__trigger { width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; border: 0; background: none; border-radius: 18px; text-align: left; cursor: pointer; font: 600 1.04rem/1.4 var(--font-sans); color: var(--ink); }
.accordion__trigger:hover { color: var(--emerald-700); }
.accordion__icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); transition: background-color .3s, transform .4s var(--ease-out); }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease-out), background-color .3s; }
.accordion__icon::after { transform: rotate(90deg); }
.no-js .accordion__icon { display: none; }
.is-open .accordion__icon { background: var(--emerald-700); transform: rotate(180deg); }
.is-open .accordion__icon::before, .is-open .accordion__icon::after { background: #fff; }
.is-open .accordion__icon::after { transform: rotate(0deg); }
.accordion__inner p { margin: 0; padding: 0 1.25rem 1.3rem; color: var(--text); }
.js .accordion__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--ease-out), visibility 0s linear .45s; }
.js .accordion__inner { min-height: 0; overflow: hidden; }
.js .is-open .accordion__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .45s var(--ease-out), visibility 0s; }

/* ---------- Quote ---------- */
.quote { background: var(--surface-2); overflow: hidden; }
.quote__bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 400px at 100% 0%, rgba(16, 185, 129, .12), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(27, 63, 112, .08), transparent 60%); }
.quote__grid { position: relative; display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .quote__grid { grid-template-columns: .82fr 1.18fr; gap: 1.75rem; align-items: stretch; } }
.quote__aside { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--radius-lg); color: #C3CEDC; background: radial-gradient(520px 320px at 0% 0%, rgba(16, 185, 129, .3), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); box-shadow: var(--shadow-lg); }
.quote__aside .section-title { color: #fff; }
.quote__aside .section-title em { color: var(--emerald-300); }
.quote__next { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .85rem; }
.quote__next li { display: flex; align-items: center; gap: .85rem; color: #E2E8F0; font-weight: 500; }
.quote__next span { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(110, 231, 183, .45); background: rgba(16, 185, 129, .15); color: var(--emerald-300); font-weight: 700; font-size: .9rem; }
.quote__direct { margin-top: auto; padding-top: 1.75rem; margin-block-start: 2rem; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: .75rem; }
.quote__direct p { margin: 0; font-size: .92rem; }
.quote__phone { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; color: #fff; font-weight: 600; text-decoration: none; }
.quote__phone:hover { color: var(--emerald-300); }
.quote__phone .icon { color: var(--emerald-300); }
.quote__card { padding: clamp(1.4rem, 4vw, 2.5rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.quote-form { position: relative; }
.quote-form__required { margin: 0 0 1.1rem; font-size: .88rem; color: var(--muted); }
.form-grid { display: grid; gap: 1.1rem 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: .45rem; font-weight: 600; font-size: .93rem; color: var(--ink); }
.req { color: var(--danger); }
.field__opt { font-weight: 400; color: var(--muted); font-size: .86rem; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1.5px solid var(--field); border-radius: 14px;
	background: #FBFCFE; color: var(--ink); font: 400 1rem/1.4 var(--font-sans);
	transition: border-color .2s, box-shadow .2s, background-color .2s;
	-webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8391A5; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #5E6F86; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald-700); background: #fff; box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(185, 28, 28, .1); }
.field input[type="date"] { min-height: 52px; }
.select { position: relative; }
.select select { padding-right: 2.75rem; cursor: pointer; }
.select .icon { position: absolute; right: 1rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.field__error { margin: .35rem 0 0; font-size: .86rem; color: var(--danger); font-weight: 500; }
.field__error:empty { display: none; }
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.quote-form__submit { margin-top: 1.5rem; }
.btn__spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: hfd-spin .8s linear infinite; }
.is-loading .btn__spinner { display: inline-block; }
.is-loading .icon--arrow-right { display: none; }
.is-loading { cursor: progress; }
.quote-form__privacy { margin: .9rem 0 0; text-align: center; font-size: .86rem; color: var(--muted); }
.form-status { display: grid; gap: .75rem; justify-items: start; margin-bottom: 1.25rem; padding: 1rem 1.15rem; border-radius: 16px; border: 1px solid var(--line); font-size: .98rem; line-height: 1.5; }
.form-status[hidden] { display: none; }
.form-status p { margin: 0; }
.form-status:focus { outline: 3px solid var(--emerald-600); outline-offset: 2px; }
.form-status--sent, .form-status--duplicate { background: var(--emerald-50); border-color: #A7F3D0; color: var(--emerald-800); }
.form-status--saved { background: #FFFBEB; border-color: #FCD34D; color: #78350F; }
.form-status--error, .form-status--invalid { background: #FEF2F2; border-color: #FECACA; color: #7F1D1D; }

/* ---------- Contact ---------- */
.contact__grid { margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 600px) { .contact__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .contact__grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.contact__grid > li { display: flex; }
.contact-card { width: 100%; display: flex; flex-direction: column; gap: .3rem; padding: 1.6rem; border-radius: 22px; border: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; transition: transform .5s var(--ease-out), box-shadow .45s var(--ease), border-color .3s; }
a.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(4, 120, 87, .3); color: inherit; }
.contact-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: .9rem; border-radius: 16px; background: var(--emerald-50); color: var(--emerald-700); border: 1px solid var(--emerald-100); }
.contact-card__icon .icon { width: 24px; height: 24px; }
.contact-card--wa .contact-card__icon { background: var(--wa); color: #fff; border-color: var(--wa); }
.contact-card__label { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; letter-spacing: -.015em; color: var(--ink); overflow-wrap: anywhere; }
.contact-card__hint { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: .75rem; font-size: .9rem; font-weight: 600; color: var(--emerald-700); }
.contact-card__hint .icon { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
a.contact-card:hover .contact-card__hint .icon { transform: translateX(3px); }
.contact__meta { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.5rem; }
.contact__meta p { margin: 0; display: inline-flex; gap: .5rem; align-items: center; }
.contact__meta .icon { color: var(--emerald-700); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; color: #B6C2D2; background: var(--navy-950); padding-top: clamp(3.5rem, 7vw, 5rem); font-size: .97rem; }
.site-footer__glow { position: absolute; top: -260px; left: -200px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 129, .16), transparent 65%); pointer-events: none; }
.site-footer__grid { position: relative; display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.45fr 1fr 1fr 1.25fr; gap: 3rem; } }
.site-footer__brand p { margin: 1.1rem 0 1.4rem; max-width: 38ch; }
.site-footer__title { margin: 0 0 1rem; font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #C3CEDC; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn--wa, .site-footer .btn--wa:hover { color: #fff; text-decoration: none; }
.site-footer__contact li, .site-footer__contact a { display: flex; gap: .6rem; align-items: flex-start; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--emerald-300); }
.site-footer__contact small { color: #8FA0B6; }
.site-footer__bottom { position: relative; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; padding-bottom: calc(1.5rem + 76px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .09); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; font-size: .88rem; }
@media (min-width: 900px) { .site-footer__bottom { padding-bottom: 1.75rem; } }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex !important; flex-wrap: wrap; gap: .5rem 1.25rem !important; }
.site-footer__legal a { display: inline-flex; align-items: center; gap: .3rem; }
.site-footer__legal .icon { width: 15px; height: 15px; }
.site-footer__note { width: 100%; font-size: .8rem; color: #8FA0B6; }

/* ---------- Floating WhatsApp ---------- */
.wa-fab {
	position: fixed; z-index: 70; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom));
	display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
	color: #fff; background: linear-gradient(145deg, #16A34A, var(--wa));
	box-shadow: 0 14px 30px -10px rgba(21, 128, 61, .75), 0 4px 12px rgba(11, 31, 58, .2);
	transition: transform .35s var(--ease-out), opacity .3s, visibility .3s, box-shadow .3s;
}
.wa-fab:hover { transform: scale(1.07); color: #fff; }
.wa-fab__icon { position: relative; z-index: 1; width: 30px; height: 30px; }
.wa-fab__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #16A34A; animation: hfd-wa 2.6s var(--ease) infinite; }
@keyframes hfd-wa { 0% { transform: scale(1); opacity: .75; } 70%, 100% { transform: scale(1.65); opacity: 0; } }
.wa-fab__tip { position: absolute; right: calc(100% + 12px); top: 50%; padding: .45rem .8rem; border-radius: 10px; background: #fff; color: var(--ink); font-size: .86rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(8px, -50%); transition: opacity .3s, transform .35s var(--ease-out), visibility .3s; pointer-events: none; }
.wa-fab__tip::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; background: #fff; transform: translateY(-50%) rotate(45deg); border-radius: 2px; }
.wa-fab:hover .wa-fab__tip, .wa-fab:focus-visible .wa-fab__tip, .wa-fab.show-tip .wa-fab__tip { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.wa-fab.is-hidden, body.menu-open .wa-fab { opacity: 0; visibility: hidden; transform: scale(.7); pointer-events: none; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .8s var(--ease-out) var(--d, 0ms), transform .95s var(--ease-out) var(--d, 0ms); }
.js [data-reveal="left"] { transform: translate3d(-34px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(34px, 0, 0); }
.js [data-reveal="zoom"] { transform: scale(.96) translate3d(0, 18px, 0); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (max-width: 959.98px) { .js [data-reveal="left"], .js [data-reveal="right"] { transform: translate3d(0, 26px, 0); } }
.js .about__media[data-reveal] .about__frame, .js .process__media[data-reveal] .process__frame { clip-path: inset(12% 0 0 0 round var(--radius-lg)); transition: clip-path 1.2s var(--ease-out) .1s; }
.js .about__media.is-in .about__frame, .js .process__media.is-in .process__frame { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

/* ---------- Inner pages ---------- */
.page-shell { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.page-hero { margin-bottom: 2.5rem; max-width: 760px; }
.page-title { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.03em; line-height: 1.08; }
.page-intro { color: var(--muted); font-size: 1.1rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.25rem; padding: 0; font-size: .9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: #A3B0C2; }
.entry__meta { color: var(--muted); font-size: .95rem; }
.entry__media { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; }
.entry__content { font-size: 1.08rem; }
.entry__content > * { margin-block: 0 1.2em; }
.entry__content h2 { font-size: 1.75rem; margin-top: 1.8em; }
.entry__content h3 { font-size: 1.35rem; margin-top: 1.6em; }
.entry__content img { border-radius: 14px; }
.entry__content blockquote { margin-inline: 0; padding: 1rem 1.25rem; border-left: 4px solid var(--emerald-600); background: var(--surface-2); border-radius: 0 12px 12px 0; }
.entry__content table { width: 100%; border-collapse: collapse; }
.entry__content th, .entry__content td { padding: .6rem .75rem; border: 1px solid var(--line); text-align: left; }
.entry__cta { margin: 3rem 0; padding: 2rem; border-radius: var(--radius-lg); background: linear-gradient(140deg, var(--navy-800), var(--navy-950)); color: #C3CEDC; }
.entry__cta h2 { color: #fff; font-size: 1.5rem; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post-grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .4s var(--ease-out), box-shadow .4s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 1.25rem 1.35rem 1.4rem; }
.post-card__meta { font-size: .85rem; color: var(--muted); margin: 0 0 .4rem; }
.post-card__title { font-size: 1.2rem; margin: 0 0 .5rem; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--emerald-700); }
.post-card p { margin: 0; font-size: .95rem; color: var(--muted); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2.5rem; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 .75rem; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pagination .page-numbers.current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.notfound { text-align: center; padding-block: 3rem; }
.notfound .btn-row { justify-content: center; }
.notfound__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; margin: 0; background: linear-gradient(140deg, var(--emerald-600), var(--navy-800)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.comments input:not([type="checkbox"]):not([type="submit"]), .comments textarea { width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--field); border-radius: 12px; font: inherit; }
.comments .submit { min-height: 48px; padding: .7rem 1.3rem; border: 0; border-radius: 999px; background: var(--emerald-700); color: #fff; font-weight: 600; cursor: pointer; }
.search-form { display: flex; gap: .5rem; }
.search-form .search-field { flex: 1; min-height: 48px; padding: .6rem .9rem; border: 1.5px solid var(--field); border-radius: 12px; font: inherit; }
.search-form .search-submit { min-height: 48px; padding: 0 1.2rem; border: 0; border-radius: 12px; background: var(--navy-900); color: #fff; font-weight: 600; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-inline: calc(50% - 50vw); }
.wp-caption-text, figcaption { font-size: .9rem; color: var(--muted); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.js .about__media[data-reveal] .about__frame, .js .process__media[data-reveal] .process__frame { clip-path: none; }
	.marquee__track { animation: none !important; }
	.hero__card, .hero__plate { --rx: 0deg; --ry: 0deg; }
	.wa-fab__pulse { display: none; }
	[data-parallax-img] img { scale: 1; }
}

/* ---------- Print ---------- */
@media print {
	.site-header, .wa-fab, .scroll-progress, .marquee, .hero__stage, .quote-form, .slider-nav, .slider-dots { display: none !important; }
	.js [data-reveal] { opacity: 1 !important; transform: none !important; }
	.why, .areas, .site-footer, .quote__aside { background: #fff !important; color: #000 !important; }
	body { font-size: 12pt; }
}

/* ---------- Comments ---------- */
.comments__list, .comments__list .children { list-style: none; margin: 0; padding: 0; }
.comments__list .children { padding-left: 1.5rem; border-left: 2px solid var(--line); }
.comments__list .comment-body { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.comments__list .comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; font-size: .9rem; color: var(--muted); }
.comments__list .comment-author { display: flex; align-items: center; gap: .6rem; color: var(--ink); }
.comments__list .avatar { border-radius: 50%; width: 40px; height: 40px; }
.comments__list .says { display: none; }
.comments__list .comment-metadata a { color: var(--muted); text-decoration: none; }
.comments__list .reply a { font-weight: 600; font-size: .9rem; }
