/* ==========================================================================
   Taqreer CPA — main stylesheet
   Every component styles its own classes only (no generic descendant rules),
   so a class reused in one place can't restyle another.
   ========================================================================== */

@font-face { font-family: "Lama Sans"; src: url("../fonts/LamaSans-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Lama Sans"; src: url("../fonts/LamaSans-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lama Sans"; src: url("../fonts/LamaSans-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Lama Sans"; src: url("../fonts/LamaSans-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Codec Pro"; src: url("../fonts/codecpro-light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Codec Pro"; src: url("../fonts/codecpro-regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Codec Pro"; src: url("../fonts/codecpro-bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
	--ink: #252529;
	--ink-2: #1c1c20;
	--ink-3: #2f2f35;
	--gold: #af9866;
	--gold-2: #cdbb8f;
	--gold-soft: #f3eee2;
	--paper: #f7f6f2;
	--white: #fff;
	--text: #55555c;
	--muted: #8b8a90;
	--line: #e6e3da;
	--line-dark: rgba(255, 255, 255, .12);
	--text-light: rgba(255, 255, 255, .72);

	--font-ar: "Lama Sans", "Segoe UI", Tahoma, sans-serif;
	--font-en: "Codec Pro", "Lama Sans", "Segoe UI", sans-serif;

	--container: 1240px;
	--gutter: clamp(18px, 4vw, 40px);
	--header-h: 84px;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 30px 60px -30px rgba(37, 37, 41, .28);
	--shadow-sm: 0 12px 30px -18px rgba(37, 37, 41, .25);
	--ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-ar);
	font-size: 17px;
	line-height: 1.85;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 16px; }
.icon { width: 24px; height: 24px; flex: none; }

/* Content GSAP reveals is hidden only while JS runs */
.js .reveal, .js .hero__text, .js .hero__visual { visibility: hidden; }

/* ---------- Shared ---------- */
.section { position: relative; padding-block: clamp(80px, 10vw, 140px); }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 60px; align-items: end; }
.section-title { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.3; letter-spacing: -.01em; margin-top: 14px; }
.section-title--light { color: var(--white); }
.section-lead { margin: 0; font-size: 17px; }
.section-lead--light { color: var(--text-light); }

.tag {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 14px; font-weight: 500; color: var(--gold);
	padding: 6px 14px 6px 16px; border: 1px solid rgba(175, 152, 102, .35); border-radius: 100px; background: rgba(175, 152, 102, .06);
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.tag--light { color: var(--gold-2); border-color: rgba(205, 187, 143, .3); background: rgba(205, 187, 143, .06); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 0 28px; border-radius: 100px;
	font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap;
	border: 1px solid transparent;
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn__icon { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn:hover .btn__icon { transform: translateX(-4px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--gold); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--white); color: var(--ink); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset-inline: 0; top: 0; z-index: 50; height: var(--header-h);
	transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled { height: 70px; background: rgba(247, 246, 242, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { flex: none; position: relative; display: block; }
.brand__logo { height: 48px; width: auto; transition: height .4s var(--ease), opacity .3s; }
.is-scrolled .brand__logo { height: 42px; }
.brand__logo--light { position: absolute; inset: 0; opacity: 0; }
.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: 6px; }
.nav__list a { display: block; padding: 8px 14px; border-radius: 100px; font-size: 15px; color: var(--text); transition: color .3s, background-color .3s; }
.nav__list a:hover { color: var(--ink); background: rgba(37, 37, 41, .05); }
.nav__list a.is-current { color: var(--ink); background: var(--white); box-shadow: var(--shadow-sm); }
.site-header__cta { flex: none; direction: ltr; font-family: var(--font-en); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; background: var(--ink); }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--white); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 26px; }
.nav-open .nav-toggle { background: var(--gold); }
.nav-open .nav-toggle span:first-child, .nav-open .nav-toggle span:last-child { top: 22px; }
.nav-open .nav-toggle span:first-child { transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + clamp(30px, 5vw, 70px)); padding-bottom: clamp(70px, 8vw, 110px); }
.hero__grid-bg {
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(37, 37, 41, .055) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(37, 37, 41, .055) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); margin-bottom: 26px; padding: 8px 16px; background: var(--white); border-radius: 100px; box-shadow: var(--shadow-sm); }
.kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(175, 152, 102, .2); }
.hero__title { font-size: clamp(42px, 6.4vw, 88px); line-height: 1.2; letter-spacing: -.015em; margin-bottom: 26px; }
.hero__line { display: block; }
.hero__title em { font-style: normal; color: var(--gold); }
.hero__lead { max-width: 540px; font-size: clamp(16px, 1.4vw, 19px); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: flex; gap: 0; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 540px; }
.hero-stat { flex: 1; display: flex; flex-direction: column-reverse; gap: 4px; padding-inline-end: 20px; }
.hero-stat + .hero-stat { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
.hero-stat__num { font-family: var(--font-en); font-weight: 700; font-size: clamp(30px, 3vw, 42px); line-height: 1; color: var(--ink); }
.hero-stat__label { font-size: 14px; color: var(--muted); }

.hero__visual { position: relative; padding-bottom: 40px; padding-inline-end: 40px; }
.hero__photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 28, 32, .35), transparent 50%); }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.report-card {
	position: absolute; inset-inline-end: 0; bottom: 0; width: min(78%, 330px);
	background: var(--white); border-radius: var(--radius); padding: 22px 22px 18px;
	box-shadow: 0 30px 70px -25px rgba(37, 37, 41, .45);
}
.report-card__head { display: flex; flex-direction: column; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px dashed var(--line); }
.report-card__title { font-weight: 700; color: var(--ink); font-size: 16px; }
.report-card__sub { font-family: var(--font-en); font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.report-card__list li { display: flex; align-items: center; gap: 10px; padding-block: 8px; font-size: 14px; color: var(--ink); }
.report-card__check { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--white); display: grid; place-items: center; flex: none; }
.report-card__check .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.report-card__text { flex: none; }
.report-card__bar { flex: 1; height: 6px; border-radius: 4px; background: var(--gold-soft); }
.stamp { position: absolute; top: -30px; inset-inline-start: -34px; width: 140px; height: 140px; display: grid; place-items: center; }
.stamp::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--ink); box-shadow: var(--shadow), inset 0 0 0 5px var(--ink), inset 0 0 0 6px rgba(175, 152, 102, .45); }
.stamp::after { content: ""; position: absolute; inset: 38px; border-radius: 50%; border: 1px dashed rgba(175, 152, 102, .5); }
.stamp__ring { position: absolute; inset: 0; width: 100%; height: 100%; direction: ltr; }
.stamp__ring text { font-family: var(--font-en); font-size: 13.4px; letter-spacing: 1.6px; fill: var(--gold); font-weight: 700; }
.stamp__center { position: relative; color: var(--white); font-weight: 700; font-size: 18px; line-height: 1; }

