/* ============================================================
   M&A Support LP
   Dedicated styles for /services/ma/.
   The global nav/footer styles are loaded first from the site CSS.
   Same design language as /services/startup-legal/ (Shippori
   Mincho headings, brand crimson accent, paper sections).
   ============================================================ */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px; /* fixed nav height — anchors must not land underneath it */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:root {
  --ma-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ma-ink: #121417;
  --ma-ink-2: #242a31;
  --ma-muted: rgba(17, 19, 18, 0.68);
  --ma-line: rgba(17, 19, 18, 0.14);
  --ma-line-strong: rgba(17, 19, 18, 0.24);
  --ma-paper: #ffffff;
  --ma-paper-2: #f3f7f6;
  --ma-paper-3: #e4ecea;
  --ma-accent: #d53953;
  --ma-accent-dark: #b22743;
  --ma-radius: 8px;
  --ma-shadow: 0 20px 45px -30px rgba(17, 19, 18, 0.22);
  --ma-serif: "Shippori Mincho", "Noto Serif JP", "YuMincho", "Hiragino Mincho ProN", serif;
  --ma-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ma-en: "Space Grotesk", "Inter", system-ui, sans-serif;
}

body.ma-page {
  background: var(--ma-paper);
  color: var(--ma-ink);
  font-family: var(--ma-sans);
  font-size: 16px;
  line-height: 1.85;
  line-break: strict;
  word-break: normal;
  word-break: auto-phrase;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

.ma-page :where(h1, h2, h3) {
  text-wrap: balance;
}

.ma-page :where(p, li, dt, dd) {
  text-wrap: pretty;
}

.ma-main { overflow: hidden; }

.ma-container {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.ma-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--ma-accent-dark);
  font: 600 12px/1.3 var(--ma-en);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ma-section { padding: clamp(76px, 9vw, 112px) 0; }
.ma-section--paper { background: var(--ma-paper-2); }

.ma-section-head { max-width: 780px; margin-bottom: 46px; }

.ma-section-head h2,
.ma-hero h1,
.ma-contact h2 {
  font-family: var(--ma-serif);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0;
}

.ma-section-head h2 { margin: 0 0 16px; font-size: clamp(30px, 3.1vw, 40px); }
.ma-section-head p { color: var(--ma-muted); }
.ma-nowrap { white-space: nowrap; }

.ma-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--ma-ink);
  border-radius: 999px;
  padding: 13px 28px;
  color: var(--ma-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 160ms var(--ma-ease-out);
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .ma-btn:hover { transform: translateY(-1px); }
  .ma-btn--primary:hover { border-color: var(--ma-accent-dark); background: var(--ma-accent-dark); }
  .ma-btn--ghost:hover { background: var(--ma-ink); color: #fff; }
}
.ma-btn:active { transform: scale(0.97); }
.ma-btn--primary { border-color: var(--ma-accent); background: var(--ma-accent); color: #fff; }

.ma-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms var(--ma-ease-out), transform 500ms var(--ma-ease-out);
}
.ma-reveal.is-in { opacity: 1; transform: none; }
/* Cards that enter as a row cascade in with a short stagger */
.ma-metrics__grid .ma-reveal:nth-child(2),
.ma-problems__grid .ma-reveal:nth-child(2),
.ma-strengths__grid .ma-reveal:nth-child(2),
.ma-scope__grid .ma-reveal:nth-child(2),
.ma-lawyers__grid .ma-reveal:nth-child(2) { transition-delay: 60ms; }
.ma-metrics__grid .ma-reveal:nth-child(3),
.ma-problems__grid .ma-reveal:nth-child(3),
.ma-strengths__grid .ma-reveal:nth-child(3),
.ma-lawyers__grid .ma-reveal:nth-child(3) { transition-delay: 120ms; }
.ma-metrics__grid .ma-reveal:nth-child(4) { transition-delay: 180ms; }
@media (prefers-reduced-motion: reduce) {
  .ma-reveal { opacity: 1; transform: none; transition: none; }
}

.ma-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ma-muted);
  font-size: 14px;
  font-weight: 700;
}
.ma-breadcrumb a { color: var(--ma-ink-2); text-decoration: none; }

