/* ---------------------------------------------------------------------
   IMPORTANTE: el orden de carga de las hojas es significativo.
   Está declarado en src/Support/Assets.php (constante CSS) y no debe
   alterarse: varias reglas de los archivos finales afinan a propósito lo
   que definen los primeros.
   --------------------------------------------------------------------- */

/* =====================================================================
   Portal público — encabezado, portada, proceso, confianza y pie
   ===================================================================== */

.public-header { position: sticky; z-index: 50; top: 0; height: 78px; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(105,28,50,.1); backdrop-filter: blur(16px); }
.public-header-inner { width: min(1240px, calc(100% - 40px)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.header-brand { display: flex; align-items: center; gap: 11px; border: 0; padding: 0; background: transparent; color: var(--guinda); text-align: left; flex-shrink: 0; }
.header-brand img { width: 55px; height: 55px; object-fit: contain; }
.header-brand span { display: flex; flex-direction: column; line-height: 1.15; }
.header-brand strong { font: 800 13px/1.1 Montserrat, Arial, sans-serif; letter-spacing: .04em; }
.header-brand small { color: var(--dorado-dark); font-size: 9px; text-transform: uppercase; letter-spacing: .18em; margin-top: 4px; }
.public-nav { display: flex; align-items: center; gap: 4px; }
.public-nav button { border: 0; background: transparent; color: #554a4d; min-height: 40px; padding: 0 13px; border-radius: 10px; font-size: 13px; font-weight: 650; display: inline-flex; gap: 7px; align-items: center; }
.public-nav button:hover:not(:disabled) { background: var(--guinda-soft); color: var(--guinda); }

/* Sección actual: el botón se deshabilita porque no lleva a ningún lado, pero
   debe leerse como «estás aquí», no como un control averiado. Por eso se
   sobrescribe la opacidad reducida que el reset aplica a :disabled. */
.public-nav button.is-current {
  opacity: 1;
  cursor: default;
  background: var(--guinda-soft);
  color: var(--guinda);
  font-weight: 750;
}
.public-nav button.is-current::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--dorado);
}
.public-nav .nav-install { color: var(--guinda); }
.public-nav .nav-login { background: var(--guinda); color: white; padding-inline: 16px; margin-left: 5px; }
.public-nav .nav-login:hover { background: #521426; color: white; }
.menu-button { display: none; border: 0; background: var(--guinda-soft); color: var(--guinda); border-radius: 11px; width: 42px; height: 42px; align-items: center; justify-content: center; }

.hero { min-height: 650px; position: relative; overflow: hidden; background: linear-gradient(118deg, #fff 0%, #fff 51%, #fbf5eb 100%); }
.hero::before { content: ""; position: absolute; width: 680px; height: 680px; right: -120px; top: -60px; border: 1px solid rgba(188,149,92,.18); border-radius: 50%; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-orb-one { width: 270px; height: 270px; background: rgba(236,215,152,.18); left: -100px; bottom: -90px; }
.hero-orb-two { width: 200px; height: 200px; background: rgba(105,28,50,.05); right: 28%; top: 10%; }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; position: relative; z-index: 1; padding-block: 55px; }
.hero-copy { padding-left: 12px; }
.hero-copy h1 { max-width: 700px; margin: 17px 0 18px; font: 800 clamp(42px, 5.1vw, 72px)/.99 Montserrat, Arial, sans-serif; letter-spacing: -.045em; color: var(--guinda-dark); }
.hero-copy h1 span { color: var(--dorado-dark); }
.hero-copy > p { max-width: 640px; color: #63585b; font-size: 18px; line-height: 1.75; margin: 0; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.privacy-promise { display: flex; align-items: center; gap: 11px; margin-top: 24px; color: var(--success); }
.privacy-promise > span { display: flex; flex-direction: column; font-size: 11px; color: var(--muted); }
.privacy-promise strong { font-size: 12px; color: #315e4b; }
.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.hero-seal-wrap { width: min(440px, 85%); aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.hero-seal-wrap::before, .hero-seal-wrap::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(188,149,92,.23); inset: -10%; }
.hero-seal-wrap::after { inset: -20%; border-color: rgba(105,28,50,.07); }
.hero-seal-wrap img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 25px 45px rgba(105,28,50,.14)); position: relative; z-index: 2; }
.seal-glow { position: absolute; inset: 7%; border-radius: 50%; background: #fff; box-shadow: 0 30px 70px rgba(105,28,50,.12); }
.floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,.95); border: 1px solid #eee1df; border-radius: 14px; padding: 12px 15px; box-shadow: var(--shadow-sm); color: var(--guinda); }
.floating-card span { display: flex; flex-direction: column; }
.floating-card strong { color: var(--ink); font-size: 12px; }
.floating-card small { color: var(--muted); font-size: 10px; }
.card-folio { left: -3%; top: 20%; }
.card-channel { right: -7%; bottom: 17%; }

/* Rejilla flexible: se adapta al número de tarjetas que haya. Actualmente solo
   está la de emergencias, pero si más adelante se agregan otras se acomodan
   solas sin tocar este archivo. */
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: -36px; position: relative; z-index: 3; }
/* Con una sola tarjeta, se limita el ancho para que no quede una barra enorme. */
.quick-actions:has(> :only-child) { grid-template-columns: minmax(280px, 460px); margin-top: -18px; }
.quick-card { min-height: 96px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.quick-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(59,24,34,.1); }
.quick-card > svg { width: 18px; color: var(--dorado-dark); }
.quick-card > span:not(.quick-icon) { display: flex; flex-direction: column; }
.quick-card small { color: var(--muted); font-size: 10px; }
.quick-card strong { color: var(--guinda); font-size: 14px; }
.quick-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--guinda-soft); color: var(--guinda); }
/* --- Aviso de emergencia --------------------------------------------------
   No es una acción de la plataforma sino una salida: le indica a quien está
   en riesgo que este no es el canal correcto. Por eso pesa menos que
   «Presentar denuncia», que es la acción principal de la página.

   Se conserva el guinda y el ícono para que se localice de inmediato —es
   información de seguridad—, pero como acento lateral en vez de fondo sólido,
   de modo que no compita con el botón principal. */
.quick-emergency {
  min-height: 0;
  padding: 12px 16px;
  gap: 11px;
  background: var(--guinda-soft);
  border: 1px solid #ecd7dc;
  border-left: 4px solid var(--guinda);
  border-radius: 14px;
  box-shadow: none;
}
.quick-emergency:hover { transform: none; background: #f7e9ec; box-shadow: var(--shadow-sm); }
.quick-emergency .quick-icon { width: 30px; height: 30px; border-radius: 9px; background: var(--guinda); color: #fff; font-size: 14px; }
.quick-emergency small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.quick-emergency strong { color: var(--guinda); font-size: 15px; }
.quick-emergency b { color: var(--dorado-dark); font-size: 16px; }

.how-section { padding-block: 110px 120px; }
.section-heading { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.section-heading h2 { margin: 12px 0 10px; color: var(--guinda-dark); font: 800 clamp(30px, 4vw, 43px)/1.1 Montserrat, Arial, sans-serif; letter-spacing: -.03em; }
.section-heading p { color: var(--muted); margin: 0; font-size: 16px; }
/* Se adapta al número de pasos que haya: debe coincidir siempre con los del
   asistente, y estaba fijo en 4 cuando el formulario ya tenía 5. */
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); position: relative; gap: 22px; }
.steps-row::before { content: ""; position: absolute; left: 10%; right: 10%; top: 30px; border-top: 1px dashed #d9c9c1; }
.process-step { text-align: center; position: relative; }
.process-step > span { width: 60px; height: 60px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; border: 1px solid #dfcfae; background: #fff; color: var(--guinda); font: 800 15px Montserrat, Arial, sans-serif; position: relative; z-index: 1; box-shadow: 0 5px 20px rgba(105,28,50,.07); }
.process-step h3 { margin: 0 0 9px; color: var(--guinda-dark); font: 750 16px/1.3 Montserrat, Arial, sans-serif; }
.process-step p { color: var(--muted); margin: 0; font-size: 13px; line-height: 1.65; }
.trust-section { background: linear-gradient(130deg, var(--guinda-deep), var(--guinda) 65%, #812b44); color: white; padding: 80px 0; position: relative; overflow: hidden; }
.trust-section::after { content: ""; position: absolute; width: 500px; height: 500px; right: -140px; top: -230px; border-radius: 50%; border: 1px solid rgba(236,215,152,.15); box-shadow: 0 0 0 80px rgba(236,215,152,.025), 0 0 0 160px rgba(236,215,152,.018); }
.trust-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.trust-grid h2 { font: 800 39px/1.12 Montserrat, Arial, sans-serif; letter-spacing: -.03em; margin: 15px 0; }
.trust-grid > div:first-child > p { color: #eadde1; line-height: 1.75; }
.trust-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trust-points > div { display: flex; align-items: center; gap: 13px; min-height: 82px; border-radius: 15px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: 16px; }
.trust-points svg { color: var(--crema); }
.trust-points span { display: flex; flex-direction: column; }
.trust-points strong { font-size: 13px; }
.trust-points span { color: #d6c5ca; font-size: 11px; }

footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .8fr .8fr 1.2fr; gap: 50px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-logo { width: 95px; margin-bottom: 4px; }
.footer-grid p { max-width: 330px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-grid strong { color: var(--guinda); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 7px; }
.footer-grid button, .footer-grid a { color: var(--muted); font-size: 12px; border: 0; background: none; padding: 0; text-decoration: none; }
.footer-grid button:hover, .footer-grid a:hover { color: var(--guinda); }
.footer-bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #998f92; font-size: 10px; margin-top: 42px; padding-top: 16px; }
.brand-strip { display: flex; align-items: center; gap: 15px; margin-left: auto; }
.brand-strip img { height: 45px; width: auto; max-width: 230px; object-fit: contain; }
.brand-divider { width: 1px; height: 35px; background: #e4d8d7; }
.brand-strip.compact { margin: 0; width: 100%; justify-content: center; padding: 13px 10px; border-top: 1px solid rgba(255,255,255,.09); border-bottom: 1px solid rgba(255,255,255,.09); }
.brand-strip.compact img { opacity: .9; max-width: 165px; height: 35px; }