/* ---------- About ---------- */
.about { background: var(--white); }
.statement { font-size: clamp(24px, 3.2vw, 42px); line-height: 1.6; font-weight: 500; color: var(--ink); max-width: 1050px; margin: 22px 0 clamp(50px, 7vw, 90px); }
.statement b { color: var(--gold); font-weight: 700; }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about__media { margin: 0; }
.about__frame { border-radius: 22px; overflow: hidden; aspect-ratio: 5 / 4; }
.clip-reveal img { width: 100%; height: 100%; object-fit: cover; }
.about__body p { font-size: 17.5px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.pill-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 18px; border-radius: 100px; background: var(--paper); color: var(--ink); font-weight: 500; font-size: 15px; }
.pill-list .icon { width: 18px; height: 18px; color: var(--gold); }

/* ---------- Vision / Mission / Goals ---------- */
.vmg { background: var(--ink); overflow: hidden; }
.vmg__watermark { position: absolute; top: 50%; left: 0; translate: 0 -50%; white-space: nowrap; pointer-events: none; }
.vmg__watermark span { display: block; font-family: var(--font-en); font-weight: 700; font-size: clamp(120px, 22vw, 340px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); }
.vmg .container { position: relative; }
.vmg__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vmg-card {
	position: relative; padding: 36px 32px 38px; border-radius: var(--radius);
	background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark);
	transition: background-color .4s, border-color .4s, transform .5s var(--ease);
}
.vmg-card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(175, 152, 102, .14); color: var(--gold-2); margin-bottom: 30px; }
.vmg-card__icon .icon { width: 28px; height: 28px; }
.vmg-card__index { position: absolute; top: 34px; inset-inline-end: 32px; font-family: var(--font-en); font-size: 14px; color: rgba(255, 255, 255, .35); }
.vmg-card__title { color: var(--white); font-size: 26px; margin-bottom: 12px; }
.vmg-card__text { margin: 0; color: var(--text-light); font-size: 16px; }

