/* ==========================================================
   Hasan Rizvi — Senior Corporate Legal Counsel, UAE
   ========================================================== */
:root {
  /* Hasan Rizvi palette: navy + gold, warmed-up neutrals */
  --black: #081b30;
  --white: #fff;
  --grey: #e8e7e3;
  --grey-2: #f5f4f1;
  --line: #ded9cd;
  --purple: #8c7530;
  --gold: #8c7530;
  --gold-soft: #9c8a55;
  --red: #e0282e;
  --font: "Outfit", "Lufga", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --pad: clamp(16px, 2.2vw, 40px);
  --header-h: 72px;
  --topbar-h: 36px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul { list-style: none; }

h1, h2, h3, .section-title, .intro__title, .eco__heading { font-family: var(--font-serif); }

.container { max-width: 1520px; margin: 0 auto; padding: 0 var(--pad); }

.eyebrow { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.eyebrow--light { color: var(--gold); }

/* ---------- Focus states ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, .tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Buttons & arrows ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 500; font-size: 17px; padding: 20px 30px; transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.btn--black { background: var(--black); color: var(--white); border: 1px solid var(--black); }
.btn--black:hover { background: var(--white); color: var(--black); }
.btn--gold { background: var(--gold); color: var(--white); border: 1px solid var(--gold); font-weight: 600; }
.btn--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn--outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.55); }
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.link-gold { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 600; font-size: 17px; border-bottom: 1px solid transparent; transition: border-color .3s; }
.link-gold:hover { border-color: var(--gold); }
.arrow-gold { display: inline-block; transition: transform .3s var(--ease); }
.link-gold:hover .arrow-gold { transform: translateX(6px); }
.link-plain { font-size: 15px; font-weight: 500; color: #666; text-decoration: underline; text-underline-offset: 3px; }
.link-plain:hover { color: var(--black); }

.arrow { display: inline-block; width: 26px; height: 12px; position: relative; vertical-align: middle; transition: transform .3s var(--ease); }
.arrow::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 1.5px; background: currentColor; transform: translateY(-50%); }
.arrow::after { content: ""; position: absolute; right: 1px; top: 50%; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.arrow--dark { color: var(--black); }
a:hover .arrow { transform: translateX(6px); }

.diamond-arrow { display: inline-block; width: 30px; height: 30px; position: relative; }
.diamond-arrow::before { content: ""; position: absolute; inset: 4px; border: 1px solid currentColor; transform: rotate(45deg); transition: background .3s; }
.diamond-arrow::after { content: "→"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; }
a:hover .diamond-arrow::before { background: var(--black); }
a:hover .diamond-arrow::after { color: var(--white); }

/* ---------- Top bar (office hours / email) — addition, sits above the unchanged nav row ---------- */
.topbar { height: var(--topbar-h); display: flex; align-items: center; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.2); transition: border-color .35s; }
.header.is-solid .topbar, .header:hover .topbar { border-bottom-color: var(--line); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 20px; flex-wrap: wrap; }
.topbar a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; flex-direction: column; transition: background .35s, color .35s, box-shadow .35s; }
.header.is-solid, .header:hover { background: var(--white); color: var(--black); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.header__inner { height: var(--header-h); display: flex; align-items: center; padding-left: var(--pad); }

.logo { display: inline-flex; align-items: center; gap: 4px; }
header .logo__img { height: 52px; width: auto; display: block; background: none; filter: invert(0%) brightness(0%);}
.logo__img { height: 52px; width: auto; display: block; background: none;}
.footer .logo__img { height: 52px; width: auto; display: block; background: none;}

.nav { margin-left: clamp(24px, 4vw, 64px); flex: 1; }
.nav__list { display: flex; gap: clamp(18px, 4vw, 56px); }
.nav__link { font-size: 18px; display: flex; align-items: center; height: var(--header-h); position: relative; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__item:hover .nav__link::after { transform: scaleX(1); }

.mega { position: absolute; left: 0; right: 0; top: calc(var(--topbar-h) + var(--header-h)); background: var(--white); color: var(--black); display: flex; gap: 80px; padding: 40px calc(var(--pad) + 180px); border-top: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .3s var(--ease); box-shadow: 0 20px 30px rgba(0,0,0,.06); }
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: none; }
.mega__col h4 { font-weight: 600; font-size: 18px; margin-bottom: 16px; font-family: var(--font); }
.mega__col a { display: block; font-size: 16px; padding: 6px 0; color: #444; }
.mega__col a:hover { color: var(--black); text-decoration: underline; }

.header__actions { display: flex; align-items: center; gap: 22px; }
.icon-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.header__cta { height: 48px; padding: 0 22px; font-size: 16px; margin-left: 12px; }
.header:not(.is-solid):not(:hover) .header__cta { border-color: var(--black); }

.burger { display: none; width: 44px; height: 44px; position: relative; margin-right: var(--pad); }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: .3s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.search-bar { position: absolute; top: calc(var(--topbar-h) + var(--header-h)); left: 0; right: 0; background: var(--white); color: var(--black); display: flex; align-items: center; padding: 0 var(--pad); height: 0; overflow: hidden; transition: height .35s var(--ease); border-top: 1px solid transparent; }
.search-bar.is-open { height: 90px; border-top-color: var(--line); }
.search-bar input { flex: 1; font: inherit; font-size: 26px; border: 0; outline: 0; border-bottom: 1px solid var(--black); padding: 10px 0; }
.search-bar__close { font-size: 40px; margin-left: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: var(--black); color: var(--white); }
.hero__warp { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; }
.hero__slides { position: relative; z-index: 1; height: 100%; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; display: grid; place-items: center; text-align: center; background-size: cover; background-position: center; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(8,27,48,0) 0%, rgba(8,27,48,.25) 78%, rgba(8,27,48,.5) 100%); }
.hero__slide--photo::after { background: linear-gradient(180deg, rgba(8,27,48,.55) 0%, rgba(8,27,48,.35) 45%, rgba(8,27,48,.7) 100%); }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__content { position: relative; z-index: 2; max-width: 900px; padding: 0 var(--pad); transform: translateY(20px); opacity: 0; transition: .9s var(--ease) .3s; }
.hero__slide.is-active .hero__content { transform: none; opacity: 1; }
.hero h1 { font-weight: 600; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.25; letter-spacing: -.5px; }
.hero__link { display: inline-flex; align-items: center; gap: 14px; font-size: 18px; margin-top: 34px; }

.hero__dots { position: absolute; right: var(--pad); bottom: 38%; z-index: 3; display: flex; gap: 6px; }
.hero__dot { width: 18px; height: 22px; position: relative; }
.hero__dot::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.55); transform: rotate(40deg); transition: background .3s, width .3s; }
.hero__dot.is-active::before { background: var(--white); width: 4px; }