/* Hero */
.ma-hero {
  position: relative;
  min-height: 620px;
  padding: 150px 0 76px;
  background: var(--ma-paper);
}
.ma-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}
.ma-hero__visual img {
  width: 100%;
  height: 100%;
  opacity: 0.52;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(0.96);
  transform: scale(1.015);
}
.ma-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248,247,243,.72) 0%, rgba(248,247,243,.58) 46%, rgba(248,247,243,.32) 72%, rgba(248,247,243,.18) 100%),
    linear-gradient(180deg, rgba(248,247,243,.12) 0%, rgba(248,247,243,.34) 100%);
}
.ma-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 880px);
  justify-content: start;
  align-items: center;
}
.ma-hero__copy { max-width: 880px; }
.ma-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.24;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: auto-phrase;
}
.ma-hero h1 em {
  font-style: normal;
  color: var(--ma-accent-dark);
}
.ma-hero__lead {
  max-width: 720px;
  margin: 0 0 30px;
  color: var(--ma-muted);
  font-size: clamp(15px, 1.35vw, 17px);
}
.ma-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.ma-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  border: 1px solid var(--ma-line);
  border-radius: var(--ma-radius);
  overflow: hidden;
  background: var(--ma-line);
}
.ma-hero__stat {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  background: var(--ma-paper);
}
.ma-hero__stat strong {
  font-family: var(--ma-serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
}
.ma-hero__stat span { color: var(--ma-muted); font-size: 12.5px; line-height: 1.6; }
.ma-hero__note { margin: 12px 0 0; max-width: 760px; color: var(--ma-muted); font-size: 12px; line-height: 1.7; }
/* line-height: 0 keeps superscript markers from stretching the line box */
.ma-hero sup, .ma-hero__stat sup, .ma-compare sup { font-size: 0.7em; line-height: 0; }
@media (max-width: 720px) {
  .ma-hero { padding-top: 120px; min-height: 0; }
  .ma-hero__stats { grid-template-columns: 1fr; }
  .ma-hero__visual::after {
    background: linear-gradient(180deg, rgba(248,247,243,.48) 0%, rgba(248,247,243,.66) 52%, rgba(248,247,243,.82) 100%);
  }
  .ma-hero__visual img {
    position: absolute;
    top: 150px;
    left: 50%;
    width: 140%;
    height: auto;
    opacity: 0.44;
    object-fit: contain;
    transform: translateX(-50%);
  }
  .ma-hero h1 {
    font-size: clamp(32px, 9.5vw, 44px);
  }
}

/* Clients */
.ma-clients { padding: 34px 0 56px; border-top: 1px solid var(--ma-line); }
.ma-clients__label {
  margin: 0 0 20px;
  color: var(--ma-muted);
  font: 600 11px/1.3 var(--ma-en);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
}
.ma-clients__note {
  margin: 18px 0 0;
  color: var(--ma-muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}
/* Static grid — fallback when the marquee is not built (no JS / reduced motion) */
.ma-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 16px;
  align-items: center;
}
.ma-logo-grid span,
.ma-mq__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  border: 1px solid rgba(17, 19, 18, 0.1);
  border-radius: var(--ma-radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(15, 30, 42, 0.04);
}
.ma-logo-grid img,
.ma-mq__cell img {
  display: block;
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 36px;
  object-fit: contain;
}
.ma-logo-grid .ma-logo--boost img,
.ma-mq__cell--boost img { max-height: 42px; transform: scale(1.6); }
/* ncv-dark.png is a square canvas with a horizontal lockup centered inside —
   crop the empty margins so the wordmark reads at the same size as the others */
.ma-logo-grid .ma-logo--ncv img,
.ma-mq__cell--ncv img { width: 100%; height: 100%; max-width: 100%; max-height: none; object-fit: cover; }

/* Marquee — same pattern as the startup-legal LP / top page */
.ma-mq {
  --dur: 58s;
  --gap: clamp(16px, 3vw, 34px);
  --logo-w: clamp(132px, 13vw, 178px);
  --logo-h: clamp(54px, 5.2vw, 70px);
  display: grid;
  gap: 12px;
  max-width: 100%;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--ma-line);
  border-bottom: 1px solid var(--ma-line);
  contain: paint;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ma-mq__row { min-width: 0; overflow: hidden; }
.ma-mq__track {
  display: flex;
  width: max-content;
  min-width: max-content;
  align-items: center;
  animation: maMqDrift var(--dur) linear infinite;
}
.ma-mq__row--2 .ma-mq__track {
  animation-direction: reverse;
  animation-duration: calc(var(--dur) * 1.08);
}
.ma-mq__loop {
  display: flex;
  flex: 0 0 auto;
  gap: var(--gap);
  align-items: center;
  padding-right: var(--gap);
}
.ma-mq__cell {
  flex: 0 0 var(--logo-w);
  width: var(--logo-w);
  height: var(--logo-h);
  padding: 10px 16px;
  overflow: hidden;
}
.ma-mq__cell img { transition: transform 200ms var(--ma-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .ma-mq__cell:hover img { transform: translateY(-2px); }
  .ma-mq__cell--boost:hover img { transform: scale(1.6) translateY(-2px); }
}
@keyframes maMqDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ma-mq__track { animation: none !important; }
  .ma-mq, .ma-mq__row { overflow-x: auto; }
}

/* Metrics */
.ma-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.ma-metric {
  padding: 26px 24px;
  border: 1px solid var(--ma-line);
  border-radius: var(--ma-radius);
  background: var(--ma-paper);
  box-shadow: var(--ma-shadow);
}
.ma-metric span {
  display: block;
  margin-bottom: 12px;
  color: var(--ma-accent-dark);
  font: 600 11px/1.3 var(--ma-en);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ma-metric strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--ma-serif);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.2;
}
.ma-metric p { margin: 0; color: var(--ma-muted); font-size: 13.5px; line-height: 1.75; }
.ma-metrics__note { margin: 18px 0 0; color: var(--ma-muted); font-size: 12.5px; }
@media (max-width: 960px) { .ma-metrics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ma-metrics__grid { grid-template-columns: 1fr; } }