/* ---------- Values (bento) ---------- */
.values { background: var(--paper); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento__intro {
	grid-column: span 2; grid-row: span 2; position: relative; overflow: hidden;
	border-radius: var(--radius); background: var(--ink); color: var(--white);
	padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: flex-start; min-height: 420px;
}
.bento__intro .section-title { color: var(--white); position: relative; z-index: 1; max-width: 440px; }
.bento__intro .tag { position: relative; z-index: 1; align-self: flex-start; color: var(--gold-2); }
.bento__lead { position: relative; z-index: 1; color: var(--text-light); margin-top: 14px; }
.bento__img { position: absolute; inset: auto 0 0 0; width: 100%; height: 55%; object-fit: cover; opacity: .28; -webkit-mask-image: linear-gradient(to top, #000, transparent); mask-image: linear-gradient(to top, #000, transparent); filter: grayscale(1); }
.value-tile {
	background: var(--white); border-radius: var(--radius); padding: 26px 24px;
	display: flex; flex-direction: column; border: 1px solid transparent;
	transition: border-color .4s, box-shadow .4s, transform .5s var(--ease);
}
.value-tile--wide { grid-column: span 2; }
.value-tile__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.value-tile__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.value-tile__index { font-family: var(--font-en); font-size: 14px; color: var(--muted); }
.value-tile__title { font-size: 20px; margin-bottom: 8px; }
.value-tile__text { margin: 0; font-size: 15.5px; line-height: 1.75; }

/* ---------- Team ---------- */
.team { background: var(--white); }
.team__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.team__text > p { font-size: 17.5px; margin-top: 18px; }
.roles { display: grid; gap: 12px; margin-top: 26px; }
.role { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--paper); transition: background-color .3s; }
.role__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--white); color: var(--gold); display: grid; place-items: center; flex: none; box-shadow: var(--shadow-sm); }
.role__name { font-weight: 500; color: var(--ink); font-size: 17px; }
.team__media { margin: 0; }
.team__media .clip-reveal { border-radius: 22px; overflow: hidden; aspect-ratio: 1; }

