/* Reference-led refinement: warm, restrained and compact. */
body.fma-editorial {
  --ref-green: #0c4b3a;
  --ref-green-dark: #07382d;
  --ref-ink: #142c31;
  --ref-gold: #ae7d31;
  --ref-cream: #fbf8f2;
  --ref-line: #e5dccd;
  --ref-text: #495955;
}

body.fma-editorial .container { max-width: 1240px; }

/* Header */
body.fma-editorial #header.legal-header,
body.fma-editorial #header.legal-header.header-scrolled {
  background: rgba(255, 253, 249, .97);
  height: 96px;
}

body.fma-editorial .legal-logo { align-items: center; gap: 14px; }
body.fma-editorial .fma-brand-mark {
  display: block;
  flex: 0 0 58px;
  height: 56px;
  object-fit: contain;
  width: 58px;
}
body.fma-editorial .legal-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
  min-width: 178px;
}
body.fma-editorial .legal-brand-copy small,
body.fma-editorial .legal-brand-copy em {
  color: #55615d;
  font-family: Manrope, sans-serif;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
body.fma-editorial .legal-brand-copy strong {
  color: var(--ref-ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.05;
  margin: 4px 0;
  text-transform: uppercase;
}
body.fma-editorial .legal-brand-copy strong span { font: inherit; }
body.fma-editorial .navbar ul { align-items: center; gap: 2px; }
body.fma-editorial .navbar a,
body.fma-editorial .navbar a:focus {
  color: #263936;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 14px 13px;
  text-transform: none;
}
body.fma-editorial .navbar .nav-cta,
body.fma-editorial .navbar .nav-cta:focus {
  border-radius: 5px;
  font-size: 11px;
  margin-left: 10px;
  padding: 13px 17px;
}
body.fma-editorial .navbar .nav-cta i { font-size: 16px; margin-right: 6px; }

/* Homepage */
body.fma-reference #main { overflow: hidden; }
body.fma-reference .ref-hero {
  background-image: linear-gradient(90deg, rgba(251,248,242,.96) 0%, rgba(251,248,242,.88) 31%, rgba(251,248,242,.18) 52%, rgba(251,248,242,0) 70%), url("../img/optimized/hero-office-v2.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 610px;
  padding-top: 96px;
  position: relative;
}
body.fma-reference .ref-hero-inner { align-items: center; display: flex; min-height: 610px; }
body.fma-reference .ref-hero-copy { max-width: 585px; padding: 66px 0 92px; }
body.fma-reference .ref-eyebrow {
  color: var(--ref-gold);
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  margin-bottom: 13px;
  text-transform: uppercase;
}
body.fma-reference .ref-hero h1 {
  color: var(--ref-ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(42px, 4.25vw, 67px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.03;
  margin: 0 0 20px;
}
body.fma-reference .ref-hero h1 em { color: var(--ref-green); font-style: normal; }
body.fma-reference .ref-hero p {
  color: #33433f;
  font-size: 14px;
  line-height: 1.62;
  margin: 0;
  max-width: 515px;
}
body.fma-reference .ref-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
body.fma-reference .ref-btn {
  align-items: center;
  border: 1px solid var(--ref-green);
  border-radius: 4px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 9px;
  justify-content: center;
  min-height: 45px;
  padding: 11px 20px;
  transition: .2s ease;
}
body.fma-reference .ref-btn-primary { background: var(--ref-green); color: #fff; }
body.fma-reference .ref-btn-primary:hover { background: var(--ref-green-dark); border-color: var(--ref-green-dark); color: #fff; transform: translateY(-1px); }
body.fma-reference .ref-btn-outline { background: rgba(255,255,255,.55); color: var(--ref-green); }
body.fma-reference .ref-btn-outline:hover { background: #fff; color: var(--ref-green-dark); }
body.fma-reference .ref-btn .bi-whatsapp { font-size: 18px; }

body.fma-reference .ref-trust { margin-top: -44px; position: relative; z-index: 3; }
body.fma-reference .ref-trust-card {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--ref-line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(34, 43, 39, .08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 18px 14px;
}
body.fma-reference .ref-trust article {
  align-items: center;
  display: flex;
  gap: 15px;
  min-height: 52px;
  padding: 0 24px;
}
body.fma-reference .ref-trust article + article { border-left: 1px solid var(--ref-line); }
body.fma-reference .ref-trust article > i { color: var(--ref-gold); font-size: 30px; }
body.fma-reference .ref-trust strong { color: var(--ref-ink); display: block; font-size: 12px; margin-bottom: 2px; }
body.fma-reference .ref-trust span { color: #586460; display: block; font-size: 10px; line-height: 1.45; }

body.fma-reference .ref-section { padding: 74px 0; }
body.fma-reference .ref-heading { margin-bottom: 30px; }
body.fma-reference .ref-heading-center { text-align: center; }
body.fma-reference .ref-heading h2,
body.fma-reference .ref-about h2,
body.fma-reference .ref-contact-strip h2 {
  color: var(--ref-ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  letter-spacing: -.025em;
}
body.fma-reference .ref-heading h2 { font-size: clamp(30px, 3vw, 42px); margin: 0; }
body.fma-reference .ref-heading-center h2::after {
  background: var(--ref-gold);
  content: "";
  display: block;
  height: 2px;
  margin: 13px auto 0;
  width: 58px;
}

body.fma-reference .ref-services { background: #fffdf9; padding-bottom: 50px; padding-top: 64px; }
body.fma-reference .ref-services-heading { margin-bottom: 25px; }
body.fma-reference .ref-services-heading .ref-eyebrow { margin-bottom: 8px; }
body.fma-reference .ref-services-heading h2 { font-size: clamp(29px, 2.5vw, 37px); }
body.fma-reference .ref-services-heading h2::after { margin-top: 10px; width: 48px; }
body.fma-reference .ref-services-heading p {
  color: #68736f;
  font-size: 11px;
  line-height: 1.55;
  margin: 10px auto 0;
  max-width: 560px;
}
body.fma-reference .ref-service-grid { display: grid; gap: 10px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
body.fma-reference .ref-service-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--ref-line);
  border-radius: 7px;
  box-shadow: 0 4px 12px rgba(38, 50, 45, .03);
  display: flex;
  flex-direction: column;
  min-height: 218px;
  padding: 19px 12px 15px;
  text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.fma-reference .ref-service-card:hover { border-color: #c9b083; box-shadow: 0 10px 22px rgba(32, 55, 46, .08); transform: translateY(-3px); }
body.fma-reference .ref-service-card:focus-visible { box-shadow: 0 0 0 3px rgba(174, 125, 49, .18); outline: 2px solid var(--ref-gold); outline-offset: 2px; }
body.fma-reference .ref-service-icon {
  align-items: center;
  background: var(--ref-green);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.42), 0 5px 12px rgba(12,75,58,.12);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 23px;
  height: 52px;
  justify-content: center;
  margin-bottom: 12px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  width: 52px;
}
body.fma-reference .ref-service-card:hover .ref-service-icon { background: var(--ref-green-dark); color: #fff; transform: translateY(-1px); }
body.fma-reference .ref-service-card h3 { color: var(--ref-ink); font-family: "Source Serif 4", Georgia, serif; font-size: 18px; line-height: 1.15; margin: 0 0 7px; }
body.fma-reference .ref-service-card p { color: #64706c; font-size: 10px; line-height: 1.5; margin: 0; }
body.fma-reference .ref-card-link { align-items: center; color: var(--ref-gold); display: inline-flex; font-size: 9.5px; font-weight: 700; gap: 5px; margin-top: auto; padding-top: 10px; transition: color .2s ease; }
body.fma-reference .ref-service-card:hover .ref-card-link { color: #8f641f; }
body.fma-reference .ref-centered-link { margin-top: 20px; text-align: center; }
body.fma-reference .ref-centered-link a { color: var(--ref-green); font-size: 11px; font-weight: 700; }

body.fma-reference .ref-about { background: #f8f4ec; }
body.fma-reference .ref-about-grid { align-items: center; display: grid; gap: 48px; grid-template-columns: 1fr 1.1fr; }
body.fma-reference .ref-about-image { border-radius: 10px; height: 330px; margin: 0; overflow: hidden; }
body.fma-reference .ref-about-image img { height: 100%; object-fit: cover; width: 100%; }
body.fma-reference .ref-about h2 { font-size: clamp(31px, 3.1vw, 45px); line-height: 1.08; margin: 0 0 16px; }
body.fma-reference .ref-about-copy > p { color: #4e5c58; font-size: 12px; line-height: 1.75; margin: 0 0 16px; }
body.fma-reference .ref-checks { display: grid; gap: 9px 22px; grid-template-columns: 1fr 1fr; margin-bottom: 20px; }
body.fma-reference .ref-checks span { color: #334a43; font-size: 11px; }
body.fma-reference .ref-checks i { color: var(--ref-green); margin-right: 8px; }

body.fma-reference .ref-team { background: #fffdf9; padding-top: 56px; }
body.fma-reference .ref-team-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
body.fma-reference .ref-profile {
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--ref-line);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 250px;
  overflow: hidden;
}
body.fma-reference .ref-profile > img { align-self: stretch; background: #f3f0ea; display: block; height: 100%; min-height: 250px; min-width: 0; object-fit: cover; object-position: center 18%; width: 100%; }
body.fma-reference .ref-profile-copy { align-self: center; padding: 24px 26px; }
body.fma-reference .ref-profile h3 { color: var(--ref-ink); font-family: "Source Serif 4", Georgia, serif; font-size: 25px; line-height: 1.13; margin: 0 0 3px; }
body.fma-reference .ref-profile-copy > span { color: var(--ref-gold); font-size: 11px; font-weight: 700; }
body.fma-reference .ref-profile p { color: #5a6561; font-size: 11px; line-height: 1.55; margin: 13px 0; }
body.fma-reference .ref-profile a { border-bottom: 1px solid rgba(12,75,58,.45); color: var(--ref-green); font-size: 10px; font-weight: 700; padding-bottom: 3px; }

body.fma-reference .ref-contact-strip { background: #fffdf9; padding: 0 0 52px; }
body.fma-reference .ref-contact-card {
  align-items: center;
  background: linear-gradient(115deg, #fff 0%, #fcf8f0 100%);
  border: 1px solid var(--ref-line);
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(31,50,43,.04);
  display: grid;
  gap: 28px;
  grid-template-columns: 1.25fr 1.15fr auto;
  padding: 24px 32px;
}
body.fma-reference .ref-contact-intro { align-items: center; display: flex; gap: 18px; }
body.fma-reference .ref-contact-intro > i {
  align-items: center;
  background: #f0e7d7;
  border-radius: 50%;
  color: #8c6429;
  display: flex;
  flex: 0 0 66px;
  font-size: 29px;
  height: 66px;
  justify-content: center;
}
body.fma-reference .ref-contact-intro span { color: var(--ref-gold); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
body.fma-reference .ref-contact-strip h2 { font-size: 23px; line-height: 1.12; margin: 4px 0 0; }
body.fma-reference .ref-contact-card address { border-left: 1px solid var(--ref-line); display: flex; flex-direction: column; font-size: 10px; font-style: normal; gap: 5px; margin: 0; padding-left: 28px; }
body.fma-reference .ref-contact-card address a,
body.fma-reference .ref-contact-card address span { color: #40534d; }
body.fma-reference .ref-contact-card address i { color: var(--ref-green); margin-right: 7px; }

/* Compact shared footer */
body.fma-editorial #footer.legal-footer { background: var(--ref-green-dark); padding: 32px 0 0; }
body.fma-editorial .legal-footer .row { align-items: center; display: grid; gap: 28px; grid-template-columns: 1fr 1.45fr; margin: 0; }
body.fma-editorial .legal-footer .row > * { padding: 0; width: auto; }
body.fma-editorial .legal-footer .row > :nth-child(3),
body.fma-editorial .legal-footer .row > :nth-child(4) { display: none; }
body.fma-editorial .legal-footer-brand { display: grid; grid-template-columns: auto 1fr; }
body.fma-editorial .legal-footer-brand > p { align-self: center; font-size: 9px; grid-column: 2; margin: -7px 0 0; max-width: 280px; }
body.fma-editorial .legal-footer-identity { grid-row: 1 / span 2; }
body.fma-editorial .legal-footer-identity h3 { font-size: 15px; }
body.fma-editorial .fma-brand-mark-footer { flex-basis: 58px; height: 56px; width: 58px; }
body.fma-editorial .legal-footer .row > :nth-child(2) { display: flex; flex-wrap: wrap; gap: 7px 20px; justify-content: flex-end; }
body.fma-editorial .legal-footer .row > :nth-child(2) h4 { display: none; }
body.fma-editorial .legal-footer .row > :nth-child(2) a { color: rgba(255,255,255,.82); font-size: 9px; margin: 0; }
body.fma-editorial .fma-footer-socials { grid-column: 2; justify-self: start; margin: 4px 0 0 72px; }
body.fma-editorial .legal-copyright { font-size: 8px; margin-top: 24px; padding: 13px 0; }
body.fma-editorial .back-to-top {
  align-items: center;
  background: rgba(7,56,45,.96);
  border: 1px solid rgba(215,180,108,.72);
  bottom: 18px;
  box-shadow: 0 8px 22px rgba(3,22,18,.2);
  color: #d7b46c;
  display: flex;
  height: 38px;
  justify-content: center;
  left: auto;
  right: 18px;
  width: 38px;
}
body.fma-editorial .back-to-top i { color: #d7b46c; font-size: 22px; }
body.fma-editorial .back-to-top:hover { background: var(--ref-gold); border-color: var(--ref-gold); color: var(--ref-green-dark); transform: translateY(-2px); }
body.fma-editorial .back-to-top:hover i { color: var(--ref-green-dark); }

@media (max-width: 1199px) {
  body.fma-editorial .legal-brand-copy { min-width: 160px; }
  body.fma-editorial .navbar a,
  body.fma-editorial .navbar a:focus { padding-left: 9px; padding-right: 9px; }
  body.fma-editorial .navbar .nav-cta { margin-left: 3px; padding-left: 13px; padding-right: 13px; }
  body.fma-reference .ref-service-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
  body.fma-editorial #header.legal-header,
  body.fma-editorial #header.legal-header.header-scrolled { height: 78px; }
  body.fma-editorial .fma-brand-mark { flex-basis: 48px; height: 47px; width: 48px; }
  body.fma-editorial .legal-brand-copy strong { font-size: 13px; }
  body.fma-editorial .legal-brand-copy small,
  body.fma-editorial .legal-brand-copy em { font-size: 7px; }
  body.fma-editorial .navbar ul { align-items: stretch; gap: 0; }
  body.fma-editorial .navbar a,
  body.fma-editorial .navbar a:focus { font-size: 13px; padding: 12px 18px; }
  body.fma-editorial .navbar .nav-cta { margin: 10px 16px; }
  body.fma-reference .ref-hero { background-position: 58% center; min-height: 570px; padding-top: 78px; }
  body.fma-reference .ref-hero-inner { min-height: 570px; }
  body.fma-reference .ref-hero-copy { max-width: 520px; }
  body.fma-reference .ref-trust-card { grid-template-columns: 1fr 1fr; }
  body.fma-reference .ref-trust article:nth-child(3) { border-left: 0; }
  body.fma-reference .ref-trust article:nth-child(n+3) { border-top: 1px solid var(--ref-line); margin-top: 12px; padding-top: 12px; }
  body.fma-reference .ref-about-grid { gap: 32px; }
  body.fma-reference .ref-contact-card { grid-template-columns: 1fr 1fr; }
  body.fma-reference .ref-contact-card > .ref-btn { grid-column: 2; justify-self: start; }
}

@media (max-width: 767px) {
  body.fma-editorial .container { padding-left: 20px; padding-right: 20px; }
  body.fma-reference .ref-hero {
    background-image: linear-gradient(180deg, rgba(251,248,242,.05) 0%, rgba(251,248,242,.18) 35%, rgba(251,248,242,.96) 62%, #fbf8f2 100%), url("../img/optimized/hero-office-v2.png");
    background-position: 66% top;
    background-size: auto 430px;
    min-height: 730px;
  }
  body.fma-reference .ref-hero-inner { align-items: flex-end; min-height: 730px; }
  body.fma-reference .ref-hero-copy { max-width: none; padding: 390px 0 45px; }
  body.fma-reference .ref-hero h1 { font-size: 38px; }
  body.fma-reference .ref-hero p { font-size: 12px; }
  body.fma-reference .ref-actions { gap: 10px; }
  body.fma-reference .ref-btn { font-size: 10px; padding: 10px 14px; }
  body.fma-reference .ref-trust { margin-top: 0; }
  body.fma-reference .ref-trust .container { padding: 0; }
  body.fma-reference .ref-trust-card { border-left: 0; border-radius: 0; border-right: 0; box-shadow: none; grid-template-columns: 1fr; padding: 12px 20px; }
  body.fma-reference .ref-trust article { min-height: 64px; padding: 11px 8px; }
  body.fma-reference .ref-trust article + article { border-left: 0; border-top: 1px solid var(--ref-line); }
  body.fma-reference .ref-trust article:nth-child(n+3) { margin: 0; }
  body.fma-reference .ref-section { padding: 58px 0; }
  body.fma-reference .ref-heading h2 { font-size: 31px; }
  body.fma-reference .ref-service-grid { grid-template-columns: 1fr 1fr; }
  body.fma-reference .ref-service-card { min-height: 205px; padding: 17px 11px 14px; }
  body.fma-reference .ref-service-card h3 { font-size: 17px; }
  body.fma-reference .ref-card-link { opacity: 1; }
  body.fma-reference .ref-about-grid,
  body.fma-reference .ref-team-grid,
  body.fma-reference .ref-contact-card { grid-template-columns: 1fr; }
  body.fma-reference .ref-about-image { height: 260px; }
  body.fma-reference .ref-checks { grid-template-columns: 1fr; }
  body.fma-reference .ref-profile { grid-template-columns: 40% 1fr; min-height: 230px; }
  body.fma-reference .ref-profile-copy { padding: 18px; }
  body.fma-reference .ref-profile h3 { font-size: 21px; }
  body.fma-reference .ref-contact-card { gap: 20px; padding: 24px 20px; }
  body.fma-reference .ref-contact-card address { border-left: 0; border-top: 1px solid var(--ref-line); padding: 17px 0 0; }
  body.fma-reference .ref-contact-card > .ref-btn { grid-column: auto; justify-self: stretch; }
  body.fma-editorial .legal-footer .row { grid-template-columns: 1fr; }
  body.fma-editorial .legal-footer .row > :nth-child(2) { justify-content: flex-start; }
  body.fma-editorial .fma-footer-socials { grid-column: auto; }
}

@media (max-width: 420px) {
  body.fma-reference .ref-hero h1 { font-size: 34px; }
  body.fma-reference .ref-actions .ref-btn { flex: 1 1 auto; }
  body.fma-reference .ref-profile { grid-template-columns: 1fr; min-height: 0; }
  body.fma-reference .ref-profile > img { height: 300px; min-height: 300px; object-position: center 16%; }
  body.fma-reference .ref-profile-copy { padding: 22px; }
  body.fma-reference .ref-profile p { font-size: 11px; }
}

/* Win over legacy ID-based hero rules loaded earlier. */
body.fma-editorial #header.legal-header,
body.fma-editorial #header.legal-header.header-scrolled { top: 0; }

body.fma-reference #hero.ref-hero {
  background-image: linear-gradient(90deg, rgba(251,248,242,.96) 0%, rgba(251,248,242,.88) 31%, rgba(251,248,242,.18) 52%, rgba(251,248,242,0) 70%), url("../img/optimized/hero-office-v2.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  height: auto;
  margin-top: 96px;
  min-height: 610px;
  padding: 0;
}
body.fma-reference #hero.ref-hero::before,
body.fma-reference #hero.ref-hero::after { display: none; }
body.fma-reference #hero.ref-hero h1 {
  color: var(--ref-ink);
  font-size: clamp(42px, 3.45vw, 55px);
  line-height: 1.03;
  margin: 0 0 20px;
  max-width: 585px;
}
body.fma-reference #hero.ref-hero p { color: #33433f; font-size: 14px; line-height: 1.62; max-width: 515px; }
body.fma-reference .legal-floating-contact { display: none; }

body.fma-editorial #footer.legal-footer { min-height: 0; padding: 26px 0 0 !important; }
body.fma-editorial .legal-footer-brand {
  align-items: center;
  display: grid;
  grid-template-areas: "identity description" "identity socials";
  grid-template-columns: auto 1fr;
}
body.fma-editorial .legal-footer-identity { grid-area: identity; }
body.fma-editorial .legal-footer-brand > p {
  align-self: end;
  grid-area: description;
  margin: 0 0 2px 20px;
  max-width: 290px;
}
body.fma-editorial .legal-footer-brand .fma-footer-socials {
  grid-area: socials;
  justify-self: start;
  margin: 6px 0 0 20px;
}
body.fma-editorial .legal-copyright { margin-top: 18px; padding: 11px 0; }

@media (max-width: 991px) {
  body.fma-reference #hero.ref-hero { margin-top: 78px; min-height: 570px; padding-top: 0; }
}

@media (max-width: 767px) {
  body.fma-reference #hero.ref-hero {
    background-image: linear-gradient(180deg, rgba(251,248,242,.05) 0%, rgba(251,248,242,.18) 35%, rgba(251,248,242,.96) 62%, #fbf8f2 100%), url("../img/optimized/hero-office-v2.png");
    background-position: 66% top;
    background-size: auto 430px;
    min-height: 730px;
  }
  body.fma-reference #hero.ref-hero h1 { font-size: 38px; }
  body.fma-reference #hero.ref-hero p { font-size: 12px; }
}

@media (max-width: 420px) {
  body.fma-reference #hero.ref-hero h1 { font-size: 34px; }
}

/* Whole-site refinement for secondary pages. */
body.fma-editorial .legal-floating-contact { display: none !important; }

body.fma-editorial:not(.fma-reference) .legal-page { padding-top: 96px; }
body.fma-editorial:not(.fma-reference) .legal-page-hero {
  background:
    radial-gradient(circle at 84% 8%, rgba(174,125,49,.07), transparent 25%),
    linear-gradient(120deg, #f4f7f4 0%, #edf3ef 100%);
  border-bottom: 1px solid var(--ref-line);
  min-height: 0;
  padding: 48px 0 52px;
}
body.fma-editorial:not(.fma-reference) .legal-page-hero::before { display: none; }
body.fma-editorial:not(.fma-reference) .legal-page-hero::after {
  border: 1px solid rgba(12,75,58,.08);
  height: 280px;
  right: 7%;
  top: -145px;
  width: 280px;
}
body.fma-editorial:not(.fma-reference) .legal-page-hero .container { position: relative; z-index: 1; }
body.fma-editorial:not(.fma-reference) .legal-page-hero h1 {
  color: var(--ref-ink);
  font-size: clamp(42px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.02;
  margin: 17px 0 16px;
  max-width: 900px;
  text-wrap: balance;
}
body.fma-editorial:not(.fma-reference) .legal-page-hero p {
  color: #5d6965;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 760px;
}
body.fma-editorial:not(.fma-reference) .legal-page-hero .btn-legal { margin-top: 22px; }
body.fma-editorial .fma-breadcrumb { font-size: 9px; letter-spacing: .08em; margin-bottom: 24px; text-transform: uppercase; }
body.fma-editorial .fma-breadcrumb i { color: #a6aaa7; font-size: 8px; }
body.fma-editorial .legal-eyebrow.dark::before { background: rgba(174,125,49,.55); }

body.fma-editorial:not(.fma-reference) .legal-section { padding: 68px 0; }
body.fma-editorial:not(.fma-reference) .legal-section-heading { margin-bottom: 34px; }
body.fma-editorial:not(.fma-reference) .legal-section-heading h2 {
  font-size: clamp(31px, 3.4vw, 43px);
  letter-spacing: -.025em;
  line-height: 1.08;
  margin-bottom: 12px;
}
body.fma-editorial:not(.fma-reference) .legal-section-heading p,
body.fma-editorial:not(.fma-reference) .fma-heading-split > p { font-size: 13px; line-height: 1.7; }
body.fma-editorial:not(.fma-reference) .fma-heading-split { align-items: end; gap: 50px; grid-template-columns: 1.2fr .8fr; }

body.fma-editorial .btn-legal {
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
}

/* Services overview and service detail */
body.fma-editorial .fma-engagement-grid { gap: 14px; margin-bottom: 58px; }
body.fma-editorial .fma-engagement-card {
  border-radius: 9px;
  min-height: 230px;
  padding: 27px;
}
body.fma-editorial .fma-engagement-card > i {
  align-items: center;
  background: #f4eee2;
  border-radius: 50%;
  display: flex;
  font-size: 21px;
  height: 46px;
  justify-content: center;
  margin-bottom: 25px;
  width: 46px;
}
body.fma-editorial .fma-engagement-card > span { right: 26px; top: 29px; }
body.fma-editorial .fma-engagement-card h2 { font-size: 23px; line-height: 1.12; margin-bottom: 11px; }
body.fma-editorial .fma-engagement-card p { font-size: 12px; line-height: 1.65; }

body.fma-editorial .legal-service-grid { gap: 14px; }
body.fma-editorial .legal-service-card {
  border-radius: 9px;
  min-height: 255px;
  padding: 27px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.fma-editorial .legal-service-card:hover { transform: translateY(-3px); }
body.fma-editorial .legal-service-card h2,
body.fma-editorial .legal-service-card h3 { font-size: 22px; line-height: 1.15; margin-bottom: 10px; }
body.fma-editorial .legal-service-card p { font-size: 12px; line-height: 1.62; }
body.fma-editorial .fma-service-icon { align-items: center; border-radius: 50%; display: flex; height: 48px; justify-content: center; margin-bottom: 24px; width: 48px; }
body.fma-editorial .legal-service-card > a { color: var(--ref-gold); font-size: 10px; font-weight: 700; padding-top: 14px; }

body.fma-editorial .fma-scope-grid { gap: 12px; }
body.fma-editorial .fma-scope-card { border-radius: 8px; }
body.fma-editorial .fma-scope-card summary { font-size: 18px; min-height: 76px; padding: 20px 52px 20px 22px; }
body.fma-editorial .fma-scope-card summary::after { right: 22px; }
body.fma-editorial .fma-scope-card ul { padding: 17px 22px 21px; }
body.fma-editorial .fma-scope-card li { font-size: 12px; padding-bottom: 5px; padding-top: 5px; }

body.fma-editorial .fma-service-detail h2 { color: var(--ref-ink); font-size: clamp(29px, 3vw, 39px); letter-spacing: -.025em; line-height: 1.08; }
body.fma-editorial .fma-service-detail > div:first-child > p { font-size: 13px; max-width: 660px; }
body.fma-editorial .legal-check-list { display: grid; gap: 0; margin-top: 24px; }
body.fma-editorial .legal-check-list p { border-top: 1px solid var(--ref-line); font-size: 12px; margin: 0; padding: 13px 0; }
body.fma-editorial .legal-profile-card,
body.fma-editorial .legal-contact-card { border-radius: 9px; padding: 32px; }
body.fma-editorial .legal-profile-card h2,
body.fma-editorial .legal-contact-card h2 { font-size: 29px; line-height: 1.08; }
body.fma-editorial .legal-process-grid.compact { gap: 10px; }
body.fma-editorial .legal-process-grid.compact .legal-process-card { background: #fff; border-radius: 8px; min-height: 92px; padding: 18px; }
body.fma-editorial .legal-process-grid.compact .legal-process-card h3 { color: var(--ref-ink); font-size: 12px; line-height: 1.45; }
body.fma-editorial .legal-faq details { border-color: var(--ref-line); }
body.fma-editorial .legal-faq summary { color: var(--ref-ink); font-size: 13px; padding: 17px 4px; }
body.fma-editorial .legal-faq details[open] { background: #fff; border-radius: 6px; }
body.fma-editorial .legal-faq details p { font-size: 12px; }
body.fma-editorial .legal-conversion-panel {
  border: 0;
  border-radius: 9px;
  box-shadow: none;
  padding: 46px 52px;
}
body.fma-editorial .legal-conversion-panel h2 { font-size: clamp(30px, 3.4vw, 44px); max-width: 780px; }
body.fma-editorial .legal-conversion-panel p { font-size: 13px; max-width: 720px; }

/* Articles */
body.fma-editorial .legal-article-grid { gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.fma-editorial .fma-featured-article { grid-column: auto; }
body.fma-editorial .legal-article-card {
  background: #fff;
  border: 1px solid var(--ref-line);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
body.fma-editorial .legal-article-card:hover { box-shadow: 0 14px 30px rgba(25,57,49,.08); transform: translateY(-3px); }
body.fma-editorial .fma-featured-article .legal-article-image,
body.fma-editorial .legal-article-image { border: 0; border-radius: 0; box-shadow: none; height: 220px; }
body.fma-editorial .legal-article-image img { height: 100%; object-fit: cover; width: 100%; }
body.fma-editorial .legal-article-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
body.fma-editorial .legal-article-card-body > span { color: var(--ref-gold); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body.fma-editorial .legal-article-card h2 { font-size: 22px; line-height: 1.14; margin: 9px 0 10px; }
body.fma-editorial .legal-article-card p { font-size: 12px; line-height: 1.6; }
body.fma-editorial .legal-article-card-body > a:last-child { font-size: 10px; font-weight: 700; margin-top: auto; }

body.fma-editorial .legal-article-single { margin: 0 auto; max-width: 940px; }
body.fma-editorial .legal-article-single .entry-img { border-radius: 10px; box-shadow: none; height: 480px; overflow: hidden; }
body.fma-editorial .legal-article-single .entry-img img { height: 100%; object-fit: cover; width: 100%; }
body.fma-editorial .fma-article-meta { font-size: 10px; gap: 18px; margin-bottom: 20px; padding-bottom: 14px; }
body.fma-editorial .legal-article-single .entry-content { margin: 40px auto 0; max-width: 760px; }
body.fma-editorial .entry-content h2 { font-size: 31px; margin-top: 38px; }
body.fma-editorial .entry-content p,
body.fma-editorial .entry-content li { font-size: 14px; line-height: 1.8; }
body.fma-editorial .legal-article-cta { border-radius: 9px; margin: 45px auto 0; max-width: 760px; padding: 34px; }

/* Gallery and media */
body.fma-editorial .legal-media-grid { gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.fma-editorial .legal-media-card { background: #fff; border: 1px solid var(--ref-line); border-radius: 9px; overflow: hidden; }
body.fma-editorial .legal-video-frame { border: 0; border-radius: 0; box-shadow: none; height: 245px; }
body.fma-editorial .legal-media-card > div:last-child { padding: 22px; }
body.fma-editorial .legal-media-card h2 { font-size: 22px; }
body.fma-editorial .legal-gallery-grid { gap: 18px; }
body.fma-editorial .legal-gallery-grid article { background: #fff; border: 1px solid var(--ref-line); border-radius: 9px; overflow: hidden; }
body.fma-editorial .legal-gallery-grid article img { border: 0; border-radius: 0; box-shadow: none; height: 245px; }
body.fma-editorial .legal-gallery-grid article > div { padding: 19px 20px 21px; }
body.fma-editorial .legal-gallery-grid h2 { font-size: 20px; margin-bottom: 7px; }
body.fma-editorial .legal-gallery-grid p { font-size: 11px; line-height: 1.55; margin: 0; }
body.fma-editorial .legal-empty-state { box-shadow: none; padding: 46px; text-align: center; }
body.fma-editorial .legal-empty-state > i { color: var(--ref-gold); display: block; font-size: 32px; margin-bottom: 12px; }
body.fma-editorial .legal-empty-state h2 { font-size: 27px; }
body.fma-editorial .legal-empty-state p { font-size: 12px; }
body.fma-editorial .fma-text-link { color: var(--ref-green); font-size: 10px; font-weight: 700; }

/* Social page */
body.fma-editorial .fma-social-grid { gap: 16px; }
body.fma-editorial .fma-social-card { border-radius: 10px; box-shadow: none; min-height: 290px; padding: 28px; }
body.fma-editorial .fma-social-card > i { font-size: 26px; }
body.fma-editorial .fma-social-card h2 { font-size: 33px; }
body.fma-editorial .fma-social-card p { font-size: 12px; line-height: 1.6; }
body.fma-editorial .fma-social-card b { font-size: 10px; }
body.fma-editorial .fma-social-dark { background: var(--ref-green-dark); }
body.fma-editorial .fma-social-blue { background: #174c60; }
body.fma-editorial .fma-social-light { background: #f3eee5; color: var(--ref-ink); }
body.fma-editorial .fma-social-note { border-color: var(--ref-line); margin-top: 24px; padding: 21px 24px; }
body.fma-editorial .fma-social-note strong { color: var(--ref-ink); }
body.fma-editorial .fma-social-note p { font-size: 11px; margin: 2px 0 0; }
body.fma-editorial .legal-final-cta { background: #f4efe6; border-color: var(--ref-line); padding: 0 0 68px; }

/* Contact page */
body.fma-editorial .fma-coverage-grid { gap: 14px; margin-bottom: 22px; }
body.fma-editorial .fma-coverage-grid article { border-radius: 9px; padding: 23px; }
body.fma-editorial .fma-coverage-grid h2 { font-size: 23px; }
body.fma-editorial .fma-coverage-grid p { font-size: 11px; line-height: 1.55; }
body.fma-editorial .fma-contact-layout { align-items: stretch; }
body.fma-editorial .fma-contact-layout > div { display: flex; }
body.fma-editorial .fma-contact-layout .legal-contact-card { width: 100%; }
body.fma-editorial .fma-contact-layout .col-lg-5 .legal-contact-card { background: var(--ref-green-dark); }
body.fma-editorial .fma-contact-layout .col-lg-5 p { font-size: 12px; line-height: 1.65; }
body.fma-editorial .fma-contact-layout .col-lg-5 .fma-contact-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
  width: 100%;
}
body.fma-editorial .fma-contact-layout .col-lg-5 .fma-contact-actions .btn-legal {
  border: 1px solid transparent;
  border-radius: 5px;
  color: #fff !important;
  font-size: 11px;
  gap: 8px;
  min-height: 46px;
  padding: 10px 14px;
  width: 100%;
}
body.fma-editorial .fma-contact-layout .col-lg-5 .fma-contact-actions .btn-legal i { font-size: 15px; line-height: 1; }
body.fma-editorial .fma-contact-layout .col-lg-5 .fma-contact-actions .btn-legal-primary {
  background: #14745a;
  border-color: #14745a;
  box-shadow: 0 8px 20px rgba(4, 28, 22, .18);
}
body.fma-editorial .fma-contact-layout .col-lg-5 .fma-contact-actions .btn-legal-primary:hover {
  background: #1a8367;
  border-color: #1a8367;
  color: #fff !important;
  transform: translateY(-1px);
}
body.fma-editorial .fma-contact-layout .col-lg-5 .fma-contact-actions .btn-legal-outline {
  background: rgba(255, 255, 255, .03);
  border-color: rgba(255, 255, 255, .58);
  color: #fff !important;
}
body.fma-editorial .fma-contact-layout .col-lg-5 .fma-contact-actions .btn-legal-outline:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
  color: #fff !important;
  transform: translateY(-1px);
}
body.fma-editorial .fma-contact-layout .col-lg-5 .fma-contact-actions .btn-legal:focus-visible {
  box-shadow: 0 0 0 3px rgba(215, 180, 108, .34);
  outline: 2px solid #d7b46c;
  outline-offset: 2px;
}
body.fma-editorial .legal-form .form-group { margin-bottom: 15px; }
body.fma-editorial .legal-form label { font-size: 10px; font-weight: 700; margin-bottom: 5px; }
body.fma-editorial .legal-form .form-control { border-radius: 5px; font-size: 12px; min-height: 47px; padding: 11px 13px; }
body.fma-editorial .legal-form textarea.form-control { min-height: 130px; }
body.fma-editorial .fma-form-privacy { border-radius: 5px; font-size: 10px; line-height: 1.55; padding: 12px; }

@media (max-width: 991px) {
  body.fma-editorial:not(.fma-reference) .legal-page { padding-top: 78px; }
  body.fma-editorial:not(.fma-reference) .legal-page-hero { padding: 42px 0 46px; }
  body.fma-editorial:not(.fma-reference) .fma-heading-split { gap: 20px; grid-template-columns: 1fr; }
  body.fma-editorial .legal-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.fma-editorial .legal-article-single .entry-img { height: 400px; }
}

@media (max-width: 767px) {
  body.fma-editorial:not(.fma-reference) .legal-page-hero { padding: 34px 0 39px; }
  body.fma-editorial:not(.fma-reference) .legal-page-hero h1 { font-size: 37px; }
  body.fma-editorial:not(.fma-reference) .legal-page-hero p { font-size: 12px; }
  body.fma-editorial:not(.fma-reference) .legal-section { padding: 54px 0; }
  body.fma-editorial:not(.fma-reference) .legal-section-heading { text-align: left; }
  body.fma-editorial .legal-article-grid,
  body.fma-editorial .legal-media-grid { grid-template-columns: 1fr; }
  body.fma-editorial .fma-engagement-card,
  body.fma-editorial .legal-service-card { min-height: 0; }
  body.fma-editorial .fma-engagement-card { padding: 24px; }
  body.fma-editorial .legal-service-card { padding: 24px; }
  body.fma-editorial .legal-gallery-grid article img { height: 230px; }
  body.fma-editorial .legal-article-single .entry-img { height: 270px; }
  body.fma-editorial .legal-article-single .entry-content { margin-top: 28px; }
  body.fma-editorial .entry-content h2 { font-size: 27px; }
  body.fma-editorial .legal-conversion-panel { padding: 34px 24px; }
  body.fma-editorial .legal-profile-card,
  body.fma-editorial .legal-contact-card { padding: 25px 21px; }
  body.fma-editorial .fma-social-card { min-height: 260px; }
  body.fma-editorial .legal-empty-state { padding: 34px 22px; }
  body.fma-editorial .legal-footer .row > * {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  body.fma-editorial .legal-footer-brand {
    grid-template-columns: auto minmax(0, 1fr);
    margin: 0 !important;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  body.fma-editorial .legal-footer-brand > *,
  body.fma-editorial .legal-footer-brand > p,
  body.fma-editorial .legal-footer-brand .fma-footer-socials { min-width: 0; }
}

@media (max-width: 360px) {
  body.fma-reference .ref-service-grid { grid-template-columns: 1fr; }
  body.fma-reference .ref-service-card { min-height: 195px; }
  body.fma-reference .ref-profile > img { height: 270px; min-height: 270px; }
  body.fma-editorial .legal-footer-brand { grid-template-areas: "identity" "description" "socials"; grid-template-columns: 1fr; }
  body.fma-editorial .legal-footer-brand > p,
  body.fma-editorial .legal-footer-brand .fma-footer-socials { margin-left: 0; }
  body.fma-editorial .fma-contact-layout .col-lg-5 .fma-contact-actions { grid-template-columns: 1fr; }
}

/* Source-document content: issues, engagement guides and qualifications. */
body.fma-reference .ref-profile-qualifications {
  border-bottom: 1px solid #ece4d8;
  border-top: 1px solid #ece4d8;
  margin: 0 0 13px;
  padding: 8px 0;
}
body.fma-reference .ref-profile-qualifications h4 {
  color: var(--ref-green);
  font-size: 10px;
  font-weight: 700;
  margin: 0;
}
body.fma-reference .ref-profile-qualifications ul { list-style: none; margin: 8px 0 0; padding: 0; }
body.fma-reference .ref-profile-qualifications li { color: #697570; font-size: 9px; line-height: 1.45; padding: 3px 0 3px 12px; position: relative; }
body.fma-reference .ref-profile-qualifications li::before { color: var(--ref-gold); content: "•"; left: 0; position: absolute; }

body.fma-editorial .fma-issues-section { background: #f7f3ec; border-bottom: 1px solid var(--ref-line); border-top: 1px solid var(--ref-line); }
body.fma-editorial .fma-issue-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.fma-editorial .fma-issue-card {
  align-items: center;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--ref-line);
  border-radius: 10px;
  display: grid;
  gap: 13px;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  min-height: 106px;
  overflow: hidden;
  padding: 17px 16px 17px 18px;
  position: relative;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.fma-editorial .fma-issue-card::before { background: var(--ref-gold); content: ""; inset: 0 auto 0 0; opacity: 0; position: absolute; transition: opacity .2s ease; width: 3px; }
body.fma-editorial .fma-issue-card:hover { border-color: rgba(174,125,49,.58); box-shadow: 0 12px 28px rgba(20,44,49,.08); transform: translateY(-2px); }
body.fma-editorial .fma-issue-card:hover::before { opacity: 1; }
body.fma-editorial .fma-issue-card:focus-visible { box-shadow: 0 0 0 3px rgba(174,125,49,.2); outline: 2px solid var(--ref-gold); outline-offset: 2px; }
body.fma-editorial .fma-issue-card > i { align-items: center; background: #f4ecdd; border: 1px solid rgba(174,125,49,.12); border-radius: 50%; color: var(--ref-gold); display: flex; font-size: 16px; height: 42px; justify-content: center; width: 42px; }
body.fma-editorial .fma-issue-card h2 { color: var(--ref-ink); font-family: "Source Serif 4", Georgia, serif; font-size: 17px; line-height: 1.18; margin: 0 0 5px; }
body.fma-editorial .fma-issue-card p { color: #65716d; font-size: 10.5px; line-height: 1.5; margin: 0; }
body.fma-editorial .fma-issue-card > span { align-items: center; border: 1px solid rgba(174,125,49,.22); border-radius: 50%; color: var(--ref-gold); display: flex; font-size: 11px; height: 28px; justify-content: center; transition: background .2s ease, color .2s ease, transform .2s ease; width: 28px; }
body.fma-editorial .fma-issue-card:hover > span { background: var(--ref-gold); color: #fff; transform: translateX(2px); }
body.fma-editorial .fma-guides-section { background: #fffdf9; }
body.fma-editorial .fma-process-tracks { gap: 16px; }
body.fma-editorial .fma-process-track { background: #fff; border-color: var(--ref-line); border-radius: 9px; padding: 32px; }
body.fma-editorial .fma-process-track h3 { color: var(--ref-ink); font-size: 28px; line-height: 1.12; margin-bottom: 20px; }
body.fma-editorial .fma-process-list li { border-color: var(--ref-line); gap: 13px; grid-template-columns: 30px 1fr; padding: 15px 0; }
body.fma-editorial .fma-process-list li::before { color: var(--ref-gold); font-size: 15px; }
body.fma-editorial .fma-process-list strong { color: var(--ref-ink); font-size: 12px; }
body.fma-editorial .fma-process-list p { color: #65716d; font-size: 10px; line-height: 1.55; margin-top: 4px; }

@media (max-width: 991px) {
  body.fma-editorial .fma-issue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  body.fma-editorial .fma-issue-grid { grid-template-columns: 1fr; }
  body.fma-editorial .fma-issue-card { min-height: 96px; }
  body.fma-editorial .fma-process-track { padding: 24px 20px; }
}

/* Compact lawyer cards with upper-body portrait crops. */
body.fma-reference .ref-profile { grid-template-columns: 45% 1fr; height: 270px; min-height: 0; }
body.fma-reference .ref-profile > img { height: 270px; min-height: 0; object-position: center 10%; }
body.fma-reference .ref-profile-copy { padding: 18px 22px; }
body.fma-reference .ref-profile h3 { font-size: 23px; }
body.fma-reference .ref-profile p { margin: 10px 0; }
body.fma-reference .ref-profile-qualifications { margin-bottom: 0; padding: 7px 0 5px; }
body.fma-reference .ref-profile-qualifications ul { margin-top: 6px; }
body.fma-reference .ref-profile-qualifications li { font-size: 8px; line-height: 1.35; padding-bottom: 2px; padding-top: 2px; }

@media (max-width: 767px) {
  body.fma-reference .ref-profile { grid-template-columns: 44% 1fr; height: 270px; min-height: 0; }
  body.fma-reference .ref-profile > img { height: 270px; min-height: 0; }
  body.fma-reference .ref-profile-copy { padding: 17px 18px; }
}

@media (max-width: 420px) {
  body.fma-reference .ref-profile { grid-template-columns: 1fr; height: auto; }
  body.fma-reference .ref-profile > img { height: 220px; min-height: 220px; object-position: center 12%; }
  body.fma-reference .ref-profile-copy { padding: 20px; }
}


/* Floating WhatsApp restoration: 2026-09-01 */
body.fma-editorial .legal-floating-contact { display: block !important; }
body.fma-editorial .legal-floating-contact .fma-floating-whatsapp {
  align-items: center;
  background: #12a957 !important;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  height: 56px;
  justify-content: center;
  min-height: 56px;
  padding: 0 !important;
  width: 56px;
}
body.fma-editorial .legal-floating-contact .fma-floating-whatsapp svg { display: none; }
body.fma-editorial .legal-floating-contact .fma-floating-whatsapp::before {
  content: "\f618";
  font-family: "bootstrap-icons" !important;
  font-size: 25px;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 1;
}


/* Back-to-top bottom-left: 2026-09-01 */
body.fma-editorial .back-to-top {
  bottom: 22px;
  left: 22px;
  right: auto;
}