/* Problems */
.ma-problems__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ma-problem {
  padding: 30px 26px;
  border: 1px solid var(--ma-line);
  border-radius: var(--ma-radius);
  background: var(--ma-paper);
}
.ma-problem .tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 4px 10px;
  border: 1px solid var(--ma-line-strong);
  border-radius: 999px;
  color: var(--ma-ink-2);
  font: 600 11px/1.3 var(--ma-en);
  letter-spacing: 0.14em;
}
.ma-problem h3 {
  margin: 0 0 12px;
  font-family: var(--ma-serif);
  font-size: 19px;
  line-height: 1.6;
}
.ma-problem p { margin: 0; color: var(--ma-muted); font-size: 14px; }
@media (max-width: 900px) { .ma-problems__grid { grid-template-columns: 1fr; } }

/* Deal flow */
.ma-flow { position: relative; }
.ma-flow__bar {
  position: absolute;
  top: 30px;
  left: 4%;
  width: 92%;
  height: 1px;
  background: var(--ma-line-strong);
}
.ma-stages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.ma-stage {
  position: relative;
  padding: 48px 4px 0;
}
.ma-stage::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ma-accent);
}
.ma-stage__no {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--ma-accent-dark);
  font: 600 11px/1.3 var(--ma-en);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ma-stage h3 {
  margin: 0 0 10px;
  font-family: var(--ma-serif);
  font-size: 18px;
}
.ma-stage ul { margin: 0; padding: 0; list-style: none; }
.ma-stage li {
  position: relative;
  padding-left: 14px;
  color: var(--ma-muted);
  font-size: 13px;
  line-height: 1.9;
}
.ma-stage li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--ma-line-strong);
}
@media (max-width: 900px) {
  .ma-flow__bar { display: none; }
  .ma-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ma-stage { padding-top: 40px; }
  .ma-stage::before { display: none; }
}
@media (max-width: 560px) { .ma-stages { grid-template-columns: 1fr; } }

/* Strengths */
.ma-strengths__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ma-strength {
  padding: 32px 26px;
  border-top: 2px solid var(--ma-ink);
  background: transparent;
}
.ma-strength .num {
  display: block;
  margin-bottom: 18px;
  font: 600 13px/1.3 var(--ma-en);
  letter-spacing: 0.18em;
  color: var(--ma-accent-dark);
}
.ma-strength h3 {
  margin: 0 0 12px;
  font-family: var(--ma-serif);
  font-size: 20px;
  line-height: 1.55;
}
.ma-strength p { margin: 0; color: var(--ma-muted); font-size: 14px; }
@media (max-width: 900px) { .ma-strengths__grid { grid-template-columns: 1fr; } }

