/*
Theme Name: Mudassar Virk Law
Description: Custom black & white editorial theme for Advocate Mudassar Maroof Virk, Chichawatni. Modern 2026 monochrome design.
Version: 1.0.0
Author: Chudu
*/

:root {
  --black: #0a0a0a;
  --ink: #141414;
  --white: #ffffff;
  --gray-700: #3d3d3d;
  --gray-500: #6f6f6f;
  --gray-300: #c9c9c9;
  --gray-200: #e9e9e9;
  --gray-100: #f4f4f4;
  --serif: "Fraunces", "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --pad: clamp(72px, 9vw, 130px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--black); color: var(--white); }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
section { padding-top: var(--pad); padding-bottom: var(--pad); }

.eyebrow {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 600; color: var(--gray-500); margin-bottom: 18px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
.sec-title { font-size: clamp(32px, 4.4vw, 54px); margin-bottom: 14px; }
.sec-lead { color: var(--gray-500); font-size: 17px; max-width: 640px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; font-size: 15px; font-weight: 600;
  text-decoration: none; border: 1px solid var(--black);
  transition: background .25s, color .25s, transform .25s;
  cursor: pointer; font-family: var(--sans);
}
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #2a2a2a; transform: translateY(-2px); }
.btn-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-light:hover { background: var(--white); color: var(--black); }
.btn-ghost { background: transparent; color: var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--white); }

/* ---------- top bar ---------- */
.topbar { background: var(--black); color: #cfcfcf; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .tb-right { display: flex; gap: 22px; align-items: center; }
.topbar .tb-wa { border: 1px solid rgba(255,255,255,.35); padding: 4px 14px; border-radius: 100px; font-weight: 600; }
.topbar .tb-wa:hover { background: #fff; color: #000; }

/* ---------- nav ---------- */
.site-nav { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-200); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand { text-decoration: none; line-height: 1.25; }
.brand .b-name { font-family: var(--serif); font-size: 20px; font-weight: 700; display: block; }
.brand .b-sub { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gray-500); }
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: var(--black); transition: width .25s; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { border: 1px solid var(--black); padding: 10px 22px !important; font-weight: 600 !important; white-space: nowrap; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--black); color: #fff; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--black); margin: 6px 0; transition: .3s; }
.nav-contact { display: none; }

/* ---------- hero ---------- */
.hero { background: var(--black); color: var(--white); padding: 0; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding-top: clamp(60px, 7vw, 110px); padding-bottom: clamp(60px, 7vw, 110px); }
.hero .eyebrow { color: #9a9a9a; }
.hero h1 { font-size: clamp(42px, 5.6vw, 76px); margin-bottom: 22px; }
.hero h1 em { font-style: italic; font-weight: 500; }
.hero p.lead { color: #bdbdbd; font-size: 18px; max-width: 520px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-chips { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-chips span { border: 1px solid rgba(255,255,255,.25); border-radius: 100px; padding: 8px 18px; font-size: 13px; color: #d6d6d6; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; border-radius: 4px; filter: grayscale(35%) contrast(1.05); }
.hero-photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 4px; pointer-events: none; }
.hero-badge { position: absolute; left: -26px; bottom: 34px; background: var(--white); color: var(--black); padding: 16px 22px; border-radius: 4px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.hero-badge .hb-num { font-family: var(--serif); font-size: 30px; font-weight: 700; display: block; line-height: 1; }
.hero-badge .hb-txt { font-size: 12.5px; color: var(--gray-500); }

/* ---------- creed strip ---------- */
.creed { border-bottom: 1px solid var(--gray-200); padding-top: 34px; padding-bottom: 34px; }
.creed .wrap { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.creed-item { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 15px; }
.creed-item .tick { width: 34px; height: 34px; border: 1px solid var(--black); border-radius: 50%; display: grid; place-items: center; font-size: 16px; flex: none; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about-photo img { border-radius: 4px; filter: grayscale(100%) contrast(1.06); }
.about-photo { position: relative; }
.about-photo::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--black); border-radius: 4px; z-index: -1; }
.about-copy p { color: var(--gray-700); margin-bottom: 18px; font-size: 16.5px; }
.about-sign { font-family: var(--serif); font-style: italic; font-size: 22px; margin-top: 8px; }
.about-role { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-500); }

/* ---------- practice areas ---------- */
.practice { background: var(--gray-100); }
.p-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.p-card { background: var(--white); border: 1px solid var(--gray-200); padding: 38px 34px; border-radius: 4px; transition: background .3s, color .3s, transform .3s; position: relative; }
.p-card:hover { background: var(--black); color: var(--white); transform: translateY(-4px); }
.p-card .p-num { font-size: 13px; letter-spacing: 2px; color: var(--gray-500); margin-bottom: 14px; display: block; }
.p-card:hover .p-num { color: #9a9a9a; }
.p-card h3 { font-size: 25px; margin-bottom: 12px; }
.p-card p { font-size: 15px; color: var(--gray-500); }
.p-card:hover p { color: #c9c9c9; }
.p-card .p-arrow { position: absolute; right: 28px; bottom: 26px; font-size: 22px; transition: transform .3s; }
.p-card:hover .p-arrow { transform: translateX(6px); }

/* ---------- why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border: 1px solid var(--gray-200); border-radius: 4px; overflow: hidden; }
.why-item { padding: 36px 32px; border-right: 1px solid var(--gray-200); }
.why-item:last-child { border-right: 0; }
.why-item:nth-child(even) { background: var(--gray-100); }
.why-item .w-ico { font-size: 30px; margin-bottom: 16px; display: block; }
.why-item h3 { font-size: 20px; margin-bottom: 10px; font-family: var(--sans); font-weight: 700; }
.why-item p { font-size: 14.5px; color: var(--gray-500); }

/* ---------- profile ---------- */
.profile { background: var(--black); color: var(--white); }
.profile .eyebrow { color: #9a9a9a; }
.profile-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.profile-photo img { border-radius: 4px; filter: grayscale(100%) contrast(1.08); }
.profile-copy h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 8px; }
.profile-title { color: #9a9a9a; letter-spacing: 2.5px; text-transform: uppercase; font-size: 13px; margin-bottom: 24px; }
.profile-copy p { color: #c4c4c4; margin-bottom: 16px; font-size: 16.5px; }
.profile-facts { list-style: none; margin: 28px 0; border-top: 1px solid rgba(255,255,255,.16); }
.profile-facts li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 15px; }
.profile-facts li span:first-child { color: #8f8f8f; }
.profile-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- insights ---------- */
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.ins-card { border: 1px solid var(--gray-200); border-radius: 4px; overflow: hidden; background: var(--white); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.ins-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0,0,0,.08); }
.ins-card .ins-body { padding: 28px 26px; display: flex; flex-direction: column; flex: 1; }
.ins-tag { font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-500); margin-bottom: 12px; font-weight: 600; }
.ins-card h3 { font-size: 21px; margin-bottom: 12px; }
.ins-card p { font-size: 14.5px; color: var(--gray-500); margin-bottom: 18px; }
.ins-card details { margin-top: auto; border-top: 1px solid var(--gray-200); padding-top: 16px; }
.ins-card summary { cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.ins-card summary::-webkit-details-marker { display: none; }
.ins-card summary::after { content: "+"; font-size: 20px; font-weight: 400; }
.ins-card details[open] summary::after { content: "–"; }
.ins-card details .ins-full { padding-top: 14px; font-size: 14.5px; color: var(--gray-700); }
.ins-card details .ins-full p { margin-bottom: 12px; }
.ins-read { font-weight: 600; font-size: 14.5px; margin-top: auto; padding-top: 16px; text-decoration: none; align-self: flex-start; border-bottom: 2px solid var(--black); padding-bottom: 2px; }
.ins-read:hover { opacity: .65; }
.disclaimer { margin-top: 26px; font-size: 13px; color: var(--gray-500); border-left: 3px solid var(--black); padding-left: 16px; max-width: 720px; }

/* ---------- faq ---------- */
.faq { background: var(--gray-100); }
.faq-list { margin-top: 40px; max-width: 820px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: 4px; margin-bottom: 14px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 22px 26px; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 34px; height: 34px; border: 1px solid var(--black); border-radius: 50%; background: linear-gradient(currentColor, currentColor) center/2px 14px no-repeat, linear-gradient(currentColor, currentColor) center/14px 2px no-repeat; }
.faq-item details[open] summary::after { background: linear-gradient(currentColor, currentColor) center/14px 2px no-repeat; }
.faq-item .faq-a { padding: 0 26px 24px; color: var(--gray-700); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--black); color: var(--white); text-align: center; }
.cta-band h2 { font-size: clamp(34px, 4.6vw, 60px); margin-bottom: 16px; }
.cta-band h2 em { font-style: italic; font-weight: 500; }
.cta-band p { color: #b5b5b5; max-width: 560px; margin: 0 auto 34px; font-size: 17px; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 44px; align-items: start; }
.c-form { background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 4px; padding: 38px 34px; }
.c-form h3 { font-size: 24px; margin-bottom: 8px; }
.c-form > p { font-size: 14.5px; color: var(--gray-500); margin-bottom: 24px; }
.f-row { margin-bottom: 16px; }
.f-row label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .5px; margin-bottom: 7px; }
.f-row input, .f-row select, .f-row textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--gray-300); border-radius: 3px; font-family: var(--sans); font-size: 15px; background: var(--white); }
.f-row input:focus, .f-row select:focus, .f-row textarea:focus { outline: 2px solid var(--black); outline-offset: -1px; }
.f-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.c-info-card { border: 1px solid var(--gray-200); border-radius: 4px; padding: 34px 30px; margin-bottom: 20px; }
.c-info-card h3 { font-size: 20px; margin-bottom: 14px; font-family: var(--sans); font-weight: 700; }
.c-info-card p, .c-info-card a { font-size: 15.5px; color: var(--gray-700); text-decoration: none; }
.c-info-card a:hover { color: var(--black); text-decoration: underline; }
.c-info-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.c-info-row .ico { width: 42px; height: 42px; border: 1px solid var(--black); border-radius: 50%; display: grid; place-items: center; font-size: 18px; flex: none; }
.c-bigbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.c-bigbtns .btn { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: #b9b9b9; padding-top: 70px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; padding-bottom: 54px; }
.foot-brand .b-name { font-family: var(--serif); font-size: 26px; color: #fff; font-weight: 700; }
.foot-brand .b-sub { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: #8a8a8a; margin-bottom: 18px; display: block; }
.foot-brand p { font-size: 14.5px; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.foot-links { list-style: none; }
.foot-links li { margin-bottom: 12px; }
.foot-links a { text-decoration: none; font-size: 14.5px; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px; padding-bottom: 90px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; color: #7d7d7d; }

/* ---------- mobile sticky bar ---------- */
.sticky-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: var(--black); border-top: 1px solid rgba(255,255,255,.15); }
.sticky-bar a { flex: 1; text-align: center; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; padding: 16px 0; }
.sticky-bar a:first-child { border-right: 1px solid rgba(255,255,255,.15); }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 300; width: 58px; height: 58px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; font-size: 26px; text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.25); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .burger { display: block; z-index: 260; position: relative; }
  .burger.open span { background: #fff; }
  .burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-links { position: fixed; inset: 0; background: var(--black); color: #fff; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 90px 48px 48px; transform: translateX(100%); transition: transform .35s; z-index: 250; margin: 0; }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: clamp(24px, 4vw, 30px); font-family: var(--serif); padding: 8px 0; }
  .nav-links a::after { background: #fff; }
  .nav-links .nav-cta { font-family: var(--sans); font-size: 16px; border-color: rgba(255,255,255,.7); margin-top: 16px; }
  .nav-contact { display: block; width: 100%; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
  .nav-contact a { font-family: var(--sans); font-size: 15px; color: #cfcfcf; display: block; padding: 6px 0; }
  .hero .wrap, .about-grid, .profile-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { max-width: 520px; }
  .p-grid, .ins-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: 0; border-bottom: 1px solid var(--gray-200); }
  .why-item:last-child { border-bottom: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .p-grid, .ins-grid, .f-2col, .c-bigbtns { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .sticky-bar { display: flex; }
  .wa-float { display: none; }
  .foot-bottom { padding-bottom: 110px; }
  .hero-badge { left: 12px; }
  .nav-links { padding: 90px 32px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
