/* ==========================================================================
   Advocate profile chrome — shared header + footer for the two
   Advocate Maryam Fatima pages (filex.co.in/advocate-maryam-fatima*).
   Self-contained: works both on the Tailwind-built profile page and on the
   pages that load the site's /assets/css/style.css. Every property that
   matters is set explicitly because Tailwind's preflight and style.css
   reset links, lists and images differently.
   Palette: her wine/rose-gold identity, distinct from the FileX navy chrome.
   ========================================================================== */

.amh, .amf {
  --am-wine: #0c1210;
  --am-wine-2: #16211d;
  --am-wine-3: #0c1210;
  --am-gold: #1f6f52;
  --am-gold-2: #2e8b68;
  --am-rose: #2e8b68;
  --am-cream: #f7f4ec;
  --am-muted: #c9c3b4;
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}
.amh *, .amf * { box-sizing: border-box; }
.amh a, .amf a { text-decoration: none; }
.amh ul, .amf ul { list-style: none; margin: 0; padding: 0; }
.amh img, .amf img { display: block; }
.amh-wrap, .amf-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; width: 100%; }

/* ---------- header: thin contact strip ---------- */
.amh { background: var(--am-wine); position: relative; z-index: 40; }
.amh-top { background: var(--am-wine-3); border-bottom: 1px solid rgba(31, 111, 82, 0.18); }
.amh-top .amh-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px;
}
.amh-since {
  font-size: 12px; color: var(--am-muted); letter-spacing: 0.02em; margin: 0;
}
.amh-since strong { color: var(--am-gold); font-weight: 600; }
.amh-top-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.amh-tel {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--am-cream);
}
.amh-tel i { color: var(--am-gold); font-size: 12px; }
.amh-tel:hover { color: var(--am-gold-2); }
.amh-wa {
  display: inline-flex; align-items: center; gap: 7px;
  background: #128C7E; color: #fff; font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}
.amh-wa:hover { background: #0f7a6d; }
.amh-mail { font-size: 12px; color: var(--am-muted); }
.amh-mail:hover { color: var(--am-gold); }

/* ---------- header: main bar ---------- */
.amh-main {
  background: linear-gradient(100deg, var(--am-wine-3) 0%, var(--am-wine-2) 55%, var(--am-wine) 100%);
  border-bottom: 1px solid rgba(31, 111, 82, 0.22);
}
.amh-main .amh-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-top: 12px; padding-bottom: 12px;
}
.amh-profile { display: flex; align-items: center; gap: 12px; min-width: 0; }
.amh-profile img {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  border: 2px solid rgba(31, 111, 82, 0.55);
}
.amh-profile-txt { display: block; min-width: 0; }
.amh-profile-txt strong {
  display: block; font-family: "Fraunces", Georgia, serif;
  font-size: 19px; line-height: 1.15; color: #fff; font-weight: 700;
}
.amh-profile-txt em {
  display: block; font-style: normal; font-size: 11px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--am-gold); margin-top: 2px;
}
.amh-nav { display: flex; align-items: center; gap: 4px; }
.amh-nav > a {
  display: inline-block; padding: 8px 12px; font-size: 14px; font-weight: 500;
  color: rgba(255, 255, 255, 0.84); border-radius: 8px;
}
.amh-nav > a:hover { color: var(--am-gold-2); background: rgba(255, 255, 255, 0.06); }
.amh-nav > a.is-current { color: var(--am-gold); }
.amh-call {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 10px;
  background: linear-gradient(135deg, var(--am-gold-2), var(--am-gold));
  color: var(--am-wine) !important; font-size: 13px; font-weight: 700;
  padding: 10px 16px; border-radius: 10px; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(31, 111, 82, 0.28);
}
.amh-call:hover { background: var(--am-gold-2); }
.amh-burger {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff; font-size: 17px; line-height: 1;
}
.amh-burger:hover { background: rgba(255, 255, 255, 0.14); }
.amh-mobile { display: none; border-top: 1px solid rgba(255, 255, 255, 0.12); background: var(--am-wine-3); }
.amh-mobile.is-open { display: block; }
.amh-mobile a {
  display: block; padding: 12px 16px; font-size: 15px; color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.amh-mobile a:last-child { border-bottom: 0; }
.amh-mobile a:hover { color: var(--am-gold); background: rgba(255, 255, 255, 0.05); }
.amh-mobile .amh-mob-call { color: var(--am-gold); font-weight: 700; }

/* ---------- footer ---------- */
.amf { background: var(--am-wine-3); color: var(--am-muted); }
.amf-wrap { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 34px; padding-top: 46px; padding-bottom: 38px; }
.amf-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.amf-brand .amf-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--am-gold-2), var(--am-gold)); color: var(--am-wine);
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 17px;
}
.amf-brand strong { display: block; color: #fff; font-size: 16px; font-family: "Fraunces", Georgia, serif; }
.amf-brand span { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--am-gold); }
.amf p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.7; }
.amf-adv {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(31, 111, 82, 0.2);
  border-radius: 12px; padding: 10px 12px;
}
.amf-adv img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(31, 111, 82, 0.45); }
.amf-adv strong { display: block; color: #fff; font-size: 14px; }
.amf-adv em { display: block; font-style: normal; font-size: 11px; color: var(--am-gold); letter-spacing: 0.04em; }
.amf-call {
  display: inline-flex; align-items: center; gap: 9px; margin: 4px 0 14px;
  background: linear-gradient(135deg, var(--am-gold-2), var(--am-gold)); color: var(--am-wine);
  font-weight: 700; font-size: 14px; padding: 11px 18px; border-radius: 10px;
}
.amf-call:hover { background: var(--am-gold-2); }
.amf-note { font-size: 11.5px; line-height: 1.65; color: #8d8578; }
.amf h4 {
  color: var(--am-gold); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  margin: 0 0 14px; font-family: "Inter Tight", sans-serif; font-weight: 700;
}
.amf-col li { margin-bottom: 9px; font-size: 13.5px; line-height: 1.55; }
.amf-col li a { color: var(--am-muted); }
.amf-col li a:hover { color: var(--am-gold-2); }
.amf-col li i { color: var(--am-gold); width: 16px; display: inline-block; margin-right: 6px; }
.amf-contact li { display: flex; align-items: flex-start; gap: 2px; }
.amf-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); background: rgba(0, 0, 0, 0.22); }
.amf-bottom .amf-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px;
}
.amf-bottom span, .amf-bottom a { font-size: 12px; color: #8d8578; }
.amf-bottom a:hover { color: var(--am-gold); }
.amf-policies { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .amh-nav { display: none; }
  .amh-burger { display: inline-flex; }
  .amf-wrap { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .amh-since, .amh-mail { display: none; }
  .amh-profile img { width: 44px; height: 44px; }
  .amh-profile-txt strong { font-size: 16px; }
  .amh-profile-txt em { font-size: 10px; }
  .amf-wrap { grid-template-columns: 1fr; gap: 26px; padding-top: 34px; padding-bottom: 28px; }
  .amf-bottom .amf-wrap { justify-content: center; text-align: center; }
  .amf-call { width: 100%; justify-content: center; }
}

/* ---- legible type floor: nothing meaningful below 11.5px ---- */
.amf-brand span, .amh-profile-txt em, .amf-adv em, .amf-adv a,
.text-\[10px\], .text-\[11px\], small { font-size: .73rem !important; }
.amf-brand span, .amf-adv em { letter-spacing: .13em; }
.amf-adv em { line-height: 1.5; }

/* native select chrome: keep option lists on-system instead of the browser blue */
select option { background: #f7f4ec; color: #0c1210; }
select:focus-visible { outline: 2px solid #1f6f52; outline-offset: 2px; }