/* Scope */
.ma-scope__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.ma-scope {
  padding: 34px 30px;
  border: 1px solid var(--ma-line);
  border-radius: var(--ma-radius);
  background: var(--ma-paper);
  box-shadow: var(--ma-shadow);
}
.ma-scope > span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ma-ink);
  color: #fff;
  font: 600 11px/1.3 var(--ma-en);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ma-scope h3 {
  margin: 0 0 8px;
  font-family: var(--ma-serif);
  font-size: 22px;
}
.ma-scope > p { margin: 0 0 18px; color: var(--ma-muted); font-size: 14px; }
.ma-scope dl { margin: 0; display: grid; gap: 14px; }
.ma-scope dt {
  font-weight: 700;
  font-size: 14.5px;
  padding-top: 14px;
  border-top: 1px solid var(--ma-line);
}
.ma-scope dd { margin: 2px 0 0; color: var(--ma-muted); font-size: 13.5px; line-height: 1.8; }
@media (max-width: 900px) { .ma-scope__grid { grid-template-columns: 1fr; } }

/* Pricing */
.ma-price {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}
.ma-price__hero {
  padding: 38px 34px;
  border: 1px solid var(--ma-line);
  border-top: 3px solid var(--ma-accent);
  border-radius: var(--ma-radius);
  background: var(--ma-paper);
  box-shadow: var(--ma-shadow);
}
.ma-price__label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--ma-accent-dark);
  font: 600 12px/1.3 var(--ma-en);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ma-price__amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 16px;
  font-family: var(--ma-serif);
  line-height: 1.1;
}
.ma-price__amount strong { font-size: clamp(52px, 6vw, 72px); font-weight: 700; }
.ma-price__amount strong small { font-size: 0.42em; font-weight: 700; margin-left: 2px; }
.ma-price__amount em { font-style: normal; color: var(--ma-muted); font-size: 15px; font-family: var(--ma-sans); }
.ma-price__desc { margin: 0 0 14px; color: var(--ma-ink-2); font-size: 14px; }
.ma-price__note { margin: 0; color: var(--ma-muted); font-size: 12px; line-height: 1.7; }
.ma-price__points { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.ma-price__points li {
  padding: 20px 22px;
  border: 1px solid var(--ma-line);
  border-radius: var(--ma-radius);
  background: var(--ma-paper);
  font-size: 14px;
}
.ma-price__points li strong { display: block; margin-bottom: 4px; font-size: 15px; }
.ma-price__points li span { color: var(--ma-muted); font-size: 13.5px; }
@media (max-width: 900px) { .ma-price { grid-template-columns: 1fr; } }

/* Lawyers */
.ma-lawyers__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ma-lawyer {
  display: block;
  padding: 20px;
  border: 1px solid var(--ma-line);
  border-radius: var(--ma-radius);
  background: var(--ma-paper);
  color: inherit;
  text-decoration: none;
  transition: border-color 150ms ease, transform 200ms var(--ma-ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .ma-lawyer:hover { border-color: var(--ma-line-strong); transform: translateY(-2px); }
}
.ma-lawyer:active { transform: scale(0.98); }
.ma-lawyer img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
}
.ma-lawyer h3 { margin: 0 0 2px; font-family: var(--ma-serif); font-size: 18px; }
.ma-lawyer span { color: var(--ma-muted); font-size: 12.5px; }
@media (max-width: 720px) { .ma-lawyers__grid { grid-template-columns: 1fr; } }

/* Compare table */
.ma-compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--ma-paper);
  border: 1px solid var(--ma-line);
  font-size: 13.5px;
}
.ma-compare th, .ma-compare td {
  padding: 16px 18px;
  border: 1px solid var(--ma-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.ma-compare thead th { background: var(--ma-paper-2); font-size: 14px; }
.ma-compare tbody th { width: 18%; background: var(--ma-paper-2); font-size: 13.5px; }
.ma-compare .ma-compare__la { background: rgba(213, 57, 83, 0.06); }
.ma-compare .hl { background: rgba(213, 57, 83, 0.06); font-weight: 700; }
.ma-compare__badge {
  display: block;
  margin-top: 4px;
  color: var(--ma-accent-dark);
  font: 600 10.5px/1.3 var(--ma-en);
  letter-spacing: 0.12em;
}
.ma-compare-wrap { overflow-x: auto; }
.ma-compare__note { margin: 14px 0 0; color: var(--ma-muted); font-size: 12px; line-height: 1.7; }
@media (max-width: 720px) { .ma-compare { min-width: 640px; } }

/* Guide */
.ma-guide__group { margin-bottom: 34px; }
.ma-guide__group h3 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ma-line-strong);
  font-family: var(--ma-serif);
  font-size: 19px;
}
.ma-guide__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 28px;
}
.ma-guide__links li { font-size: 14px; line-height: 1.7; padding: 6px 0; border-bottom: 1px dashed var(--ma-line); }
.ma-guide__links a { color: var(--ma-ink-2); text-decoration: none; transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) {
  .ma-guide__links a:hover { color: var(--ma-accent-dark); text-decoration: underline; }
}
.ma-guide__links li.soon { color: var(--ma-muted); }
.ma-soon-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border: 1px solid var(--ma-line-strong);
  border-radius: 999px;
  font-size: 11px;
  color: var(--ma-muted);
}
@media (max-width: 720px) { .ma-guide__links { grid-template-columns: 1fr; } }