.hero__down { position: absolute; right: var(--pad); bottom: 50px; z-index: 3; width: 34px; height: 34px; display: grid; place-items: center; }
.hero__down::before { content: ""; position: absolute; inset: 5px; background: var(--black); transform: rotate(45deg); }
.hero__down svg { position: relative; width: 14px; height: 14px; fill: none; stroke: var(--white); stroke-width: 2.2; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(3px); } }


/* ---------- About ---------- */
.about { padding-top: 100px; padding-bottom: 100px; }
.about__grid { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--grey); border-radius: 4px; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__title { font-weight: 600; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -.3px; margin-bottom: 22px; }
.about__text p { font-size: 18px; line-height: 1.65; color: #333; max-width: 560px; }
.about__text p + p { margin-top: 18px; }
.about__text strong { color: var(--gold); font-weight: 600; }
.about__ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-title { font-weight: 600; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.2; letter-spacing: -.3px; max-width: 900px; }
.section-title--sm { font-size: clamp(28px, 3vw, 42px); }

/* ---------- Practice Areas ---------- */
.practice { padding-top: 90px; padding-bottom: 100px; }
.practice__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 50px; }
.pa-card { background: var(--white); border: 1px solid var(--line); padding: 36px 30px 34px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pa-card:hover { transform: scale(1.03); box-shadow: 0 22px 44px rgba(8,27,48,.14); }
.pa-icon { width: 62px; height: 62px; border-radius: 50%; background: var(--black); color: var(--gold-soft); display: grid; place-items: center; margin-bottom: 24px; }
.pa-icon svg { width: 28px; height: 28px; }
.pa-card h3 { font-family: var(--font); font-weight: 600; font-size: 19px; line-height: 1.35; margin-bottom: 10px; }
.pa-card p { font-size: 15px; line-height: 1.55; color: #555; margin-bottom: 20px; }
.pa-card .more { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; }
.practice__cta { text-align: center; margin-top: 56px; }

/* ---------- Why Choose Us ---------- */
.why { background: var(--black); color: var(--white); padding: 90px 0; }
.why__divider { width: 64px; height: 3px; background: var(--gold); margin: 4px 0 42px; }
.why__bullets { display: flex; gap: 44px; flex-wrap: wrap; font-size: 18px; font-weight: 500; }
.why__bullets li { display: flex; align-items: center; gap: 10px; }
.why__bullets .check { color: var(--gold); font-weight: 700; font-size: 18px; }
.why__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 70px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 50px; }
.stat { text-align: center; }
.stat__num { display: block; font-family: var(--font-serif); font-size: clamp(30px, 3.6vw, 48px); color: var(--gold-soft); font-weight: 600; line-height: 1; }
.stat__num--static { font-size: clamp(24px, 2.8vw, 36px); }
.stat__label { display: block; margin-top: 10px; font-size: 14px; letter-spacing: .5px; color: rgba(255,255,255,.75); }

/* ---------- Client Logos ---------- */
.logos { padding: 60px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos__label { text-align: center; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #888; margin-bottom: 32px; }
.logos__strip { display: flex; justify-content: space-between; align-items: center; gap: 40px; overflow-x: auto; padding-bottom: 4px; }
.logo-chip { flex: none; font-family: var(--font-serif); font-weight: 600; font-size: 20px; color: var(--black); opacity: .35; filter: grayscale(1); transition: opacity .3s; white-space: nowrap; }
@media (hover: hover) { .logo-chip:hover { opacity: 1; } }
.logo-chip--img { height: 28px; width: auto; }

/* ---------- Representative Matters / Tabs ---------- */
.matters { padding-top: 90px; padding-bottom: 100px; }
.tabs__list { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-top: 40px; flex-wrap: wrap; }
.tab { padding: 16px 22px; font-size: 16px; font-weight: 500; color: #777; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .25s, border-color .25s; }
.tab:hover { color: var(--black); }
.tab[aria-selected="true"] { color: var(--black); border-color: var(--gold); font-weight: 600; }
.tab-panel { padding: 40px 0 0; }
.tab-panel ul { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.tab-panel li { font-size: 18px; line-height: 1.55; padding-left: 24px; position: relative; color: #333; }
.tab-panel li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.tab-panel strong { color: var(--black); font-weight: 600; }

/* ---------- Carousel ---------- */
.carousel { overflow: hidden; }
.carousel__track { display: flex; gap: 25px; transition: transform .7s var(--ease); cursor: grab; }
.carousel__track.dragging { transition: none; cursor: grabbing; }
.carousel-controls { display: flex; justify-content: flex-end; gap: 20px; margin: 60px 0 28px; }
.diamond-btn { width: 40px; height: 40px; position: relative; display: grid; place-items: center; }
.diamond-btn::before { content: ""; position: absolute; inset: 7px; background: var(--grey); transform: rotate(45deg); transition: background .3s; }
.diamond-btn svg { position: relative; width: 18px; height: 18px; fill: none; stroke: var(--black); stroke-width: 1.8; }
.diamond-btn:hover::before { background: var(--black); }
.diamond-btn:hover svg { stroke: var(--white); }
.diamond-btn:disabled { opacity: .4; pointer-events: none; }
.carousel-controls--dark .diamond-btn::before { background: #132840; }
.carousel-controls--dark .diamond-btn svg { stroke: var(--white); }
.carousel-controls--dark .diamond-btn:hover::before { background: var(--white); }
.carousel-controls--dark .diamond-btn:hover svg { stroke: var(--black); }

/* ---------- Properties (Testimonials) ---------- */
.properties { background: var(--black); color: var(--white); padding: 100px 0 150px; }
.link-white { font-size: 17px; font-weight: 500; padding-bottom: 12px; border-bottom: 1px solid transparent; transition: border-color .3s; }
.link-white:hover { border-color: var(--white); }
.carousel--bleed { padding-left: 0; }
.carousel--bleed .carousel__track { gap: 25px; }
.pcard { flex: 0 0 min(62vw, 870px); background: var(--grey); color: var(--black); padding: 40px 45px 38px; user-select: none; }
.pcard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.pcard h3 { font-weight: 600; font-size: 22px; }
.pcard__head p { font-style: italic; font-size: 20px; color: #444; margin-top: 8px; font-family: var(--font); }
.pcard__badge { font-size: 10px; letter-spacing: 2px; border-top: 1px solid #888; border-bottom: 1px solid #888; padding: 4px 6px; color: #666; }
.pcard__img { margin-top: 38px; width: 74%; aspect-ratio: 16 / 10; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .8s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.tags { display: flex; gap: 12px; }
.tags span { background: var(--white); border-radius: 8px; padding: 10px 16px; font-size: 16px; }

/* ---------- Speak With Hasan ---------- */
.speak { background: var(--grey-2); padding: 100px 0; }
.speak__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.speak__title { font-weight: 500; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.15; }
.speak__title em { font-style: italic; font-weight: 500; display: block; }
.speak__info { font-size: 16px; color: var(--black); margin-top: 18px; }
.speak__info:first-of-type { margin-top: 36px; }
.speak__cta { margin-top: 30px; }
.speak__imgs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.speak__img { width: 100%; object-fit: cover; }
.speak__img--tl { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; }
.speak__img--bl { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 3; }
.speak__img--r { grid-column: 2; grid-row: 1 / span 2; height: 100%; aspect-ratio: 3 / 5; }

/* ---------- Ecosystem (Career & Recognition) ---------- */
.ecosystem { padding-top: 70px; padding-bottom: 60px; }
.eco__heading { font-weight: 600; font-size: 40px; position: sticky; top: calc(var(--header-h) + 0px); background: var(--white); z-index: 5; padding: 10px 0 20px; }
.eco { padding: 30px 0 60px; }
.eco__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-logo { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; font-size: 28px; letter-spacing: -.3px; line-height: 1; font-family: var(--font); }
.mini-logo i { width: 20px; height: 20px; border: 2px solid currentColor; transform: rotate(45deg) scale(.8); position: relative; }
.mini-logo i::after { content: ""; position: absolute; inset: 4px; background: currentColor; }
.eco__brand { display: flex; flex-direction: column; }
.eco__name { font-size: 26px; margin-top: 4px; font-family: var(--font-serif); }
.eco__name--sm { font-size: 20px; }
.eco__text p { font-size: 20px; line-height: 1.55; max-width: 560px; }
.more { display: inline-flex; align-items: center; gap: 18px; font-size: 16px; font-weight: 500; margin-top: 22px; }
.eco__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 50px; }
.eco__imgs img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- What's on (Insights) ---------- */
.whats-on { background: var(--purple) repeating-linear-gradient(-55deg, transparent 0 60px, rgba(255,255,255,.18) 60px 61.5px) ; background-size: 100% 100%; color: var(--white); padding: 70px 0 190px; position: relative; }
.whats-on::before { content: ""; position: absolute; inset: 0; background: var(--purple); clip-path: polygon(0 0, 55% 0, 35% 100%, 0 100%); }
.whats-on .container { position: relative; }
.wo__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 26px; margin-top: 60px; }
.wo__label { font-weight: 500; font-size: 22px; margin-bottom: 22px; }
.news { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; border-top: 1px solid rgba(255,255,255,.3); }
.news__item { display: flex; gap: 16px; padding: 24px 22px; border-bottom: 1px solid rgba(255,255,255,.3); min-height: 196px; }
.news__item img { width: 100px; height: 100px; object-fit: cover; flex: none; }
.news__item span { font-size: 18px; }
.news__item p { font-size: 18px; line-height: 1.4; margin-top: 8px; max-width: 200px; }
.news__item:hover p { text-decoration: underline; }
.event { display: block; }
.event img { width: 100%; aspect-ratio: 3 / 3.3; object-fit: cover; }
.event__date { display: block; font-weight: 600; font-size: 15px; margin-top: 18px; }
.event__title { display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: 24px; margin-top: 8px; }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; padding: 150px var(--pad) 50px; max-width: 760px; margin: 0 auto; }
.newsletter h2 { font-weight: 600; font-size: 34px; }
.newsletter__lead { font-weight: 500; font-size: 22px; color: #333; margin-top: 26px; }
.newsletter__text { font-size: 21px; line-height: 1.5; color: #333; margin-top: 26px; }
.slashes { height: 18px; width: 290px; margin: 40px auto 36px; background: repeating-linear-gradient(-60deg, transparent 0 14px, #c7c7c7 14px 15.5px); }
.pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.pill { background: var(--grey); padding: 12px 20px; border-radius: 10px; font-size: 16px; font-weight: 500; transition: .25s; }
.pill:hover { background: #dcdcdc; }
.pill.is-active { background: var(--black); color: var(--white); }
.nl-form { max-width: 740px; margin: 0 auto; text-align: left; position: relative; }
.contact-form .wpcf7-form { position: relative; }
.err { color: var(--red); font-size: 14px; margin-top: 12px; display: none; }
.err.show { display: block; }
.ok { color: #1a8b3a; font-size: 15px; margin-top: 14px; display: none; }
.ok.show { display: block; }
.nl-input { display: flex; align-items: center; border-bottom: 1px solid var(--line); margin-top: 26px; }
.nl-input input { flex: 1; font: inherit; font-size: 19px; padding: 18px 0; border: 0; outline: 0; background: none; }
.nl-input input::placeholder { color: #999; }
.nl-input button { display: flex; align-items: center; gap: 16px; font-weight: 500; font-size: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); margin-top: 50px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 60px var(--pad) 50px calc(var(--pad) + 30px); }
.logo--white .logo__img { height: 62px; }
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 32px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 46px; max-width: 760px; }
.footer__links a { font-size: 16px; font-weight: 500; }
.footer__links a:hover { text-decoration: underline; }
.footer__bottom { display: flex; align-items: center; gap: 28px; }
.socials { display: flex; gap: 32px; }
.socials svg { width: 22px; height: 22px; transition: opacity .3s; }
.socials a:hover svg { opacity: .6; }
.footer__copy { border-top: 1px solid #142438; color: #8a93a0; font-size: 13px; padding: 18px var(--pad); }
.footer__copy-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; }
.footer__credit { display: inline-flex; align-items: center; gap: 8px; color: #8a93a0; transition: color .25s; }
.footer__credit:hover { color: var(--white); }
.footer__credit-logo { height: 22px; width: auto; padding: 2px 6px; border-radius: 3px; }

/* ---------- Floating ---------- */
.float-enquiry { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 90; background: var(--gold); color: var(--white); font-weight: 600; font-size: 16px; padding: 16px 30px; border: 1px solid var(--gold); transition: .3s; }
.float-enquiry:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.chat-btn { position: fixed; right: 12px; bottom: 12px; z-index: 95; display: flex; align-items: center; gap: 30px; background: var(--black); color: var(--white); border-radius: 8px 8px 0 0; padding: 12px 40px 12px 20px; font-size: 18px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.chat-btn svg { width: 26px; height: 26px; }
.chat-panel { position: fixed; right: 12px; bottom: 12px; width: 340px; height: 440px; background: var(--white); z-index: 96; box-shadow: 0 10px 40px rgba(0,0,0,.25); border-radius: 10px; display: flex; flex-direction: column; overflow: hidden; transform: translateY(20px); opacity: 0; visibility: hidden; transition: .3s var(--ease); }
.chat-panel.is-open { transform: none; opacity: 1; visibility: visible; }
.chat-panel__head { background: var(--black); color: var(--white); padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 17px; }
.chat-panel__head button { font-size: 28px; line-height: 1; }
.chat-panel__body { flex: 1; padding: 20px; background: var(--grey-2); }
.bubble { background: var(--white); padding: 12px 14px; border-radius: 10px; font-size: 15px; max-width: 80%; }
.chat-panel__foot input { width: 100%; border: 0; border-top: 1px solid var(--line); padding: 16px 20px; font: inherit; outline: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .mega { padding: 40px var(--pad); }
}
@media (max-width: 1024px) {
  .nav { position: fixed; top: calc(var(--topbar-h) + var(--header-h)); left: 0; right: 0; bottom: 0; background: var(--white); color: var(--black); margin: 0; padding: 30px var(--pad); transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto; }
  .nav-open .nav { transform: none; }
  .nav-open .header { background: var(--white); color: var(--black); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { height: auto; padding: 18px 0; font-size: 24px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .mega { display: none; }
  .burger { display: block; }
  .header__actions { margin-left: auto; gap: 12px; }
  .header__cta { display: none; }

  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }

  .practice__grid { grid-template-columns: 1fr; }

  .why__stats { grid-template-columns: repeat(2, 1fr); }

  .speak__inner { grid-template-columns: 1fr; gap: 40px; }

  .wo__grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; padding-left: var(--pad); }
  .footer__right { align-items: flex-start; }
  .footer__links { justify-content: flex-start; }
  .footer__bottom { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  :root { --header-h: 62px; --topbar-h: 30px; }
  .topbar { font-size: 11px; }
  .intro__row, .section-head { flex-direction: column; align-items: flex-start; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .about { padding-top: 70px; padding-bottom: 70px; }
  .why__bullets { flex-direction: column; gap: 16px; }
  .logos__strip { justify-content: flex-start; }
  .speak { padding: 70px 0; }
  .eco__row, .eco__imgs { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .chat-btn { padding: 12px 16px; gap: 10px; font-size: 15px; }
  .float-enquiry { left: 12px; transform: none; padding: 14px 18px; font-size: 14px; }
  .chat-panel { width: calc(100vw - 24px); }
}
img { background: #d6d6d6; }

/* ---------- Testimonial ticker (addition, global — every page) ---------- */
.ticker { margin-top: calc(var(--topbar-h) + var(--header-h)); background: var(--grey-2); border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; padding: 14px 0; }
.ticker__track { display: inline-flex; gap: 60px; animation: ticker-scroll 36s linear infinite; }
.ticker__item { font-size: 15px; color: #333; white-space: nowrap; }
.ticker__item strong { color: var(--black); font-weight: 600; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Contact Form 7 integration ---------- */
/* CF7 wraps each field's label+input in an auto-generated <p> (its own
   form-tag processor does this regardless of how the template is written)
   — harmless in the block-flow .field layout, but inside the flex
   .nl-input it means the <p> (not the input/button) is the actual flex
   child, so the original `.nl-input input { flex:1 }` rule no longer
   matches anything. Target the <p> itself instead. */
.nl-input p { display: flex; align-items: center; width: 100%; margin: 0; }
.nl-input .wpcf7-form-control-wrap { flex: 1; display: block; }
.contact-form .field p { margin: 0; }
.wpcf7-form-control-wrap { display: block; width: 100%; }

/* Response/validation styling — CF7's own stylesheet gives this a bright
   blue/green/red/orange border by default, clashing with the theme. */
.wpcf7-response-output { margin: 0 0 22px !important; padding: 16px 20px; border: 1px solid var(--line) !important; font-size: 15px; border-radius: 0; background: var(--grey-2); color: var(--black); }
.wpcf7 form.sent .wpcf7-response-output { background: #e7f6ec; color: #1a8b3a; border-color: #b8e3c6 !important; position: absolute; bottom: -40px; width: 100%; }
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output { background: #fdecec; color: var(--red); border-color: #f3c6c6 !important; position: absolute; bottom: -40px; width: 100%; }
.wpcf7-not-valid-tip { color: var(--red); font-size: 13px; font-weight: 500; margin-top: 6px; }
.nl-input .wpcf7-not-valid-tip { position: absolute; margin-top: 4px; }

/* ---------- Article cards (Insights) ---------- */
.article-card__img { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 18px; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Inner-page banner (Expertise hub, sub-pages, Insights, Contact) ---------- */
.page-banner { position: relative; min-height: 42vh; display: flex; align-items: flex-end; background: var(--black) center/cover no-repeat; color: var(--white); }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,27,48,.45) 0%, rgba(8,27,48,.35) 45%, rgba(8,27,48,.75) 100%); }
.page-banner__inner { position: relative; z-index: 1; padding: 70px 0 50px; }
.page-banner h1 { font-weight: 600; font-size: clamp(30px, 3.6vw, 52px); }

/* ---------- Intro text (Expertise hub + sub-pages) ---------- */
.intro-text { max-width: 820px; font-size: 19px; line-height: 1.6; color: #333; padding: 70px var(--pad) 0; margin: 0 auto; }
.intro-text p + p { margin-top: 18px; }

/* ---------- Contact page ---------- */
.contact { background: var(--grey-2); padding: 90px 0 110px; }
.contact__inner { display: grid; grid-template-columns: .8fr 1fr; gap: 60px; align-items: start; }
.contact-info dl { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.contact-info dt { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 600; }
.contact-info dd { font-size: 18px; color: var(--black); margin-top: 4px; }
.contact-form { background: var(--white); padding: 44px; border: 1px solid var(--line); }
.contact-form .field { margin-bottom: 22px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid var(--line); background: #fff; outline: 0; }
.contact-form .btn--black { color: var(--white); background: var(--black); border-color: var(--black); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
.form-notice { padding: 16px 20px; margin-bottom: 26px; font-size: 15px; }
.form-notice--success { background: #e7f6ec; color: #1a8b3a; border: 1px solid #b8e3c6; }
.form-notice--error { background: #fdecec; color: var(--red); border: 1px solid #f3c6c6; }

@media (max-width: 1024px) {
  .contact__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar { font-size: 11px; }
  .contact-form { padding: 28px; }
}

/* ---------- 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;
    scroll-behavior: auto !important;
  }
  .hero__content > * { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}
