/* =========================================================
     MERIDIAN CONTACT V2 — premium conversion experience
     ========================================================= */
  .mg-contact-v2-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 112px;
    background:
      radial-gradient(circle at 85% 18%, rgba(82,201,181,.16), transparent 28%),
      linear-gradient(180deg, var(--mg-paper) 0%, var(--mg-ivory) 100%);
  }
  .mg-contact-v2-hero::before {
    content: "";
    position: absolute;
    width: 470px;
    height: 470px;
    left: -260px;
    bottom: -260px;
    border: 1px solid rgba(36,87,214,.12);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(36,87,214,.025), 0 0 0 140px rgba(36,87,214,.018);
    pointer-events: none;
  }
  .mg-contact-v2-hero__grid {
    display: grid;
    grid-template-columns: .98fr 1.02fr;
    align-items: center;
    gap: 86px;
  }
  .mg-contact-v2-copy h1 {
    max-width: 720px;
    margin: 25px 0 28px;
    font-size: clamp(54px, 5.65vw, 84px);
    line-height: .965;
  }
  .mg-contact-v2-lead {
    max-width: 660px;
    margin: 0;
    font-size: 18px;
    line-height: 1.72;
    color: var(--mg-ink-2);
  }
  .mg-contact-v2-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
  }
  .mg-contact-v2-whatsapp-link {
    min-height: 58px;
    display: inline-grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 7px 16px 7px 8px;
    border: 1px solid rgba(17,35,63,.13);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 12px 32px rgba(17,35,63,.07);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  }
  .mg-contact-v2-whatsapp-link:hover {
    transform: translateY(-2px);
    border-color: rgba(36,87,214,.28);
    box-shadow: 0 16px 36px rgba(17,35,63,.11);
  }
  .mg-contact-v2-whatsapp-link small,
  .mg-contact-v2-whatsapp-link strong { display: block; }
  .mg-contact-v2-whatsapp-link small {
    margin-bottom: 1px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--mg-muted);
    text-transform: uppercase;
  }
  .mg-contact-v2-whatsapp-link strong { font-size: 14px; }
  .mg-contact-v2-whatsapp-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--mg-ink);
    background: var(--mg-mint);
  }
  .mg-contact-v2-whatsapp-icon svg { width: 21px; height: 21px; fill: currentColor; }
  .mg-contact-v2-context {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
    max-width: 680px;
    margin-top: 54px;
    padding-top: 24px;
    border-top: 1px solid var(--mg-line);
  }
  .mg-contact-v2-context div { display: grid; gap: 7px; }
  .mg-contact-v2-context strong { font-size: 12px; letter-spacing: .12em; color: var(--mg-cobalt); }
  .mg-contact-v2-context span { max-width: 170px; font-size: 14px; line-height: 1.45; color: var(--mg-muted); }

  .mg-contact-v2-brief {
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 38px;
    color: white;
    background: var(--mg-ink);
    box-shadow: 0 34px 90px rgba(17,35,63,.22);
    overflow: hidden;
  }
  .mg-contact-v2-brief::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    top: -170px;
    right: -160px;
    border: 1px solid rgba(82,201,181,.23);
    border-radius: 50%;
    box-shadow: 0 0 0 54px rgba(82,201,181,.03), 0 0 0 108px rgba(82,201,181,.02);
  }
  .mg-contact-v2-brief__head,
  .mg-contact-v2-brief__footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    color: #9DAABD;
  }
  .mg-contact-v2-live { display: inline-flex; align-items: center; gap: 8px; color: var(--mg-mint); }
  .mg-contact-v2-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(82,201,181,.10); }
  .mg-contact-v2-brief__statement {
    position: relative;
    z-index: 1;
    margin: 72px 0 46px;
  }
  .mg-contact-v2-brief__statement small {
    display: block;
    margin-bottom: 13px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--mg-mint);
  }
  .mg-contact-v2-brief__statement strong {
    display: block;
    max-width: 500px;
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.02;
    letter-spacing: -.045em;
  }
  .mg-contact-v2-brief__flow { position: relative; z-index: 1; display: grid; gap: 0; }
  .mg-contact-v2-brief__flow > div:not(.mg-contact-v2-flowline) {
    display: grid;
    grid-template-columns: 40px 110px 1fr;
    align-items: start;
    gap: 12px;
    padding: 14px 0;
  }
  .mg-contact-v2-brief__flow span { font-size: 12px; font-weight: 800; color: var(--mg-mint); }
  .mg-contact-v2-brief__flow strong { font-size: 14px; }
  .mg-contact-v2-brief__flow p { margin: 0; font-size: 14px; line-height: 1.5; color: #AEBACA; }
  .mg-contact-v2-flowline { height: 1px; margin-left: 40px; background: rgba(255,255,255,.11); }
  .mg-contact-v2-brief__footer {
    margin-top: auto;
    justify-content: flex-start;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.10);
  }
  .mg-contact-v2-brief__footer b { color: var(--mg-mint); }

  .mg-contact-v2-channels { padding: 118px 0; background: white; }
  .mg-contact-v2-channels__intro { margin-bottom: 46px; }
  .mg-contact-v2-channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
  .mg-contact-v2-channel {
    min-height: 440px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--mg-line);
    border-radius: 30px;
    background: var(--mg-paper);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  }
  .mg-contact-v2-channel:hover { transform: translateY(-5px); box-shadow: var(--mg-shadow); border-color: transparent; }
  .mg-contact-v2-channel--whatsapp { background: var(--mg-soft-mint); }
  .mg-contact-v2-channel--client { color: white; background: var(--mg-ink); border-color: var(--mg-ink); }
  .mg-contact-v2-channel__top { display: flex; align-items: start; justify-content: space-between; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
  .mg-contact-v2-channel__top strong { font-size: 42px; letter-spacing: -.05em; opacity: .18; }
  .mg-contact-v2-channel__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 56px 0 28px;
    border-radius: 18px;
    background: var(--mg-mint);
  }
  .mg-contact-v2-channel__icon svg { width: 27px; height: 27px; fill: var(--mg-ink); }
  .mg-contact-v2-channel__icon--form { color: white; background: var(--mg-cobalt); font-size: 25px; font-weight: 800; }
  .mg-contact-v2-channel__icon--client { color: var(--mg-ink); background: var(--mg-mint); font-size: 22px; font-weight: 900; }
  .mg-contact-v2-channel h3 { margin-bottom: 14px; font-size: 31px; }
  .mg-contact-v2-channel p { max-width: 360px; margin: 0; font-size: 15px; line-height: 1.65; color: var(--mg-ink-2); }
  .mg-contact-v2-channel--client p { color: #B9C5D4; }
  .mg-contact-v2-channel__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(17,35,63,.12);
  }
  .mg-contact-v2-channel--client .mg-contact-v2-channel__footer { border-color: rgba(255,255,255,.11); }
  .mg-contact-v2-channel__footer span { font-size: 12px; color: var(--mg-muted); }
  .mg-contact-v2-channel--client .mg-contact-v2-channel__footer span { color: #8FA0B5; }
  .mg-contact-v2-channel__footer b { font-size: 13px; }

  .mg-contact-v2-form-section { padding: 124px 0; background: var(--mg-ivory); }
  .mg-contact-v2-form-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 82px; align-items: start; }
  .mg-contact-v2-form-copy { position: sticky; top: 126px; }
  .mg-contact-v2-form-copy h2 { max-width: 570px; margin: 19px 0 24px; font-size: clamp(42px, 4.5vw, 64px); line-height: 1.02; }
  .mg-contact-v2-form-copy > p { max-width: 560px; font-size: 16px; line-height: 1.7; color: var(--mg-ink-2); }
  .mg-contact-v2-form-guide { max-width: 560px; margin-top: 42px; border-top: 1px solid var(--mg-line); }
  .mg-contact-v2-form-guide div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--mg-line); }
  .mg-contact-v2-form-guide span { padding-top: 3px; font-size: 12px; font-weight: 800; color: var(--mg-cobalt); }
  .mg-contact-v2-form-guide p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--mg-muted); }
  .mg-contact-v2-form-guide strong { color: var(--mg-ink); }
  .mg-contact-v2-direct { display: grid; gap: 8px; margin-top: 34px; }
  .mg-contact-v2-direct small { font-size: 12px; color: var(--mg-muted); }
  .mg-contact-v2-direct a { display: inline-flex; align-items: center; gap: 9px; width: fit-content; font-size: 14px; font-weight: 800; }
  .mg-contact-v2-direct__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mg-mint); box-shadow: 0 0 0 5px rgba(82,201,181,.12); }

  .mg-contact-form--premium { border: 1px solid rgba(17,35,63,.06); border-radius: 34px; padding: 40px; box-shadow: 0 28px 80px rgba(17,35,63,.11); }
  .mg-contact-form__header { display: flex; align-items: start; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid #E9E8E3; }
  .mg-contact-form__header div { display: grid; gap: 7px; }
  .mg-contact-form__header small { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--mg-cobalt); }
  .mg-contact-form__header strong { font-size: 24px; letter-spacing: -.035em; }
  .mg-contact-form__header > span { font-size: 12px; font-weight: 800; color: var(--mg-muted); }
  .mg-contact-form--premium input,
  .mg-contact-form--premium select,
  .mg-contact-form--premium textarea { background: #F9F9F7; }
  .mg-contact-form__submit-row { display: flex; align-items: center; gap: 20px; }
  .mg-contact-form__submit-row > span { max-width: 230px; font-size: 12px; line-height: 1.45; color: var(--mg-muted); }

  .mg-contact-v2-final { padding: 96px 0; color: white; background: var(--mg-cobalt); }
  .mg-contact-v2-final__inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 70px; }
  .mg-contact-v2-final .mg-kicker { color: #BFD1FF; }
  .mg-contact-v2-final h2 { max-width: 820px; margin: 18px 0 0; font-size: clamp(42px, 5vw, 70px); line-height: 1; }
  .mg-contact-v2-final h2 em { color: white; opacity: .72; }
  .mg-contact-v2-final__wa {
    min-width: 270px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.23);
    border-radius: 24px;
    background: rgba(255,255,255,.09);
    transition: background .22s ease, transform .22s ease;
  }
  .mg-contact-v2-final__wa:hover { transform: translateY(-3px); background: rgba(255,255,255,.14); }
  .mg-contact-v2-final__wa-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--mg-ink); background: var(--mg-mint); font-size: 18px; font-weight: 900; }
  .mg-contact-v2-final__wa small,
  .mg-contact-v2-final__wa strong { display: block; }
  .mg-contact-v2-final__wa small { margin-bottom: 4px; font-size: 12px; font-weight: 800; letter-spacing: .13em; color: #C8D7FF; }
  .mg-contact-v2-final__wa strong { font-size: 15px; }

  .mg-whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 96;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 6px 15px 6px 7px;
    border: 1px solid rgba(17,35,63,.12);
    border-radius: 999px;
    color: var(--mg-ink);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(17,35,63,.16);
    font-size: 13px;
    font-weight: 800;
    transition: transform .22s ease, box-shadow .22s ease;
  }
  .mg-whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(17,35,63,.20); }
  .mg-whatsapp-float__icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: var(--mg-mint); }
  .mg-whatsapp-float svg { width: 20px; height: 20px; fill: var(--mg-ink); }

  @media (max-width: 1020px) {
    .mg-contact-v2-hero__grid,
    .mg-contact-v2-form-layout { grid-template-columns: 1fr; }
    .mg-contact-v2-brief { min-height: 560px; }
    .mg-contact-v2-channel-grid { grid-template-columns: 1fr 1fr; }
    .mg-contact-v2-channel--client { grid-column: 1 / -1; min-height: 340px; }
    .mg-contact-v2-form-copy { position: static; }
    .mg-contact-v2-final__inner { grid-template-columns: 1fr; align-items: start; }
  }

  @media (max-width: 720px) {
    .mg-contact-v2-hero { padding: 68px 0 78px; }
    .mg-contact-v2-copy h1 { font-size: 48px; }
    .mg-contact-v2-actions { align-items: stretch; }
    .mg-contact-v2-actions > * { width: 100%; }
    .mg-contact-v2-whatsapp-link { border-radius: 20px; }
    .mg-contact-v2-context { grid-template-columns: 1fr; gap: 18px; }
    .mg-contact-v2-context div { grid-template-columns: 34px 1fr; align-items: start; }
    .mg-contact-v2-brief { min-height: auto; padding: 24px; border-radius: 28px; }
    .mg-contact-v2-brief__statement { margin: 55px 0 36px; }
    .mg-contact-v2-brief__flow > div:not(.mg-contact-v2-flowline) { grid-template-columns: 30px 90px 1fr; gap: 8px; }
    .mg-contact-v2-brief__footer { flex-wrap: wrap; }
    .mg-contact-v2-channels,
    .mg-contact-v2-form-section { padding: 78px 0; }
    .mg-contact-v2-channel-grid { grid-template-columns: 1fr; }
    .mg-contact-v2-channel,
    .mg-contact-v2-channel--client { grid-column: auto; min-height: 370px; padding: 24px; }
    .mg-contact-v2-channel__icon { margin-top: 40px; }
    .mg-contact-v2-form-layout { gap: 48px; }
    .mg-contact-form--premium { padding: 24px; border-radius: 26px; }
    .mg-contact-form__submit-row { align-items: flex-start; flex-direction: column; }
    .mg-contact-v2-final { padding: 70px 0; }
    .mg-contact-v2-final h2 { font-size: 45px; }
    .mg-contact-v2-final__wa { width: 100%; min-width: 0; }
    .mg-whatsapp-float { right: 14px; bottom: 14px; padding-right: 8px; }
    .mg-whatsapp-float__label { display: none; }
  }