/* FAQ */
.ma-faq { display: grid; gap: 10px; max-width: 860px; }
.ma-faq details {
  border: 1px solid var(--ma-line);
  border-radius: var(--ma-radius);
  background: var(--ma-paper);
  padding: 0 22px;
}
.ma-faq summary {
  padding: 18px 0;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.ma-faq summary::-webkit-details-marker { display: none; }
/* Plus icon drawn as two bars: the vertical bar rotates away on open,
   so the +/− change is a motion instead of a content swap */
.ma-faq summary::before,
.ma-faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--ma-accent-dark);
}
.ma-faq summary::after { transform: translateY(-50%); }
.ma-faq summary::before {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 200ms var(--ma-ease-out), opacity 200ms ease;
}
.ma-faq details[open] summary::before {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .ma-faq summary::before { transition: opacity 200ms ease; }
}
.ma-faq details p { margin: 0; padding: 0 0 20px; color: var(--ma-muted); font-size: 14px; }

/* Contact */
.ma-contact {
  padding: clamp(76px, 9vw, 112px) 0;
  background: var(--ma-paper-2);
}
.ma-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}
.ma-contact h2 { margin: 0 0 16px; font-size: clamp(28px, 3vw, 38px); }
.ma-contact__copy p { color: var(--ma-muted); }
.ma-contact__copy ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ma-contact__copy li {
  position: relative;
  padding-left: 18px;
  color: var(--ma-ink-2);
  font-size: 14px;
}
.ma-contact__copy li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 1.5px;
  background: var(--ma-accent);
}
.ma-form {
  display: grid;
  gap: 16px;
  padding: 34px 30px;
  border: 1px solid var(--ma-line);
  border-radius: var(--ma-radius);
  background: var(--ma-paper);
  box-shadow: var(--ma-shadow);
}
.ma-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; }
.ma-form label em {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 3px;
  background: var(--ma-accent);
  color: #fff;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
}
.ma-form input[type="text"],
.ma-form input[type="email"],
.ma-form select,
.ma-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ma-line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--ma-ink);
  font: 400 14px/1.6 var(--ma-sans);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.ma-form input[type="text"]:focus,
.ma-form input[type="email"]:focus,
.ma-form select:focus,
.ma-form textarea:focus {
  outline: none;
  border-color: var(--ma-accent);
  box-shadow: 0 0 0 3px rgba(213, 57, 83, 0.14);
}
.ma-form textarea { resize: vertical; }
.ma-form__check { display: flex !important; align-items: center; gap: 10px; font-weight: 400 !important; font-size: 13px !important; }
.ma-form__check a { color: var(--ma-accent-dark); }
.ma-form__submit { width: 100%; border: none; }
.ma-form__status { margin: 0; min-height: 1.4em; color: var(--ma-accent-dark); font-size: 13px; }
@media (max-width: 900px) { .ma-contact__grid { grid-template-columns: 1fr; } }