/* ---------- Services (accordion) ---------- */
.services { background: var(--paper); }
.svc-list { border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc__heading { font-size: inherit; }
.svc__toggle {
	width: 100%; display: grid; grid-template-columns: 56px 56px 1fr 48px; align-items: center; gap: 18px;
	padding: 26px 4px; text-align: start; transition: padding .4s var(--ease);
}
.svc__index { font-family: var(--font-en); font-size: 15px; color: var(--muted); }
.svc__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--white); color: var(--gold); transition: background-color .35s, color .35s; }
.svc__name { display: flex; flex-direction: column; font-size: clamp(19px, 2vw, 25px); font-weight: 700; color: var(--ink); line-height: 1.4; }
.svc__en { font-family: var(--font-en); font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.svc__plus { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background-color .35s, color .35s, transform .45s var(--ease), border-color .35s; }
.svc__toggle:hover .svc__icon, .svc.is-open .svc__icon { background: var(--gold); color: var(--white); }
.svc.is-open .svc__plus { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: var(--white); }
.svc__panel { overflow: hidden; }
.svc__content { display: grid; grid-template-columns: 300px 1fr; gap: 36px; padding: 4px 4px 36px; padding-inline-start: 148px; }
.svc__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; align-self: start; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__text { font-size: 16.5px; }
.svc__offer-title { font-size: 16px; margin: 6px 0 12px; }
.svc__offers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.svc__offers li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: var(--ink); }
.svc__offers .icon { width: 20px; height: 20px; color: var(--gold); margin-top: 2px; stroke-width: 2; }
.svc-cursor { position: fixed; top: 0; left: 0; z-index: 40; width: 240px; height: 170px; border-radius: var(--radius); overflow: hidden; pointer-events: none; opacity: 0; visibility: hidden; box-shadow: var(--shadow); }
.svc-cursor img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Approach (timeline) ---------- */
.approach { background: var(--ink); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 20px; }
.timeline__track { position: absolute; top: 28px; inset-inline: calc(50% / var(--steps, 5)); height: 2px; background: var(--line-dark); border-radius: 2px; }
.timeline__fill { display: block; width: 100%; height: 100%; background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: right center; }
.tl-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tl-step__marker {
	position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--ink); border: 2px solid rgba(255, 255, 255, .2); color: var(--white);
	transition: background-color .4s, border-color .4s, color .4s;
}
.tl-step__num { font-family: var(--font-ar); font-weight: 700; font-size: 20px; line-height: 1; }
.tl-step.is-active .tl-step__marker { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.tl-step__card { margin-top: 24px; padding: 24px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); width: 100%; flex: 1; }
.tl-step__title { color: var(--white); font-size: 18px; margin-bottom: 8px; }
.tl-step__text { margin: 0; color: var(--text-light); font-size: 15px; line-height: 1.75; }
body:not(.js) .timeline__fill { transform: none; }

/* ---------- Why ---------- */
.why { background: var(--white); }
.why__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.why__aside { position: sticky; top: 110px; }
.why__aside > p { font-size: 17.5px; margin-top: 18px; }
.why__quote { margin: 26px 0 30px; padding: 22px 24px; border-radius: var(--radius); background: var(--gold-soft); color: var(--ink); font-weight: 500; font-size: 18px; line-height: 1.7; border-inline-start: 4px solid var(--gold); }
.why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card { padding: 28px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid transparent; transition: border-color .4s, background-color .4s, transform .5s var(--ease); }
.why-card:nth-child(even) { transform: translateY(40px); }
.why-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); margin-bottom: 22px; }
.why-card__title { font-size: 20px; margin-bottom: 8px; }
.why-card__text { margin: 0; font-size: 15.5px; line-height: 1.75; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact__card { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 24px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.contact__info { background: var(--ink); color: var(--white); padding: clamp(32px, 4.5vw, 60px); display: flex; flex-direction: column; align-items: flex-start; }
.contact__lead { color: var(--text-light); margin-top: 14px; }
.contact__list { display: grid; gap: 14px; margin: 14px 0 34px; width: 100%; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--gold-2); flex: none; }
.contact__icon .icon { width: 22px; height: 22px; }
.contact__label { display: block; font-size: 13px; color: rgba(255, 255, 255, .55); line-height: 1.4; }
.contact__value { display: block; font-size: 18px; color: var(--white); line-height: 1.5; transition: color .3s; }
a.contact__value:hover { color: var(--gold-2); }
.contact-form { padding: clamp(28px, 4.5vw, 56px); }
.contact-form__title { font-size: 24px; margin-bottom: 22px; }
.field { margin-bottom: 16px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--ink);
	padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
	transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(175, 152, 102, .14); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 15px; }
