/* Presentacion publica V2. No modifica autenticacion, registro ni textos legales. */
:root {
  --public-v2-teal: #0f6e56;
  --public-v2-teal-soft: #e7f1ee;
  --public-v2-ink: #172731;
  --public-v2-line: #bcc9d1;
  --public-v2-steel: #e6ebee;
  --public-v2-shadow: 0 10px 28px rgba(23, 39, 49, .12);
}

/* Landing: conserva la imagen real del hero y refina la superficie metalica. */
.site-header {
  border-bottom-color: rgba(195, 210, 218, .35);
  background: linear-gradient(180deg, rgba(17, 31, 41, .96), rgba(7, 20, 30, .94));
  box-shadow: 0 2px 12px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.site-header .brand-mark { border-radius: 5px; background: linear-gradient(145deg, #1e3745, #0c1c27); }
.site-header .btn,
.hero .btn { border-radius: 5px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.site-header .btn.primary,
.hero .btn.primary { color: #fff; background: linear-gradient(180deg, #168269, #0f6e56); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 5px 15px rgba(15, 110, 86, .24); }
.hero { min-height: 88vh; border-bottom: 1px solid #536573; }
.hero h1 { max-width: 920px; font-size: 52px; line-height: 1.06; }
.hero-proof { gap: 8px; }
.proof-item { border-radius: 5px; border-color: rgba(210, 221, 227, .24); background: rgba(12, 27, 38, .82); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.tile,
.platform,
.sector,
.wire,
.form-panel,
.legal-card,
.reg-step,
.contact-card,
.usecase,
.access-card,
.section-detail { border-radius: 6px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 5px 16px rgba(0, 0, 0, .1); }
.section-light .tile,
.section-light .platform,
.section-light .sector,
.section-light .wire,
.section-light .form-panel,
.section-light .legal-card,
.section-light .reg-step,
.section-light .contact-card,
.section-light .usecase,
.section-detail.light { border-color: var(--public-v2-line); box-shadow: inset 0 1px 0 #fff, 0 5px 16px rgba(23, 39, 49, .08); }

/* Acceso: piel sobria; los formularios y sus handlers permanecen intactos. */
.client-login {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(231, 237, 240, .96)),
    #e7ecef;
}
.client-login::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 42px;
  border-bottom: 1px solid #aebcc5;
  background: linear-gradient(180deg, #243844, #172934);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 2px 8px rgba(20, 36, 46, .18);
}
.client-login-card {
  position: relative;
  width: min(440px, 100%);
  padding: 28px;
  overflow: hidden;
  border-color: #aebdc6;
  border-radius: 6px;
  box-shadow: inset 0 1px 0 #fff, 0 14px 34px rgba(20, 36, 46, .16);
}
.client-login-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--public-v2-teal); }
.client-login-card .client-logo { border-radius: 5px; background: linear-gradient(180deg, #17836a, #0f6e56); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.client-login-card .client-input,
.client-login-card .client-select { height: 42px; border-color: #b9c6ce; border-radius: 4px; background: #fbfcfd; }
.client-login-card .client-btn { min-height: 42px; border-radius: 4px; }
.client-login-card .client-btn.primary { border-color: #0b5c48; background: linear-gradient(180deg, #168269, #0f6e56); }
.client-public-footer { padding: 8px 12px; border-top: 1px solid #c4ced4; }

/* Registro: mismo documento y flujo, con acabado de escritorio profesional. */
.page-shell .sheet { border-color: #aebdc6; border-radius: 6px; box-shadow: var(--public-v2-shadow), inset 0 1px 0 #fff; }
.page-shell .sheet-header { border-bottom-width: 4px; border-bottom-color: var(--public-v2-teal); background: linear-gradient(145deg, #203642, #0e202c 72%); }
.page-shell .mark { border-radius: 5px; background: linear-gradient(180deg, #168269, #0f6e56); }
.page-shell .top-actions a,
.page-shell .top-actions button,
.page-shell .section,
.page-shell .quick-flow,
.page-shell input,
.page-shell select,
.page-shell textarea { border-radius: 4px; }
.page-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.page-shell select { min-height: 42px; }
.page-shell textarea { min-height: 92px; }
.page-shell .quick-eyebrow { border-radius: 4px; }

/* Legales: solo presentacion. El contenido canonico no se altera. */
.legal-shell { width: min(1040px, calc(100% - 32px)); }
.legal-nav { padding: 8px; border: 1px solid #bec9d0; border-radius: 5px; background: linear-gradient(180deg, #fff, #e9eef1); box-shadow: inset 0 1px 0 #fff; }
.legal-nav a { min-height: 38px; padding: 0 12px; border: 1px solid #2c414d; border-radius: 4px; background: linear-gradient(180deg, #2b404c, #172a35); }
.legal-card { border-color: #afbdc6; border-radius: 6px; box-shadow: var(--public-v2-shadow), inset 0 1px 0 #fff; }
.legal-hero { padding: 30px 34px; background: linear-gradient(145deg, #203642, #0e202c 72%); border-bottom: 4px solid var(--public-v2-teal); }
.legal-body .fact,
.legal-body .section { border-color: #c5d0d6; border-radius: 4px; box-shadow: inset 0 1px 0 #fff; }
.legal-body .fact { background: linear-gradient(180deg, #fff, #f4f7f8); }
.legal-body .section a,
.legal-body .fact a { color: #0b6c55; }

@media (max-width: 720px) {
  .client-login { align-content: start; padding: 74px 14px 20px; }
  .client-login-card { padding: 24px 20px; }
  .site-header .nav-shell { min-height: 66px; }
  .hero { min-height: 90vh; padding-top: 112px; }
  .hero h1 { font-size: 36px; }
  .legal-nav { display: flex; overflow-x: auto; flex-wrap: nowrap; }
  .legal-nav a { flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *, .client-login *, .page-shell *, .legal-shell * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