/* =========================================================
     MERIDIAN CONTACT V2.17 — visual layer
     ========================================================= */
  .mg-contact-v2-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    isolation: isolate;
    background: #DCE3EA;
  }
  .mg-contact-v2-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.65,.25,1);
  }
  .mg-contact-v2-photo:hover img { transform: scale(1.025); }
  .mg-contact-v2-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
  }
  .mg-contact-v2-photo figcaption {
    position: absolute;
    z-index: 2;
    left: 24px;
    right: 24px;
    bottom: 22px;
    color: #fff;
  }
  .mg-contact-v2-photo figcaption > span {
    display: block;
    margin-bottom: 8px;
    color: #8FE0D1;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .15em;
  }
  .mg-contact-v2-photo figcaption strong {
    display: block;
    max-width: 620px;
    font-size: 22px;
    line-height: 1.16;
    letter-spacing: -.03em;
  }

  .mg-contact-v2-photo--hero {
    min-height: 230px;
    margin-top: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.10);
  }
  .mg-contact-v2-photo--hero img { object-position: center 42%; }
  .mg-contact-v2-photo--hero::after {
    background: linear-gradient(to top, rgba(8,23,39,.88), rgba(8,23,39,.07) 76%);
  }
  .mg-contact-v2-brief__statement { margin-top: 38px; }

  .mg-contact-v2-photo--form {
    min-height: 250px;
    max-width: 560px;
    margin-top: 30px;
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(17,35,63,.09);
  }
  .mg-contact-v2-photo--form img { object-position: center 46%; }
  .mg-contact-v2-photo--form::after {
    background: linear-gradient(to top, rgba(11,31,51,.80), rgba(11,31,51,.05) 72%);
  }
  .mg-contact-v2-photo--form figcaption strong { max-width: 470px; font-size: 20px; }

  .mg-contact-v2-photo--trust {
    min-height: 360px;
    margin-top: 34px;
    border-radius: 34px;
  }
  .mg-contact-v2-photo--trust img { object-position: center 43%; }
  .mg-contact-v2-photo--trust::after {
    background: linear-gradient(90deg, rgba(10,28,47,.86), rgba(10,28,47,.40) 58%, rgba(10,28,47,.08));
  }
  .mg-contact-v2-photo--trust figcaption {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    max-width: 650px;
  }
  .mg-contact-v2-photo--trust figcaption strong {
    font-size: clamp(28px,3vw,42px);
    line-height: 1.06;
  }
  .mg-contact-v2-photo--trust figcaption small {
    display: block;
    margin-top: 20px;
    color: rgba(255,255,255,.74);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .14em;
  }

  @media (max-width: 980px) {
    .mg-contact-v2-photo--hero { min-height: 300px; }
    .mg-contact-v2-photo--trust { min-height: 330px; }
    .mg-contact-v2-photo--form { max-width: none; }
  }

  @media (max-width: 650px) {
    .mg-contact-v2-photo--hero,
    .mg-contact-v2-photo--form,
    .mg-contact-v2-photo--trust { border-radius: 24px; }
    .mg-contact-v2-photo--hero { min-height: 245px; }
    .mg-contact-v2-photo--form { min-height: 235px; }
    .mg-contact-v2-photo--trust { min-height: 390px; }
    .mg-contact-v2-photo--trust::after {
      background: linear-gradient(to top, rgba(10,28,47,.90), rgba(10,28,47,.14) 75%);
    }
    .mg-contact-v2-photo--trust figcaption {
      top: auto;
      bottom: 24px;
      transform: none;
    }
    .mg-contact-v2-photo figcaption { left: 20px; right: 20px; bottom: 18px; }
    .mg-contact-v2-photo figcaption strong { font-size: 20px; }
    .mg-contact-v2-photo--trust figcaption strong { font-size: 30px; }
  }