.form-note--ok { background: #eef6ee; color: #25632b; }
.form-note--error { background: #fbeeee; color: #8a2424; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: var(--text-light); padding-top: 80px; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.site-footer__brand img { height: 58px; width: auto; margin-bottom: 22px; }
.site-footer__brand p { max-width: 380px; }
.site-footer__title { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.site-footer__links li { margin-bottom: 8px; }
.site-footer__links a:hover { color: var(--gold-2); }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.site-footer__en { font-family: var(--font-en); letter-spacing: .14em; font-size: 11px; }

/* ---------- Generic pages (index.php) ---------- */
.page__hero { background: var(--ink); padding: calc(var(--header-h) + 80px) 0 70px; }
.page__title { color: var(--white); font-size: clamp(34px, 5vw, 56px); }
.page__body { padding-block: 70px 110px; max-width: 860px; }
.entry { margin-bottom: 40px; }
.entry__title { font-size: 26px; margin-bottom: 10px; }
.entry__title a:hover { color: var(--gold); }
.entry__content a { color: var(--gold); text-decoration: underline; }
body:not(.home) .site-header:not(.is-scrolled) .brand__logo--dark { opacity: 0; }
body:not(.home) .site-header:not(.is-scrolled) .brand__logo--light { opacity: 1; }
body:not(.home) .site-header:not(.is-scrolled) .nav__list a { color: rgba(255, 255, 255, .8); }

/* Hover effects only where a real pointer exists */
@media (hover: hover) {
	.vmg-card:hover { background: rgba(175, 152, 102, .08); border-color: rgba(175, 152, 102, .5); transform: translateY(-6px); }
	.value-tile:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
	.role:hover { background: var(--gold-soft); }
	.svc__toggle:hover { padding-inline-start: 14px; }
	.why-card:hover { background: var(--white); border-color: var(--gold); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1600px) {
	:root { --container: 1400px; }
	body { font-size: 18px; }
}

@media (max-width: 1180px) {
	.site-header__cta { display: none; }
	.timeline { grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); gap: 12px; }
	.tl-step__card { padding: 20px 14px; }
	.svc__content { padding-inline-start: 0; grid-template-columns: 260px 1fr; }
}

@media (max-width: 900px) {
	:root { --header-h: 72px; }
	body { font-size: 16px; }

	.nav-toggle { display: block; margin-inline-start: auto; }
	.nav {
		position: fixed; inset: 0; z-index: -1; margin: 0;
		background: var(--ink-2); display: flex; align-items: center; justify-content: center;
		visibility: hidden; opacity: 0;
	}
	.nav__list { flex-direction: column; align-items: center; gap: 10px; }
	.nav__list a, .nav__list a.is-current { font-size: 24px; font-weight: 500; color: rgba(255, 255, 255, .85); background: none; box-shadow: none; }
	.nav-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.nav-open .brand__logo--dark { opacity: 0; }
	.nav-open .brand__logo--light { opacity: 1; }
	/* backdrop-filter would make the header the containing block of the fixed menu */
	.site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(247, 246, 242, .97); }
	.brand__logo { height: 40px; }

	.section-head--split { grid-template-columns: 1fr; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { max-width: 560px; width: 100%; margin-inline: auto; padding-inline-end: 24px; }
	.hero__photo { aspect-ratio: 4 / 3.4; }
	.stamp { width: 116px; height: 116px; top: -22px; inset-inline-start: -10px; }
	.stamp::after { inset: 32px; }
	.stamp__center { font-size: 16px; }

	.about__grid, .team__grid, .why__grid { grid-template-columns: 1fr; }
	.team__media { order: -1; }
	.vmg__grid { grid-template-columns: 1fr; }

	.bento { grid-template-columns: 1fr 1fr; }
	.bento__intro { grid-column: span 2; grid-row: auto; min-height: 300px; }

	.svc__toggle { grid-template-columns: 44px 1fr 44px; gap: 14px; padding: 20px 0; }
	.svc__index { display: none; }
	.svc__icon { width: 44px; height: 44px; border-radius: 12px; }
	.svc__plus { width: 44px; height: 44px; }
	.svc__content { grid-template-columns: 1fr; gap: 20px; padding-bottom: 28px; }
	.svc__media { aspect-ratio: 16 / 8; }
	.svc-cursor { display: none; }

	/* Timeline goes vertical */
	.timeline { grid-template-columns: 1fr; gap: 16px; }
	.timeline__track { top: 10px; bottom: 10px; inset-inline: auto; inset-inline-start: 28px; width: 2px; height: auto; }
	.timeline__fill { transform: scaleY(0); transform-origin: top center; }
	.tl-step { flex-direction: row; align-items: flex-start; text-align: start; gap: 18px; }
	.tl-step__marker { flex: none; }
	.tl-step__card { margin-top: 0; }

	.why__aside { position: static; }
	.why-card:nth-child(even) { transform: none; }

	.contact__card { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	.section { padding-block: 70px; }
	.hero__title { font-size: clamp(38px, 11vw, 52px); }
	.hero__actions .btn { flex: 1 1 auto; }
	.hero__stats { margin-top: 36px; }
	.hero-stat { padding-inline-end: 12px; }
	.hero-stat + .hero-stat { padding-inline-start: 12px; }
	.hero-stat__label { font-size: 12.5px; }
	.report-card { width: 82%; padding: 16px 16px 12px; }
	.report-card__list li { padding-block: 6px; font-size: 13px; }
	.report-card__bar { display: none; }

	.statement { margin-bottom: 44px; }
	.bento { grid-template-columns: 1fr; }
	.bento__intro, .value-tile--wide { grid-column: auto; }
	.value-tile { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 20px 18px; }
	.value-tile__top { grid-row: span 2; margin: 0; align-self: start; }
	.value-tile__index { display: none; }
	.value-tile__title { font-size: 18px; margin-bottom: 4px; }
	.vmg-card { padding: 28px 24px; }

	.svc__name { font-size: 18px; }
	.svc__en { font-size: 12px; }
	.svc__offers { grid-template-columns: 1fr; }

	.why__cards { grid-template-columns: 1fr; }
	.field-row { flex-direction: column; gap: 0; }
	.contact__value { font-size: 16px; }
	.contact__info .btn { width: 100%; }
	.site-footer { padding-top: 60px; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__bottom { flex-direction: column; }
}

@media (max-width: 380px) {
	body { font-size: 15px; }
	.btn { padding: 0 20px; font-size: 15px; }
	.brand__logo, .is-scrolled .brand__logo { height: 34px; }
	.hero__stats { flex-wrap: wrap; row-gap: 16px; }
	.hero-stat__num { font-size: 28px; }
}

@media (max-height: 520px) and (orientation: landscape) {
	.nav__list { gap: 2px; }
	.nav__list a, .nav__list a.is-current { font-size: 19px; }
	.why__aside { position: static; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
	.js .reveal, .js .hero__text, .js .hero__visual { visibility: visible; }
	.timeline__fill { transform: none !important; }
}

/* ---------- Elementor ---------- */
.page--builder { padding-top: var(--header-h); }
/* Theme widgets are full-bleed sections: drop Elementor's spacing between them. */
.elementor-widget[class*="elementor-widget-taqreer-"] { margin-block-end: 0 !important; }
.elementor-element .elementor-widget[class*="elementor-widget-taqreer-"] > .elementor-widget-container { padding: 0; }
/* Elementor resets `.elementor img { height: auto }`, which would undo the cover photos. */
.elementor .hero__img,
.elementor .clip-reveal img,
.elementor .svc__media img,
.elementor .svc-cursor img { height: 100%; }
.elementor .bento__img { height: 55%; }
/* Inside the editor everything is shown as-is, without scroll animations. */
.taqreer-editor .reveal, .taqreer-editor .hero__text, .taqreer-editor .hero__visual { visibility: visible; }
.taqreer-editor .timeline__fill { transform: none; }
.taqreer-editor .svc-cursor { display: none; }
