/* ============================================
   Congreso de Minería 2027 — página /congreso
   Alineada a Guia_Visual_Web_Congreso_Mineria_2027-01
   ============================================ */

:root {
  --navy: #06264f;
  --green: #215a37;
  --gold: #dca13b;
  --copper: #b96e2b;
  --silver: #9ea0a4;
  --light: #eff4f7;
  --line: #dfe6ec;
  --text: #2f3b4c;
  --muted: #5d6b7c;
  --white: #ffffff;
  --wa: #25d366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

.wrap { max-width: 1244px; margin: 0 auto; padding: 0 24px; }
section[id], div[id] { scroll-margin-top: 110px; }

h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.2; }
h2.title { font-size: 2rem; margin-bottom: 8px; }
.lead { color: var(--muted); font-size: 1rem; }

/* ---------- Botones ---------- */
.cb {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 30px; border-radius: 999px; border: 2px solid transparent;
  font-size: 0.95rem; font-weight: 600; line-height: 1.2; cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
  text-align: center;
}
.cb:hover { transform: translateY(-1px); }
.cb:focus-visible, .nav a:focus-visible, summary:focus-visible, .wa-float:focus-visible {
  outline: 3px solid var(--navy); outline-offset: 3px;
}
.cb-gold { background: var(--gold); color: var(--white); }
.cb-gold:hover { background: #c98f2c; }
.cb-green { background: var(--green); color: var(--white); }
.cb-green:hover { background: #184a2d; }
.cb-outline { background: var(--white); color: var(--green); border-color: var(--green); border-radius: 8px; padding: 13px 24px; }
.cb-outline:hover { background: var(--green); color: var(--white); }
.cb-outline-gold { background: var(--white); color: var(--gold); border-color: var(--gold); border-radius: 8px; padding: 11px 26px; }
.cb-outline-gold:hover { background: var(--gold); color: var(--white); }
.cb-block { display: flex; width: 100%; }
.cb img { width: 24px; height: 24px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 100; background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 98px; }
.top-logo { display: flex; align-items: center; gap: 12px; }
.top-logo img { height: 74px; width: auto; }
.top-logo .lt { font-size: 0.6rem; font-weight: 600; line-height: 1.25; color: var(--navy); letter-spacing: 0.01em; }
.top-logo .lt i { display: block; height: 1px; background: var(--gold); margin: 3px 0; }
.top-logo .lt .g { color: var(--green); font-weight: 800; }
.nav ul { display: flex; gap: 34px; }
.nav a { font-weight: 600; font-size: 0.95rem; color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--gold); }
.top .cb { padding: 14px 36px; border-radius: 8px; }

/* ---------- Hero ---------- */
.hero {
  background: #061f26 url('../img/congreso/hero.jpg') center right / cover no-repeat;
  color: var(--white);
  min-height: 613px;
  display: flex; align-items: center;
  padding: 56px 0;
}
.hero .wrap { width: 100%; }
.hero-txt { max-width: 700px; }
.hero .kicker { color: #3f7d57; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.95rem; margin-bottom: 12px; }
.hero h1 { color: var(--white); font-size: 3.6rem; font-weight: 700; line-height: 1.05; margin-bottom: 26px; }
.hero .tag { font-style: italic; font-weight: 500; font-size: 1.9rem; line-height: 1.25; margin-bottom: 40px; color: #f1f5f4; }
.hero .meta { display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: 1.3rem; margin-bottom: 18px; }
.hero .meta img { width: 38px; height: auto; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 44px; }

/* ---------- Intro + ejes ---------- */
.intro { text-align: center; padding: 28px 0 0; }
.intro h2 { font-size: 2rem; }
.ejes { padding: 22px 0 8px; }
.ejes > .wrap > h2 { text-align: center; font-size: 2rem; margin-bottom: 26px; }
.ejes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.eje { border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.eje img { width: 56px; height: 56px; flex: none; }
.eje h3 { color: var(--green); font-size: 1.25rem; line-height: 1.25; flex: 1; min-width: 140px; padding-top: 4px; }
.eje p { color: var(--muted); font-size: 0.92rem; width: 100%; }

/* ---------- Programa ---------- */
.prog { padding: 56px 0 40px; }
.prog h2 { font-size: 2rem; }
.tabs { display: flex; gap: 14px; margin: 22px 0; flex-wrap: wrap; }
.tab {
  border: 2px solid var(--navy); background: var(--white); color: var(--navy);
  font-weight: 600; font-size: 0.95rem; padding: 12px 24px; border-radius: 6px; cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--navy); color: var(--white); }
.panel[hidden] { display: none; }
.blk {
  display: grid; grid-template-columns: 52px 1fr 1fr; align-items: center; gap: 16px;
  background: #f6f8fa; border: 1px solid #e8edf1; border-radius: 4px;
  padding: 11px 20px; margin-bottom: 8px;
}
.blk .n { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--white); font-weight: 700; display: grid; place-items: center; font-size: 0.95rem; }
.blk h3 { font-size: 1.05rem; }
.blk .hr { display: block; font-weight: 500; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.blk p { color: var(--muted); font-size: 0.92rem; }
.acts { margin-top: 18px; }
.acts h4 { font-size: 0.9rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; font-weight: 600; }
.acts li { display: flex; gap: 14px; padding: 8px 4px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.acts li b { min-width: 170px; color: var(--navy); font-weight: 600; }
.prog-cta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.full-prog { margin-top: 24px; }
.full-prog[hidden] { display: none; }
.tbl-scroll { overflow-x: auto; }
.charlas { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; }
.charlas th { text-align: left; background: var(--navy); color: var(--white); padding: 10px 14px; font-weight: 600; }
.charlas td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.charlas tr:nth-child(even) td { background: #f6f8fa; }
.note { color: var(--muted); font-size: 0.82rem; margin-top: 10px; }

/* ---------- Ponentes ---------- */
.pon { padding: 40px 0 56px; }
.pon h2 { font-size: 2rem; }
.pon-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin: 28px 0 32px; }
.sp { text-align: center; }
.sp-btn { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; border-radius: 12px; padding: 6px; }
.sp-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.sp img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; background: #d9d9d9; box-shadow: 0 0 0 0 var(--gold); transition: box-shadow .2s, transform .2s; }
.sp-btn:hover img, .sp-btn:focus-visible img { box-shadow: 0 0 0 4px var(--gold); transform: translateY(-2px); }
.sp-btn:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.sp h3 { font-size: 1rem; line-height: 1.3; }
.sp p { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.row-cta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- Inscripción ---------- */
.insc { background: var(--light); padding: 32px 0 44px; }
.insc h2.title { font-size: 2rem; }
.insc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; margin-top: 22px; }
.insc h3.sub { font-size: 1.4rem; margin-bottom: 14px; }
.tarifas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tarifa { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 22px 16px; text-align: center; }
.tarifa h4 { font-size: 1.05rem; margin-bottom: 8px; }
.tarifa .p { font-size: 2.1rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.tarifa small { display: block; color: var(--muted); font-size: 0.82rem; margin: 6px 0 20px; }
.tarifa .cb { width: 100%; padding: 12px 8px; }
.incl { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.incl span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--green); font-size: 0.88rem; white-space: nowrap; }
.incl img { width: 42px; height: 42px; }
.insc .small { color: var(--muted); margin-top: 14px; font-size: 0.95rem; }
.intl { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; }
.intl table { width: 100%; border-collapse: collapse; }
.intl th { text-align: left; font-size: 0.9rem; color: var(--navy); padding: 6px 4px 14px; }
.intl td { padding: 10px 4px; font-weight: 700; color: var(--navy); }
.intl-note { margin: 16px 0 26px; color: var(--muted); }
.insc .cb-block + .note { margin: 10px 0 22px; }

/* ---------- Formulario participantes ---------- */
.form-p { padding: 44px 0 56px; }
.form-p h2 { font-size: 2rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr 1.2fr auto; gap: 20px; align-items: end; margin-top: 22px; }
.fgrid label { display: block; font-weight: 700; font-size: 0.85rem; color: var(--navy); margin-bottom: 8px; }
.fgrid input, .fgrid select {
  width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px;
  font-family: inherit; font-size: 0.92rem; color: var(--text); background: var(--white);
}
.form-p .note { margin: 14px 0 18px; font-size: 0.95rem; }
.form-p .row-cta { justify-content: flex-end; }

/* ---------- Patrocinios ---------- */
.spon { background: var(--navy); color: var(--white); padding: 40px 0 36px; text-align: center; }
.spon h2 { color: var(--white); font-size: 2.2rem; }
.spon .lead { color: #dbe4ef; margin-bottom: 22px; }
.sp-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); color: var(--text); font-size: 0.98rem; }
.sp-table th, .sp-table td { padding: 13px 18px; text-align: center; }
.sp-table th:first-child, .sp-table td:first-child { text-align: left; font-weight: 500; }
.sp-table thead th { color: var(--white); font-size: 1.5rem; font-weight: 700; padding: 10px; }
.sp-table thead th:first-child { background: var(--green); }
.sp-table .cu { background: var(--copper); }
.sp-table .pl { background: var(--silver); }
.sp-table .or { background: var(--gold); }
.sp-table tbody tr:nth-child(odd) td { background: #f0f0f0; }
.sp-table .dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--green); }
.sp-table .dash { color: #aaa; }
.sp-table small { display: block; font-size: 0.7rem; line-height: 1.2; }
.sp-table tfoot td { color: var(--white); font-weight: 700; padding: 12px 18px; }
.sp-table tfoot td:first-child { background: var(--green); font-size: 1.1rem; }
.sp-table tfoot td:first-child small { font-size: 0.95rem; font-weight: 500; }
.sp-table tfoot .cu { background: var(--copper); }
.sp-table tfoot .pl { background: var(--silver); }
.sp-table tfoot .or { background: var(--gold); }
.sp-table tfoot .price { font-size: 1.5rem; display: block; }
.sp-table tfoot .tot { font-weight: 500; font-size: 1rem; }
.spon-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; text-align: left; }
.spon-foot p { font-size: 0.92rem; color: #e6edf5; }
.cb-wa { background: var(--green); color: var(--white); }
.cb-wa:hover { background: #184a2d; }

/* ---------- Stand ---------- */
.stand { padding: 34px 0 20px; }
.stand h2 { font-size: 2rem; }
.stand-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; margin-top: 18px; }
.plano { background: #f6f8fa; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: block; }
.plano img { width: 100%; height: auto; }
.stand .txt { font-size: 1.1rem; color: var(--text); margin-bottom: 26px; }
.stand .cb-block + .cb-block { margin-top: 14px; }

/* ---------- Sede ---------- */
.sede { padding: 20px 0 40px; }
.sede h2 { font-size: 2rem; margin-bottom: 18px; }
.sede-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { background: #f6f8fa; border: 1px solid var(--line); border-radius: 12px; padding: 28px 28px; }
.card .hd { display: flex; align-items: center; gap: 18px; margin-bottom: 10px; }
.card .hd img { width: 36px; height: auto; }
.card h3 { font-size: 1.5rem; }
.card p { color: var(--muted); margin-bottom: 20px; }

/* ---------- Pagos ---------- */
.pay { padding: 30px 0 30px; }
.pay h2 { font-size: 2rem; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 18px; align-items: start; }
.bank { background: #f6f8fa; border: 1px solid var(--line); border-radius: 12px; padding: 24px 28px; }
.bank .hd { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bank .hd img { width: 40px; height: auto; }
.bank h3 { font-size: 1.4rem; }
.bank dl { display: grid; grid-template-columns: 150px 1fr; row-gap: 12px; margin-bottom: 20px; }
.bank dt { font-weight: 700; color: var(--navy); }
.bank dd { word-break: break-all; }
.bank-note { margin-top: 18px; font-size: 0.92rem; color: var(--muted); }
.steps li { display: flex; gap: 18px; margin-bottom: 22px; }
.steps .n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--white); font-weight: 700; display: grid; place-items: center; }
.steps h3 { font-size: 1.2rem; margin-bottom: 2px; }
.steps p { color: var(--muted); font-size: 0.95rem; }
.pay-btns { display: grid; gap: 12px; margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq { padding: 30px 0 30px; }
.faq h2 { font-size: 2rem; margin-bottom: 20px; }
.faq details { border: 1px solid var(--line); border-radius: 4px; margin-bottom: 12px; background: var(--white); }
.faq summary { list-style: none; cursor: pointer; padding: 15px 22px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 22px 18px; color: var(--muted); }
.faq .row-cta { justify-content: flex-end; margin-top: 22px; }

/* ---------- Footer ---------- */
.foot { background: var(--navy); color: var(--white); padding: 34px 0 26px; margin-top: 30px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.foot-logo { display: flex; align-items: center; gap: 18px; }
.foot-logo .tile { background: var(--white); border-radius: 12px; padding: 8px; width: 116px; height: 116px; display: grid; place-items: center; }
.foot-logo .tile img { width: 100%; height: auto; }
.foot-logo .tx { font-weight: 600; font-size: 1.05rem; line-height: 1.3; text-align: center; }
.foot-logo .tx b { display: block; font-weight: 800; }
.foot-logo .tx i { display: block; font-style: normal; font-size: 0.8rem; border-top: 1px solid var(--gold); margin: 3px auto; width: 100%; line-height: 0; }
.foot-btns { display: flex; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.foot-btns .cb { border-radius: 8px; min-width: 190px; }
.foot h3 { color: var(--white); font-size: 1.4rem; margin: 18px 0 6px; }
.foot p { color: #e6edf5; }
.copy { text-align: center; margin-top: 34px; font-size: 0.85rem; color: #dbe4ef; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 62px; height: 62px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float img { width: 34px; height: 34px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .pon-grid { grid-template-columns: repeat(3, 1fr); }
  .ejes-grid, .insc-cols, .stand-grid, .sede-grid, .pay-grid { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .hero h1 { font-size: 2.8rem; }
  .hero .tag { font-size: 1.5rem; }
}
@media (max-width: 640px) {
  .top-in { min-height: 76px; }
  .top-logo img { height: 56px; }
  .top .cb { padding: 11px 20px; font-size: 0.85rem; }
  .hero { background-image: linear-gradient(rgba(6,31,38,.78), rgba(6,31,38,.6)), url('../img/congreso/hero.jpg'); background-position: 72% center; min-height: 0; padding: 48px 0; }
  .hero h1 { font-size: 2.3rem; }
  .hero .tag { font-size: 1.25rem; margin-bottom: 26px; }
  .hero .meta { font-size: 1.05rem; }
  .hero-cta .cb { width: 100%; }
  .pon-grid { grid-template-columns: repeat(2, 1fr); }
  .tarifas { grid-template-columns: 1fr; }
  .blk { grid-template-columns: 40px 1fr; }
  .blk p { grid-column: 2; }
  .acts li { flex-direction: column; gap: 0; }
  .fgrid { grid-template-columns: 1fr; }
  .prog-cta .cb, .row-cta .cb, .foot-btns .cb { width: 100%; }
  .bank dl { grid-template-columns: 1fr; row-gap: 2px; }
  .bank dd { margin-bottom: 10px; }
  .foot-logo { flex-direction: column; align-items: flex-start; }
  .spon .tbl-scroll { overflow-x: auto; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Modal de reseñas ---------- */
.bio-modal {
  border: 0; padding: 0; background: transparent; margin: auto;
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
  overflow: visible; color: var(--text);
}
.bio-modal::backdrop { background: rgba(6,38,79,0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.bio-modal[open] { animation: bio-in .22s ease-out; }
.bio-modal[open]::backdrop { animation: bio-fade .22s ease-out; }
@keyframes bio-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes bio-fade { from { opacity: 0; } to { opacity: 1; } }
.bio-card {
  position: relative; background: var(--white); border-radius: 18px;
  border-top: 5px solid var(--gold);
  box-shadow: 0 24px 60px rgba(6,38,79,0.28);
  padding: 34px 34px 30px; max-height: calc(100vh - 48px); overflow-y: auto;
}
.bio-body h3 { font-size: 1.45rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; padding-right: 36px; }
.bio-body p { font-size: 0.95rem; line-height: 1.7; color: var(--text); margin-bottom: 12px; }
.bio-body p:last-child { margin-bottom: 0; }
.bio-body a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bio-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: #eef2f6; color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .2s;
}
.bio-close:hover { background: var(--gold); color: var(--white); }
.bio-close:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
html.modal-open { overflow: hidden; }
@media (max-width: 640px) { .bio-card { padding: 28px 22px 24px; } }
@media (prefers-reduced-motion: reduce) { .bio-modal[open], .bio-modal[open]::backdrop { animation: none; } }

/* ---------- Formularios (modal) ---------- */
.form-modal { width: min(760px, calc(100vw - 24px)); }
.form-modal .bio-card { padding: 34px 36px 30px; }
.form-modal h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 6px; padding-right: 40px; }
.fm-sub { font-size: 0.82rem; font-weight: 600; color: var(--green); margin-bottom: 14px; line-height: 1.5; }
.fm-intro { color: var(--text); font-size: 0.95rem; margin-bottom: 18px; }
.fm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 18px; }
.fm-f { display: block; font-weight: 600; font-size: 0.85rem; color: var(--navy); }
.fm-wide { grid-column: 1 / -1; margin-bottom: 16px; }
.fm-grid .fm-wide { margin-bottom: 0; }
.fm-f input, .fm-f textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 13px;
  border: 1px solid #cdd7df; border-radius: 6px; background: var(--white);
  font-family: inherit; font-size: 0.92rem; font-weight: 400; color: var(--text);
}
.fm-f textarea { resize: vertical; min-height: 84px; }
.fm-f input:focus, .fm-f textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.fm-set { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.fm-set legend { font-weight: 700; font-size: 0.92rem; color: var(--navy); margin-bottom: 8px; padding: 0; }
.fm-opt { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; cursor: pointer; font-size: 0.9rem; transition: border-color .15s, background .15s; }
.fm-opt:hover { border-color: var(--gold); }
.fm-opt:has(input:checked) { border-color: var(--green); background: #f1f7f3; }
.fm-opt input { margin-top: 3px; accent-color: var(--green); flex: none; }
.fm-hint { color: var(--muted); font-size: 0.8rem; margin: 0 0 8px; }
.fm-note { background: var(--light); border-radius: 8px; padding: 12px 14px; font-size: 0.88rem; margin-bottom: 14px; }
.fm-intl[hidden] { display: none; }
.fm-plano { margin: 4px 0 16px; }
.fm-plano img { width: 100%; max-width: 560px; height: auto; margin: 0 auto; border: 1px solid var(--line); border-radius: 10px; background: #f6f8fa; }
.fm-plano figcaption { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 6px; }
.fm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fm-status { min-height: 1.3em; font-size: 0.9rem; margin: 4px 0 10px; }
.fm-status.err { color: #b3261e; font-weight: 600; }
.fm-status a { color: var(--green); text-decoration: underline; }
.fm-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fm-actions .cb[disabled] { opacity: .6; cursor: progress; }
.fm-done[hidden], .fm-view[hidden] { display: none; }
.fm-done h3 { margin-bottom: 12px; }
.fm-done p { margin-bottom: 20px; line-height: 1.7; }
.fm :invalid.touched { border-color: #b3261e; }
@media (max-width: 640px) {
  .form-modal .bio-card { padding: 26px 18px 22px; }
  .fm-grid { grid-template-columns: 1fr; }
  .fm-actions .cb { width: 100%; }
}
