/* ══ RESET & VARIABLES ══ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand: #0d3b7a;
  --brand2: #1a5aad;
  --brand3: #2272d9;
  --accent: #0ea5e9;
  --accent2: #38bdf8;
  --text: #0f172a;
  --text2: #475569;
  --text3: #94a3b8;
  --border: #e2e8f0;
  --surface: #fff;
  --surface2: #f8fafc;
  --surface3: #f1f5f9;
  --green: #16a34a;
  --amber: #d97706;
  --r: 8px;
  --r2: 12px;
  --r3: 16px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .07);
  --shadow2: 0 4px 20px rgba(13, 59, 122, .12);
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
}

/* ══ CALC DENTRO DE APP: deshabilitar sticky interno ══ */
#calc-container .hs-header {
  display: none !important;
}

#calc-container .hs-export {
  position: relative !important;
  top: auto !important;
  box-shadow: none !important;
}

#calc-container .top-tabs {
  position: relative !important;
  top: auto !important;
  background: transparent !important;
  border-bottom: none !important;
  padding: 12px 24px 0 24px !important;
}

#calc-container .panel {
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
}

/* ══ NAVBAR ══ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  justify-content: space-between;
  transition: box-shadow .2s;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(13, 59, 122, .08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.nav-logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -.3px;
}

.nav-logo-sub {
  font-size: 10px;
  color: var(--text3);
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 7px 14px;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition: all .15s;
  border: none;
  background: none;
  font-family: inherit;
}

.nav-link:hover {
  background: var(--surface3);
  color: var(--brand);
}

.nav-link.active {
  color: var(--brand);
  background: #dbeafe;
  font-weight: 600;
}

.nav-link.soon {
  color: var(--text3);
  cursor: default;
}

.nav-link.soon:hover {
  background: none;
  color: var(--text3);
}

.soon-badge {
  font-size: 9px;
  background: var(--surface3);
  color: var(--text3);
  padding: 1px 5px;
  border-radius: 10px;
  margin-left: 3px;
  vertical-align: middle;
}

.nav-cta {
  background: var(--brand);
  color: white;
  border: none;
  border-radius: var(--r);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}

.nav-cta:hover {
  background: var(--brand2);
}

/* ══ PAGES ══ */
.page {
  display: none;
  min-height: 100vh;
  padding-top: 60px;
}

.page.active {
  display: block;
}


/* ── HERO DEMO ── */
.hero-demo {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 32px;
  background: #0d3b7a;
  border: 1px solid #1558b0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 40px rgba(13, 59, 122, .25);
}

.hd-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  margin-bottom: 20px;
}

.hd-connector {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, .15);
  margin-top: 22px;
  position: relative;
}

.hd-connector-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  width: 0%;
  transition: width .5s ease;
}

.hd-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
}

.hd-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 2px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  transition: all .35s;
  position: relative;
  z-index: 1;
}

.hd-dot.hd-active {
  border-color: #38bdf8;
  background: #0ea5e9;
  transform: scale(1.12);
}

.hd-dot.hd-done {
  border-color: #4ade80;
  background: rgba(74, 222, 128, .2);
}

.hd-lbl {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, .5);
  text-align: center;
  transition: color .3s;
  line-height: 1.3;
}

.hd-lbl.hd-active {
  color: #38bdf8;
}

.hd-lbl.hd-done {
  color: #4ade80;
}

.hd-card {
  background: #1558b0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  overflow: hidden;
  min-height: 180px;
}

.hd-panel {
  display: none;
  padding: 16px 18px;
  animation: hdIn .35s ease;
}

.hd-panel.hd-show {
  display: block;
}

@keyframes hdIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hd-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.hd-bar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hd-bar-title {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
}

.hd-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.hd-field {
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 6px;
  padding: 7px 10px;
}

.hd-field-lbl {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 2px;
}

.hd-field-val {
  font-size: 12px;
  color: white;
  font-weight: 500;
}

.hd-field-val.hd-typing::after {
  content: '|';
  animation: hdBlink .7s infinite;
}

@keyframes hdBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hd-calc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.hd-calc-var {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(56, 189, 248, .2);
  border: 1px solid rgba(56, 189, 248, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #38bdf8;
  flex-shrink: 0;
}

.hd-calc-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, .7);
  flex: 1;
}

.hd-calc-val {
  font-size: 11px;
  font-weight: 700;
  color: #7dd3fc;
}

.hd-result {
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(56, 189, 248, .3);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.hd-result-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, .6);
}

.hd-result-val {
  font-size: 18px;
  font-weight: 700;
  color: #38bdf8;
}

.hd-doc-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .2);
  margin-bottom: 5px;
}

.hd-doc-line.w-full {
  width: 95%;
}

.hd-doc-line.w-3q {
  width: 75%;
}

.hd-doc-line.w-half {
  width: 50%;
}

.hd-doc-line.blue {
  background: rgba(56, 189, 248, .5);
}

.hd-seremi-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(0, 0, 0, .15);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  margin-bottom: 6px;
}

.hd-seremi-ico {
  font-size: 14px;
}

.hd-seremi-txt {
  font-size: 11px;
  color: rgba(255, 255, 255, .85);
  flex: 1;
}

.hd-seremi-chk {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  transition: all .4s;
}

.hd-seremi-chk.ok {
  background: rgba(74, 222, 128, .3);
  border-color: #4ade80;
  color: #4ade80;
}

.hd-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.hd-nav-btn {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  color: white;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}

.hd-nav-btn:hover {
  background: rgba(255, 255, 255, .2);
}

.hd-nav-btn:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.hd-nav-dots {
  display: flex;
  gap: 5px;
}

.hd-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  transition: all .3s;
}

.hd-nav-dot.on {
  background: #38bdf8;
  width: 18px;
  border-radius: 3px;
}

.hd-progress {
  height: 2px;
  background: rgba(255, 255, 255, .1);
  border-radius: 1px;
  margin-bottom: 18px;
}

.hd-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  border-radius: 1px;
  transition: width .4s ease;
}

/* ══ INICIO ══ */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f7ff 0%, #e8f4ff 40%, #f0fdf4 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: .07;
}

.hero-c1 {
  width: 600px;
  height: 600px;
  background: var(--brand);
  top: -200px;
  right: -100px;
}

.hero-c2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -100px;
  left: -80px;
}

.hero-c3 {
  width: 200px;
  height: 200px;
  background: var(--green);
  top: 40%;
  left: 20%;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  padding: 40px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand2);
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: 52px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -.5px;
}

.hero-title span {
  color: var(--brand);
}

.hero-sub {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--brand);
  color: white;
  border: none;
  border-radius: var(--r2);
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  background: var(--brand2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 59, 122, .25);
}

.btn-hero-secondary {
  background: white;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: var(--r2);
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}

.btn-hero-secondary:hover {
  background: #f0f7ff;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}

.features {
  padding: 80px 40px;
  background: white;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 10px;
  text-align: center;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: 34px;
  color: var(--text);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -.3px;
}

.section-sub {
  font-size: 15px;
  color: var(--text2);
  text-align: center;
  margin-bottom: 52px;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--surface2);
  border-radius: var(--r3);
  border: 1px solid var(--border);
  padding: 28px;
  transition: all .2s;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(13, 59, 122, .1);
  transform: translateY(-3px);
  border-color: var(--accent2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.65;
}

.workflow {
  padding: 80px 40px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 60%, #1e40af 100%);
  color: white;
}

.workflow-inner {
  max-width: 900px;
  margin: 0 auto;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.wf-step {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--r2);
  padding: 22px 18px;
  text-align: center;
  transition: all .2s;
}

.wf-step:hover {
  background: rgba(255, 255, 255, .14);
}

.wf-num {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin: 0 auto 12px;
}

.wf-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.wf-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
}

.wf-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.5;
}

.normas {
  padding: 80px 40px;
  background: var(--surface2);
}

.normas-inner {
  max-width: 900px;
  margin: 0 auto;
}

.normas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.norma-card {
  background: white;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  padding: 18px;
  text-align: center;
}

.norma-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.norma-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 4px;
}

.norma-desc {
  font-size: 11px;
  color: var(--text3);
}

.cta-section {
  padding: 80px 40px;
  background: white;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, #0d3b7a, #2272d9);
  border-radius: 24px;
  padding: 56px 40px;
  max-width: 700px;
  margin: 0 auto;
  color: white;
}

.cta-title {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  margin-bottom: 12px;
}

.cta-sub {
  font-size: 15px;
  opacity: .8;
  margin-bottom: 28px;
  line-height: 1.6;
}

.btn-cta {
  background: white;
  color: var(--brand);
  border: none;
  border-radius: var(--r2);
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}

.footer {
  background: var(--text);
  color: rgba(255, 255, 255, .6);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-size: 15px;
  font-weight: 700;
  color: white;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: color .15s;
}

.footer-link:hover {
  color: white;
}

/* ══ PLATAFORMA ══ */
.plat-login {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d3b7a, #1558b0, #0ea5e9);
  padding: 40px 20px;
}

.login-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
}

.lc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.lc-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.lc-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--brand);
}

.lc-sub-t {
  font-size: 11px;
  color: var(--text3);
  letter-spacing: .4px;
  text-transform: uppercase;
}

.lc-heading {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.lc-desc {
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 24px;
}

.lc-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  border-radius: var(--r);
  padding: 9px 13px;
  font-size: 12px;
  margin-bottom: 14px;
  display: none;
}

.lc-field {
  margin-bottom: 14px;
}

.lc-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 5px;
}

.lc-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}

.lc-input:focus {
  border-color: var(--brand3);
}

.lc-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--brand), var(--brand3));
  color: white;
  border: none;
  border-radius: var(--r);
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-top: 6px;
}

.lc-btn:hover {
  opacity: .9;
}

.lc-hint {
  font-size: 11px;
  color: var(--text3);
  text-align: center;
  margin-top: 14px;
}

/* APP SHELL */
.app-shell {
  display: none;
  flex-direction: column;
  min-height: calc(100vh - 60px);
  width: 100%;
}

.app-topbar {
  background: var(--brand);
  color: white;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 calc((100% - 900px)/2 + 24px);
  flex-wrap: nowrap;
  width: 100%;
}

.at-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.at-badge {
  background: rgba(255, 255, 255, .15);
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-left: 3px;
}

.at-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.at-user {
  font-size: 13px;
  opacity: .9;
}

.at-logout {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: white;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
}

.app-nav {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0 calc((100% - 900px)/2 + 24px);
  display: flex;
  gap: 0;
  overflow-x: auto;
  width: 100%;
}

.an-tab {
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .15s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.an-tab:hover {
  color: var(--brand);
}

.an-tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: 600;
}

.app-body {
  flex: 1;
  background: var(--surface3);
  width: 100%;
}

/* GESTIÓN PROYECTOS */
.mgmt-body {
  padding: 24px 28px;
  max-width: 900px;
  margin: 0 auto;
}

.a-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.a-stat {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s;
}

.a-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 59, 122, 0.08);
}

.a-stat-ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.a-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .3px;
}

.a-stat-num {
  font-size: 22px;
  font-weight: 700;
}

.a-section-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.a-sec-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.a-btn-new {
  background: var(--brand);
  color: white;
  border: none;
  border-radius: var(--r);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.a-btn-new:hover {
  background: var(--brand2);
}

.a-table {
  background: white;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  overflow: hidden;
}

.a-th {
  display: grid;
  grid-template-columns: 2fr 1.4fr 0.8fr 1fr 1.2fr;
  gap: 10px;
  padding: 10px 18px;
  background: var(--surface3);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .4px;
}

.a-tr {
  display: grid;
  grid-template-columns: 2fr 1.4fr 0.8fr 1fr 1.2fr;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background .1s;
}

.a-tr:last-child {
  border: none;
}

.a-tr:hover {
  background: var(--surface2);
}

.a-pname {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.a-pid {
  font-size: 11px;
  color: var(--text3);
  font-family: monospace;
  margin-top: 1px;
}

.a-owner {
  font-size: 13px;
  color: var(--text2);
}

.a-date {
  font-size: 12px;
  color: var(--text3);
}

.s-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.sb-d {
  background: #dbeafe;
  color: #1d4ed8;
}

.sb-r {
  background: #fef3c7;
  color: #d97706;
}

.sb-a {
  background: #dcfce7;
  color: #16a34a;
}

.sb-ar {
  background: #f3f4f6;
  color: #6b7280;
}

.a-acts {
  display: flex;
  gap: 4px;
}

.a-act {
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid;
  transition: all .12s;
  font-family: inherit;
}

.a-act-e {
  background: #f8fafc;
  color: var(--text2);
  border-color: var(--border);
}

.a-act-c {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93c5fd;
}

.a-kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.a-kcol {
  background: var(--surface2);
  border-radius: var(--r2);
  padding: 12px;
  border: 1px solid var(--border);
}

.a-kch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid;
}

.a-kct {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.a-kcn {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 20px;
}

.a-kcard {
  background: white;
  border-radius: var(--r);
  border: 1px solid var(--border);
  padding: 11px;
  margin-bottom: 7px;
  cursor: pointer;
  transition: box-shadow .12s;
}

.a-kcard:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, .1);
}

.a-kcname {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.a-kcown {
  font-size: 12px;
  color: var(--text2);
}

.a-kcdate {
  font-size: 12px;
  color: var(--text3);
  margin-top: 6px;
}

.a-kempty {
  font-size: 11px;
  color: var(--text3);
  text-align: center;
  padding: 14px 0;
  font-style: italic;
}

/* CALCULADORA WRAPPER */
.calc-wrapper {
  background: var(--surface3);
  min-height: calc(100vh - 110px);
}

/* MODAL */
.a-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.a-modal-bg.open {
  display: flex;
}

.a-modal {
  background: white;
  border-radius: var(--r3);
  padding: 26px;
  width: 100%;
  max-width: 500px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
}

.a-modal-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
}

.a-modal-sub {
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 20px;
}

.a-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.a-form-grp {
  margin-bottom: 12px;
}

.a-form-lbl {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 4px;
}

.a-form-inp {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 9px 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}

.a-form-inp:focus {
  border-color: var(--brand3);
}

.a-form-sel {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 9px 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: white;
}

.a-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.a-btn-cancel {
  background: var(--surface3);
  color: var(--text2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 8px 16px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

.a-btn-save {
  background: var(--brand);
  color: white;
  border: none;
  border-radius: var(--r);
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

/* BIBLIOTECA */
.bib-wrap {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
}

.bib-hero {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: white;
  padding: 48px 40px;
  text-align: center;
}

.bib-hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  margin-bottom: 8px;
}

.bib-hero-sub {
  font-size: 14px;
  opacity: .75;
  max-width: 500px;
  margin: 0 auto 20px;
}

.bib-search-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: white;
  border-radius: var(--r2);
  max-width: 440px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
}

.bib-search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 18px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
}

.bib-search-btn {
  background: var(--accent);
  border: none;
  color: white;
  padding: 13px 18px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}

.bib-body {
  display: flex;
  flex: 1;
}

.bib-sidebar {
  width: 210px;
  flex-shrink: 0;
  background: white;
  border-right: 1px solid var(--border);
  padding: 16px 0;
}

.bs-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 8px 16px 4px;
}

.bs-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: var(--text2);
  border-left: 3px solid transparent;
  transition: all .14s;
}

.bs-item:hover {
  background: var(--surface2);
  color: var(--brand);
}

.bs-item.active {
  background: #dbeafe;
  color: var(--brand);
  border-left-color: var(--brand);
  font-weight: 600;
}

.bs-ico {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.bs-cnt {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  background: var(--surface3);
  color: var(--text3);
  padding: 1px 6px;
  border-radius: 20px;
}

.bib-main {
  flex: 1;
  padding: 24px;
  background: var(--surface2);
}

.bib-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.bcat {
  background: white;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  padding: 16px;
  cursor: pointer;
  transition: all .15s;
  position: relative;
  overflow: hidden;
}

.bcat::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.bcat.m::after {
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.bcat.n::after {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.bcat.p::after {
  background: linear-gradient(90deg, #16a34a, #4ade80);
}

.bcat.f::after {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}

.bcat:hover {
  box-shadow: 0 4px 16px rgba(13, 59, 122, .1);
  transform: translateY(-2px);
}

.bcat-icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.bcat-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.bcat-n {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}

.bcat.m .bcat-n {
  background: #dbeafe;
  color: #1d4ed8;
}

.bcat.n .bcat-n {
  background: #ede9fe;
  color: #7c3aed;
}

.bcat.p .bcat-n {
  background: #dcfce7;
  color: #16a34a;
}

.bcat.f .bcat-n {
  background: #fef3c7;
  color: #d97706;
}

.bib-docs-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.bib-docs-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bib-count {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  background: #dbeafe;
  color: #1d4ed8;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.doc-card {
  background: white;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  padding: 16px;
  cursor: pointer;
  transition: all .14s;
}

.doc-card:hover {
  box-shadow: 0 4px 16px rgba(13, 59, 122, .1);
}

.dc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dc-ico {
  width: 36px;
  height: 42px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.dc-ico.pdf {
  background: #fee2e2;
}

.dc-ico.dwg {
  background: #dbeafe;
}

.dc-ico.doc {
  background: #dcfce7;
}

.dc-type {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
  text-transform: uppercase;
}

.dc-type.pdf {
  background: #fee2e2;
  color: #dc2626;
}

.dc-type.dwg {
  background: #dbeafe;
  color: #1d4ed8;
}

.dc-type.doc {
  background: #dcfce7;
  color: #16a34a;
}

.dc-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.35;
}

.dc-author {
  font-size: 11px;
  color: var(--text2);
  margin-bottom: 6px;
}

.dc-desc {
  font-size: 11px;
  color: var(--text3);
  line-height: 1.5;
  margin-bottom: 10px;
}

.dc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.dc-meta {
  font-size: 10px;
  color: var(--text3);
}

.dc-acts {
  display: flex;
  gap: 5px;
}

.dc-btn {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid;
  transition: all .12s;
  font-family: inherit;
}

.dc-btn.v {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93c5fd;
}

.dc-btn.d {
  background: #f0fdf4;
  color: #16a34a;
  border-color: #a7f3d0;
}

/* TOAST */
/* TOAST */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  z-index: 1000;
  transform: translateY(40px) scale(0.9);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* HIDDEN */
.hidden {
  display: none;
}

/* Ocultar header y export bar de la calc cuando está dentro del app */
#calc-container .hs-header {
  display: none !important;
}

#calc-container .hs-export {
  position: relative !important;
  top: auto !important;
}

#calc-container .top-tabs {
  position: relative !important;
  top: auto !important;
}

#calc-container .app {
  box-shadow: none !important;
  border-radius: 0 !important;
  max-width: 100% !important;
}

#calc-container .panel {
  max-height: none !important;
}

/* ── DARK MODE ── */
body.dark {
  background: #0f172a !important;
  color: #e2e8f0;
}

body.dark .navbar {
  background: rgba(15, 23, 42, .97) !important;
  border-color: #1e293b;
}

body.dark .nav-link {
  color: #94a3b8 !important;
}

body.dark .nav-link.active {
  background: #1e3a5f !important;
  color: #7dd3fc !important;
}

body.dark .app-nav {
  background: #1e293b !important;
  border-color: #334155 !important;
}

body.dark .an-tab {
  color: #94a3b8 !important;
}

body.dark .an-tab.active {
  color: #7dd3fc !important;
  border-color: #7dd3fc !important;
}

body.dark #appBody {
  background: #0f172a !important;
}

body.dark .mgmt-body {
  background: #0f172a !important;
}

body.dark .a-stat {
  background: rgba(30, 41, 59, 0.85) !important;
  backdrop-filter: blur(10px) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

body.dark .a-table {
  background: #1e293b !important;
  border-color: #334155 !important;
}

body.dark .a-th {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #64748b !important;
}

body.dark .a-tr {
  border-color: #334155 !important;
}

body.dark .a-tr:hover {
  background: #1e293b !important;
}

body.dark .a-pname {
  color: #e2e8f0 !important;
}

body.dark .a-kcard {
  background: #0f172a !important;
  border-color: #334155 !important;
}

body.dark .a-kcol {
  background: #1e293b !important;
  border-color: #334155 !important;
}

body.dark .a-modal {
  background: #1e293b !important;
  color: #e2e8f0;
}

body.dark .a-form-inp,
body.dark .a-form-sel {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}

body.dark .bib-main {
  background: #0f172a !important;
}

body.dark .bib-sidebar {
  background: #1e293b !important;
  border-color: #334155 !important;
}

body.dark .bs-item {
  color: #94a3b8 !important;
}

body.dark .bs-item.active {
  background: #1e3a5f !important;
  color: #7dd3fc !important;
}

body.dark .doc-card {
  background: #1e293b !important;
  border-color: #334155 !important;
}

body.dark .dc-name {
  color: #e2e8f0 !important;
}

body.dark .search-bar {
  background: #1e293b !important;
  border-color: #334155 !important;
}

body.dark .search-bar input {
  color: #e2e8f0 !important;
}

body.dark .page {
  background: #0f172a;
}

/* TARIFAS */
.tarifas-wrap {
  min-height: calc(100vh - 60px);
  background: #f8fafc;
}

.tarifas-hero {
  background: linear-gradient(135deg, #0d3b7a, #1558b0);
  color: white;
  padding: 56px 40px;
  text-align: center;
}

.tarifas-hero-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .6);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 10px;
  display: block;
}

.tarifas-hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  margin-bottom: 10px;
  color: white;
}

.tarifas-hero-sub {
  font-size: 15px;
  opacity: .75;
  max-width: 520px;
  margin: 0 auto;
  color: white;
  display: block;
}

.tarifas-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.tarifas-toggle-label {
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
}

.tarifas-toggle-track {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, .2);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background .2s;
  display: inline-block;
}

.tarifas-toggle-track.on {
  background: rgba(74, 222, 128, .5);
}

.tarifas-toggle-thumb {
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform .2s;
}

.tarifas-toggle-track.on .tarifas-toggle-thumb {
  transform: translateX(20px);
}

.tarifas-badge-anual {
  background: rgba(74, 222, 128, .2);
  border: 1px solid rgba(74, 222, 128, .4);
  color: #4ade80;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.planes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 40px;
}

.plan-card {
  background: white;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .2s;
}

.plan-card:hover {
  box-shadow: 0 8px 40px rgba(13, 59, 122, .12);
  transform: translateY(-4px);
}

.plan-card.featured {
  border-color: #2272d9;
  box-shadow: 0 4px 24px rgba(34, 114, 217, .15);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #0d3b7a;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-name {
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.plan-price-num {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
}

.plan-price-per {
  font-size: 13px;
  color: #94a3b8;
}

.plan-price-anual {
  font-size: 12px;
  color: #16a34a;
  font-weight: 600;
  margin-bottom: 16px;
  min-height: 18px;
}

.plan-desc {
  font-size: 13px;
  color: #475569;
  margin-bottom: 20px;
  line-height: 1.6;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 24px;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #475569;
}

.plan-feature-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-feature-icon.ok {
  background: #dcfce7;
  color: #16a34a;
}

.plan-feature-icon.no {
  background: #f3f4f6;
  color: #9ca3af;
}

.plan-feature span {
  color: #94a3b8;
  text-decoration: line-through;
}

.plan-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all .15s;
}

.plan-btn.primary {
  background: #0d3b7a;
  color: white;
}

.plan-btn.primary:hover {
  background: #1558b0;
}

.plan-btn.outline {
  background: white;
  color: #0d3b7a;
  border: 2px solid #0d3b7a;
}

.plan-btn.outline:hover {
  background: #f0f7ff;
}

.tarifas-garantia {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.garantia-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

.garantia-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.garantia-sub {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}

.tarifas-faq {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px 56px;
}

.faq-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-bottom: 28px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  background: white;
  transition: background .15s;
  user-select: none;
}

.faq-q:hover {
  background: #f8fafc;
}

.faq-q-arrow {
  font-size: 12px;
  color: #94a3b8;
  transition: transform .25s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-q.open .faq-q-arrow {
  transform: rotate(180deg);
}

.faq-a {
  font-size: 13px;
  color: #475569;
  line-height: 1.7;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
  background: white;
}

.faq-a.open {
  max-height: 200px;
  padding: 0 20px 16px;
}

/* CONTACTO */
.contacto-wrap {
  min-height: calc(100vh - 60px);
  background: #f8fafc;
}

.contacto-hero {
  background: linear-gradient(135deg, #0d3b7a, #1558b0);
  color: white;
  padding: 56px 40px;
  text-align: center;
}

.contacto-hero-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .6);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 10px;
  display: block;
}

.contacto-hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  margin-bottom: 10px;
  color: white;
}

.contacto-hero-sub {
  font-size: 15px;
  opacity: .75;
  max-width: 500px;
  margin: 0 auto;
  color: white;
  display: block;
}

.contacto-body {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacto-info-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.contacto-info-sub {
  font-size: 13px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 8px;
}

.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.contacto-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contacto-item-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 3px;
}

.contacto-item-val {
  font-size: 13px;
  color: #0f172a;
  font-weight: 500;
}

.contacto-item-sub {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 1px;
}

.contacto-form-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
}

.contacto-form-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.contacto-form-sub {
  font-size: 13px;
  color: #475569;
  margin-bottom: 24px;
}

.cf-group {
  margin-bottom: 16px;
}

.cf-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 6px;
}

.cf-input {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
  color: #0f172a;
  background: white;
}

.cf-input:focus {
  border-color: #2272d9;
}

.cf-textarea {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
  resize: vertical;
  min-height: 120px;
  color: #0f172a;
  background: white;
}

.cf-textarea:focus {
  border-color: #2272d9;
}

.cf-select {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: white;
  color: #0f172a;
}

.cf-select:focus {
  border-color: #2272d9;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cf-btn {
  width: 100%;
  background: #0d3b7a;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
  margin-top: 4px;
}

.cf-btn:hover {
  background: #1558b0;
}

.cf-success {
  display: none;
  background: #dcfce7;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  margin-top: 16px;
}

.cf-success-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}

.cf-success-title {
  font-size: 14px;
  font-weight: 700;
  color: #14532d;
  margin-bottom: 4px;
}

.cf-success-sub {
  font-size: 12px;
  color: #166534;
}

.contacto-faq-strip {
  background: white;
  border-top: 1px solid #e2e8f0;
  padding: 40px;
}

.contacto-faq-strip-inner {
  max-width: 960px;
  margin: 0 auto;
}

.contacto-faq-strip-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.cfs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cfs-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all .15s;
}

.cfs-card:hover {
  background: #f0f7ff;
  border-color: #93c5fd;
}

.cfs-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}

.cfs-card-sub {
  font-size: 11px;
  color: #475569;
}

/* CHECKLIST SEREMI */
.cl-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .5);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cl-modal-bg.open {
  display: flex;
}

.cl-modal {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cl-modal-head {
  background: linear-gradient(135deg, #0d3b7a, #1558b0);
  color: white;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.cl-modal-title {
  font-size: 15px;
  font-weight: 700;
}

.cl-modal-sub {
  font-size: 11px;
  opacity: .7;
  margin-top: 2px;
}

.cl-modal-close {
  background: rgba(255, 255, 255, .15);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cl-progress-wrap {
  padding: 14px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.cl-progress-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.cl-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0d3b7a, #0ea5e9);
  border-radius: 3px;
  transition: width .3s ease;
}

.cl-progress-label {
  font-size: 11px;
  color: #64748b;
  margin-top: 5px;
  display: flex;
  justify-content: space-between;
}

.cl-body {
  overflow-y: auto;
  flex: 1;
  padding: 8px 0;
}

.cl-section {
  margin-bottom: 4px;
}

.cl-section-title {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 12px 24px 6px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.cl-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 24px;
  border-bottom: 1px solid #f8fafc;
  cursor: pointer;
  transition: background .12s;
  user-select: none;
}

.cl-item:hover {
  background: #f8fafc;
}

.cl-item.checked {
  background: #f0fdf4;
}

.cl-item.checked .cl-text {
  color: #166534;
}

.cl-check {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 2px solid #cbd5e1;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}

.cl-item.checked .cl-check {
  background: #16a34a;
  border-color: #16a34a;
  color: white;
}

.cl-text {
  font-size: 12px;
  color: #374151;
  line-height: 1.5;
  flex: 1;
}

.cl-text.checked {
  text-decoration: line-through;
  color: #6b7280;
}

.cl-badge {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.cl-modal-foot {
  padding: 14px 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  background: white;
}

.cl-foot-info {
  font-size: 12px;
  color: #64748b;
}

.cl-foot-btn {
  background: #0d3b7a;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.cl-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0fdf4;
  border: 1.5px solid #a7f3d0;
  color: #166534;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}

.cl-trigger-btn:hover {
  background: #dcfce7;
}

.cl-trigger-btn.partial {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #92400e;
}

.cl-trigger-btn.empty {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #64748b;
}

.lc-btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: white;
  color: #3c4043;
  border: 1.5px solid #dadce0;
  border-radius: 8px;
  padding: 11px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
  margin-bottom: 12px;
}

.lc-btn-google:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}

.lc-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  color: #94a3b8;
  font-size: 12px;
}

.lc-divider::before,
.lc-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}



:root {
  --brand: #0d3b7a;
  --brand2: #1558b0;
  --brand3: #2272d9;
  --brand-light: #e8f0fb;
  --accent: #0ea5e9;
  --accent2: #0284c7;
  --green: #16a34a;
  --green-light: #dcfce7;
  --amber: #d97706;
  --amber-light: #fef3c7;
  --red: #dc2626;
  --red-light: #fee2e2;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 4px 24px rgba(13, 59, 122, 0.10);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 12px;
  background: linear-gradient(135deg, #e8f0fb 0%, #f1f5f9 60%, #e0eaff 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

/* ── HEADER ── */
.hs-header {
  width: 100%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.hs-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hs-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--brand3));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.hs-logo-text {
  color: white;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
}

.hs-logo-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

.hs-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 9px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── EXPORT BAR ── */
.hs-export {
  width: 100%;
  max-width: 1600px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 90;
}

.hs-export-group {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface2);
  padding: 6px 14px;
  border-radius: 24px;
  border: 1px solid var(--border);
}

.hs-export-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hs-divider {
  width: 1px;
  height: 18px;
  background: var(--gray-300);
  margin: 0 4px;
}

.gen-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  color: white;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 20px;
  letter-spacing: 0.3px;
  transition: all 0.2s;
}

.gen-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-eett {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.btn-mc {
  background: linear-gradient(135deg, #d97706, #b45309);
}

.btn-ambos {
  background: linear-gradient(135deg, #0d3b7a, #1558b0);
}

.btn-ap-eett {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.btn-ap-mc {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.btn-ap-ambos {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

#smsg {
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
  background: var(--green-light);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── APP CONTAINER ── */
.app {
  width: 100%;
  max-width: 1600px;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 56px);
  background: transparent;
}

/* ── NAV TABS ── */
.top-tabs {
  display: flex;
  background: white;
  padding: 8px 24px 0 24px;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.top-tab {
  padding: 12px 20px;
  cursor: pointer;
  color: var(--text2);
  font-weight: 600;
  font-size: 12px;
  user-select: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px 8px 0 0;
}

.top-tab:hover {
  background: var(--surface2);
  color: var(--brand);
}

.top-tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: 700;
  background: white;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.02);
}

/* ── PANEL ── */
.panel {
  background: #f1f5f9;
  padding: 24px 32px;
  flex: 1;
  overflow: auto;
}

/* ── SECTION ── */
.sec {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 28px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(13, 59, 122, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sec:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(13, 59, 122, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.sec-h {
  background: linear-gradient(to right, #f8fafc, white);
  color: var(--text);
  padding: 16px 24px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.sec-h::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 18px;
  background: linear-gradient(180deg, var(--brand3), var(--accent2));
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.3);
}

.sec-b {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px 16px;
  align-items: center;
}

.lbl {
  text-align: right;
  color: var(--text2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.inp {
  border: 1px solid var(--border);
  padding: 9px 14px;
  font-size: 13px;
  width: 100%;
  background: #f8fafc;
  color: var(--text);
  outline: none;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.inp:focus {
  border-color: var(--brand3);
  background: white;
  box-shadow: 0 0 0 4px rgba(34, 114, 217, 0.15);
}

.sel {
  border: 1px solid var(--border);
  padding: 9px 14px;
  font-size: 13px;
  width: 100%;
  background: #f8fafc;
  color: var(--text);
  border-radius: 8px;
  transition: all 0.2s;
}

.sel:focus {
  border-color: var(--brand3);
  background: white;
  box-shadow: 0 0 0 4px rgba(34, 114, 217, 0.15);
  outline: none;
}

/* ── NAV ROW ── */
.nav-row {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  gap: 12px;
  align-items: center;
}

.btn-save {
  padding: 12px 28px;
  border: none;
  background: linear-gradient(135deg, var(--brand3), var(--brand));
  color: white;
  font-size: 14px;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(13, 59, 122, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 59, 122, 0.3);
  background: linear-gradient(135deg, var(--accent), var(--brand));
}

.nb {
  padding: 9px 20px;
  border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: white;
  font-size: 13px;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(13, 59, 122, 0.15);
}

.nb:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 59, 122, 0.25);
}

.nb.s {
  background: linear-gradient(135deg, var(--gray-500), var(--gray-600));
  box-shadow: none;
}

.nb.s:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ── TABLES ── */
.tbl {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  border-style: hidden;
}

.tbl-h {
  background: linear-gradient(to right, #f8fafc, #f1f5f9);
  color: var(--brand);
  text-align: center;
  padding: 14px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border);
}

.tbl th {
  background: #f8fafc;
  color: var(--text2);
  padding: 12px 16px;
  font-size: 11px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tbl td {
  border-bottom: 1px solid var(--surface3);
  padding: 10px 16px;
  background: white;
  vertical-align: middle;
  font-size: 13px;
  text-align: center;
  transition: background 0.15s;
}

.tbl td.left {
  text-align: left;
}

.tbl tr:last-child td {
  border-bottom: none;
}

.tbl tr:hover td {
  background: #f1f5f9;
}

.vi {
  width: 100%;
  border: 1px solid var(--border);
  padding: 8px 12px;
  font-size: 13px;
  background: #f8fafc;
  text-align: center;
  outline: none;
  border-radius: 8px;
  transition: all 0.2s;
}

.vi:focus {
  border-color: var(--brand3);
  background: white;
  box-shadow: 0 0 0 3px rgba(34, 114, 217, 0.15);
}

.vc {
  width: 100%;
  border: 1px solid rgba(22, 163, 74, 0.2);
  padding: 9px 14px;
  font-size: 13px;
  background: rgba(240, 253, 244, 0.7);
  color: #166534;
  text-align: center;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgba(22, 163, 74, 0.05);
  transition: all 0.2s;
}

.vc:hover {
  background: #f0fdf4;
  border-color: rgba(22, 163, 74, 0.4);
}

.vs {
  width: 100%;
  border: 1px solid var(--border);
  padding: 8px 12px;
  font-size: 13px;
  background: #f8fafc;
  border-radius: 8px;
  transition: all 0.2s;
}

.fbox {
  background: #f0f8ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 10px;
  color: #0c4a6e;
  font-family: 'Courier New', monospace;
  margin: 5px 0;
  line-height: 1.7;
}

.info-b {
  display: block;
  background: var(--brand-light);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  font-size: 10px;
  color: var(--brand);
  margin: 3px 0;
}

/* ── RECINTOS ── */
.rec-hdr {
  display: grid;
  grid-template-columns: 1fr 65px 200px 105px 95px 30px;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface2);
  color: var(--text2);
  font-size: 11px;
  font-weight: 700;
  align-items: center;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.rec-row {
  display: grid;
  grid-template-columns: 1fr 65px 200px 105px 95px 30px;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: white;
  align-items: center;
  transition: background 0.2s;
}

.rec-row:hover {
  background: #f8fafc;
}

.rec-tot {
  display: grid;
  grid-template-columns: 1fr 65px 200px 105px 95px 30px;
  gap: 12px;
  padding: 14px 16px;
  background: #f0fdf4;
  font-weight: 700;
  font-size: 12px;
  color: #166534;
  border-top: 2px solid #bbf7d0;
}

.add-btn-g {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
  border: none;
  padding: 9px 18px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 8px;
  margin: 12px 16px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.2);
}

.add-btn-g:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
}

/* ── DOTACIÓN ── */
.dot-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.i-dot {
  border: 1px solid #fcd34d;
  padding: 8px 12px;
  font-size: 13px;
  background: #fffbf0;
  text-align: center;
  width: 100%;
  border-radius: 6px;
  outline: none;
  font-weight: 700;
  color: #92400e;
  transition: all 0.2s;
}

.i-dot:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.i-dot.modified {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #b45309;
}

.dot-reset {
  background: white;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1;
  flex-shrink: 0;
  transition: all 0.2s;
}

.dot-reset:hover {
  color: white;
  background: var(--red);
  border-color: var(--red);
}

/* ── ARTEFACTOS ── */
.add-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  background: var(--surface2);
}

.add-bar label {
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
}

.add-sel {
  border: 1px solid var(--border);
  padding: 9px 14px;
  font-size: 13px;
  background: white;
  border-radius: 8px;
  flex: 1;
  max-width: 320px;
  transition: all 0.2s;
  color: var(--text);
}

.add-sel:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 59, 122, 0.15);
  outline: none;
}

.add-btn {
  border: none;
  color: white;
  padding: 9px 18px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-std {
  background: linear-gradient(135deg, var(--green), #15803d);
}

.btn-cus {
  background: linear-gradient(135deg, var(--amber), #b45309);
}

.art-tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.art-tbl th {
  padding: 10px 14px;
  font-size: 11px;
  border-bottom: 1px solid var(--border);
  background: white;
  text-align: center;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
}

.art-tbl td {
  border-bottom: 1px solid var(--border);
  padding: 8px 14px;
  vertical-align: middle;
  font-size: 13px;
}

.art-tbl tr.cust-row td {
  background: #fffbf0 !important;
}

.art-tbl tr:last-child td {
  border-bottom: none;
}

.td-name {
  text-align: left;
  padding-left: 12px;
  font-weight: 600;
  min-width: 120px;
  color: var(--text);
}

.td-sym {
  text-align: center;
  color: var(--text3);
  width: 50px;
  font-weight: 700;
}

.td-lmin {
  text-align: center;
  width: 60px;
  background: var(--surface3);
  color: var(--text2);
  font-size: 12px;
}

.a-vi {
  width: 64px;
  border: 1px solid var(--border);
  padding: 6px 8px;
  font-size: 13px;
  background: #f8fafc;
  text-align: center;
  outline: none;
  border-radius: 6px;
  transition: all 0.2s;
}

.a-vi:focus {
  border-color: var(--brand3);
  background: white;
  box-shadow: 0 0 0 3px rgba(34, 114, 217, 0.15);
}

.a-vc {
  width: 70px;
  border: 1px solid rgba(22, 163, 74, 0.3);
  padding: 6px 8px;
  font-size: 13px;
  background: #f0fdf4;
  color: #166534;
  text-align: center;
  font-weight: 700;
  border-radius: 6px;
}

.vi-free {
  border: 1px solid #fcd34d;
  padding: 6px 8px;
  font-size: 13px;
  background: white;
  outline: none;
  border-radius: 6px;
  width: 100%;
  transition: all 0.2s;
}

.vi-free:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.vi-g {
  width: 56px;
  border: 1px solid #fcd34d;
  padding: 6px 8px;
  font-size: 13px;
  background: white;
  text-align: center;
  outline: none;
  border-radius: 6px;
  transition: all 0.2s;
}

.vi-g:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.cust-badge {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fcd34d;
  border-radius: 20px;
  font-size: 10px;
  padding: 2px 8px;
  margin-left: 6px;
  font-weight: 700;
}

.tot-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px 20px;
  background: #f8fafc;
  border-top: 1px solid var(--border);
}

.tot-af {
  background: white;
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid #bfdbfe;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.05);
}

.tot-ac {
  background: white;
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid #fecaca;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.05);
}

.tot-lbl {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tot-val {
  font-size: 22px;
  font-weight: 700;
  margin-top: 4px;
}

.tot-val.af {
  color: #1d4ed8;
}

.tot-val.ac {
  color: #b91c1c;
}

.tot-qmp {
  font-size: 12px;
  color: var(--green);
  font-weight: 700;
  margin-top: 4px;
}

/* ── UEH ── */
.ueh-tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.ueh-tbl th {
  background: #f1f5f9;
  color: var(--text);
  padding: 10px 14px;
  font-size: 12px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
}

.ueh-tbl th.left {
  text-align: left;
  padding-left: 16px;
}

.ueh-tbl td {
  border-bottom: 1px solid var(--border);
  padding: 8px 14px;
  background: white;
  vertical-align: middle;
  font-size: 13px;
  text-align: center;
}

.ueh-tbl td.left {
  text-align: left;
  padding-left: 16px;
}

.ueh-tbl tr:last-child td {
  border-bottom: none;
}

.ueh-tbl tr:hover td {
  background: #f8fafc;
}

.ueh-tot td {
  background: #f0fdf4 !important;
  font-weight: 700;
  color: #166534;
}

/* ── PÉRDIDA DE CARGA ── */
.pc-cfg {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--gray-200);
  margin-bottom: 8px;
  border-radius: var(--radius);
}

.pc-cfg label {
  font-size: 10px;
  color: var(--gray-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pc-i {
  border: 1px solid var(--gray-300);
  padding: 3px 6px;
  font-size: 10px;
  background: #fffde7;
  outline: none;
  border-radius: var(--radius-sm);
}

.pc-s {
  border: 1px solid var(--gray-300);
  padding: 3px 6px;
  font-size: 10px;
  background: #fffde7;
  border-radius: var(--radius-sm);
}

.adv-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.adv-c {
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid;
  flex: 1;
  min-width: 140px;
}

.adv-c.ok {
  background: var(--green-light);
  border-color: #a7f3d0;
  color: #166534;
}

.adv-c.warn {
  background: var(--amber-light);
  border-color: #fcd34d;
  color: #92400e;
}

.adv-c.err {
  background: var(--red-light);
  border-color: #fca5a5;
  color: #991b1b;
}

.adv-c.info {
  background: #dbeafe;
  border-color: #bfdbfe;
  color: #1e40af;
}

.adv-c strong {
  display: block;
  font-weight: 700;
  font-size: 10px;
}

.pc-wrap {
  overflow-x: auto;
}

.pc-tbl {
  border-collapse: collapse;
  min-width: 950px;
  width: 100%;
}

.pc-tbl thead th {
  background: #166534;
  color: white;
  padding: 4px 5px;
  font-size: 9px;
  border: 1px solid #14532d;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

.pc-tbl thead th.th-n {
  background: var(--brand);
}

.pc-tbl thead th.th-t {
  background: #92400e;
}

.pc-tbl thead th.th-c {
  background: #1e40af;
}

.pc-tbl thead th.th-v {
  background: #6d28d9;
}

.pc-tbl tbody tr:nth-child(even) td {
  background: #f0fdf4;
}

.pc-tbl tbody tr:nth-child(odd) td {
  background: white;
}

.pc-tbl td {
  border: 1px solid #d1fae5;
  padding: 2px 3px;
  vertical-align: middle;
}

.pci {
  width: 100%;
  border: none;
  padding: 1px 3px;
  font-size: 10px;
  background: transparent;
  outline: none;
  text-align: center;
}

.pci:focus {
  background: #fffde7;
  outline: 1px solid var(--green);
}

.pci-n {
  font-weight: 700;
  color: var(--brand);
}

.pcv {
  display: block;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
}

.pc-sel {
  width: 100%;
  border: none;
  padding: 1px 2px;
  font-size: 9px;
  background: transparent;
  outline: none;
  cursor: pointer;
}

.di-b {
  display: block;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: var(--radius-sm);
  padding: 1px 3px;
}

.vc-ok {
  background: var(--green-light) !important;
}

.vc-warn {
  background: var(--amber-light) !important;
}

.vc-err {
  background: var(--red-light) !important;
}

.t-ok {
  color: #166534;
}

.t-warn {
  color: #92400e;
}

.t-err {
  color: #991b1b;
}

.pc-tbl tfoot td {
  background: #dcfce7 !important;
  font-weight: 700;
  font-size: 10px;
  color: #166534;
  padding: 4px 6px;
  border: 1px solid #a7f3d0;
}

/* ── MISC ── */
.rm-btn {
  background: var(--red);
  color: white;
  border: none;
  padding: 2px 6px;
  font-size: 9px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.rm-btn:hover {
  background: #b91c1c;
}

.hidden {
  display: none;
}

.sep {
  width: 1px;
  height: 18px;
  background: var(--gray-200);
  margin: 0 4px;
}

/* ── INFILTRACIÓN SELECTOR ── */
#inf-sec-h {
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent2) 100%);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* ── MANUAL ── */
.manual-layout {
  display: flex;
  gap: 0;
  height: calc(100vh - 56px - 44px - 44px);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.manual-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: white;
  border-right: 1px solid var(--gray-200);
  overflow-y: auto;
  padding: 12px 0;
}

.manual-sidebar-title {
  font-size: 9px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0 16px 8px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 8px;
}

.manual-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  cursor: pointer;
  font-size: 11px;
  color: var(--gray-600);
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.15s;
  line-height: 1.3;
}

.manual-nav-item:hover {
  background: var(--brand-light);
  color: var(--brand);
}

.manual-nav-item.active {
  background: var(--brand-light);
  color: var(--brand);
  border-left-color: var(--brand);
  font-weight: 600;
}

.manual-nav-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.manual-content {
  flex: 1;
  overflow-y: auto;
  padding: 40px 60px;
  background: white;
}
.manual-content > div {
  max-width: 800px;
  margin: 0 auto;
}

.manual-chapter {
  display: none;
}

.manual-chapter.active {
  display: block;
}

.m-hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand3) 60%, var(--accent2) 100%);
  border-radius: 10px;
  padding: 28px 32px;
  color: white;
  margin-bottom: 24px;
}

.m-hero h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.m-hero p {
  font-size: 12px;
  opacity: 0.8;
  line-height: 1.6;
}

.m-hero-tags {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.m-tag {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.m-h1 {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand);
  margin: 28px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--brand-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.m-h1::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.m-h2 {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand2);
  margin: 18px 0 8px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

.m-p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 14px;
  text-align: left;
}

.m-formula {
  background: linear-gradient(135deg, #f0f8ff, #e8f4ff);
  border: 1px solid #bae6fd;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 14px 0;
  font-family: 'Courier New', monospace;
}

.m-formula-title {
  font-size: 9px;
  font-weight: 700;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.m-formula-eq {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}

.m-formula-vars {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 2px 8px;
  font-size: 11px;
}

.m-formula-vars .var {
  font-weight: 700;
  color: var(--accent2);
}

.m-formula-vars .def {
  color: var(--gray-600);
}

.m-note {
  background: rgba(254, 243, 199, 0.5);
  border: 1px solid #fde68a;
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 12px 0;
  font-size: 11px;
  color: #78350f;
  line-height: 1.6;
}

.m-note-title {
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
  color: #92400e;
}

.m-tip {
  background: var(--green-light);
  border: 1px solid #a7f3d0;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 12px 0;
  font-size: 11px;
  color: #14532d;
  line-height: 1.6;
}

.m-tip-title {
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}

.m-warn {
  background: var(--red-light);
  border: 1px solid #fca5a5;
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 12px 0;
  font-size: 11px;
  color: #7f1d1d;
  line-height: 1.6;
}

.m-warn-title {
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}

.m-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 11px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.m-table th {
  background: var(--brand);
  color: white;
  padding: 7px 10px;
  text-align: center;
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.m-table th.left {
  text-align: left;
}

.m-table td {
  border: 1px solid var(--gray-200);
  padding: 5px 10px;
  text-align: center;
  background: white;
  color: var(--gray-700);
}

.m-table td.left {
  text-align: left;
}

.m-table tr:nth-child(even) td {
  background: var(--gray-50);
}

.m-table tr.highlight td {
  background: var(--amber-light);
  font-weight: 700;
  color: #92400e;
}

.m-steps {
  counter-reset: steps;
  list-style: none;
  margin: 12px 0;
}

.m-steps li {
  counter-increment: steps;
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  align-items: flex-start;
}

.m-steps li::before {
  content: counter(steps);
  background: var(--brand);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.m-steps li span {
  font-size: 12px;
  color: var(--gray-700);
  line-height: 1.65;
}

.m-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0;
}

.m-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.m-card-icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.m-card-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 6px;
}

.m-card-text {
  font-size: 11px;
  color: var(--gray-600);
  line-height: 1.6;
}

.m-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 20px 0;
}

.m-ref {
  font-size: 10px;
  color: var(--gray-400);
  text-align: right;
  margin-top: 8px;
  font-style: italic;
}
/* ANIMACIONES MAGICAS PORTADA */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-title { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both 0.1s; }
.hero-sub { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both 0.2s; }
.hero-btns { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both 0.3s; }
.hero-demo-wrapper { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both 0.4s; }
.features { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both 0.4s; }

/* CALCULADORA HONORARIOS */
.hon-res-box { background: linear-gradient(135deg, #7c3aed, #6d28d9); border-radius: 12px; padding: 24px; color: white; box-shadow: 0 10px 25px rgba(124, 58, 237, 0.2); }
.hon-title { font-size: 11px; font-weight: 800; letter-spacing: 1px; margin-bottom: 20px; opacity: 0.9; text-transform: uppercase; }
.hon-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 15px; margin-bottom: 20px; }
.hon-card { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 8px; padding: 16px 10px; text-align: center; }
.hon-card.rec { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.15); transform: scale(1.05); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.hon-card .hl { font-size: 12px; font-weight: 600; margin-bottom: 8px; opacity: 0.9; }
.hon-card .hn { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.hon-breakdown { border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 15px; font-size: 12px; line-height: 1.8; opacity: 0.85; }

/* FIX BIBLIOTECA WIDTH EXPANSION */
.bib-layout, .bib-body, .bib-main { width: 100% !important; min-width: 0 !important; }


/* DATAPLUS DARK MODE B2B */
#page-inicio .hero { background: #0b0f19; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 50px 50px; }
#page-inicio .hero-title { color: #ffffff !important; font-weight: 800; letter-spacing: -1px; }
#page-inicio .hero-title span { color: #3b82f6 !important; }
#page-inicio .hero-sub { color: #94a3b8 !important; }
#page-inicio .hd-card { background: rgba(15, 23, 42, 0.6) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important; backdrop-filter: blur(12px); color: white; }
#page-inicio .hd-bar { border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; background: transparent !important; color: white !important; }
#page-inicio .hd-field, #page-inicio .hd-calc-row { border-bottom: 1px solid rgba(255,255,255,0.05) !important; color: white !important; }
#page-inicio .hd-field-lbl, #page-inicio .hd-calc-desc { color: #94a3b8 !important; }
#page-inicio .features { background: #0b0f19 !important; border-top: 1px solid rgba(255,255,255,0.05); }
#page-inicio .section-title { color: #ffffff !important; }
#page-inicio .feature-card { background: rgba(255,255,255,0.03) !important; border: 1px solid rgba(255,255,255,0.05) !important; color: white !important; }
#page-inicio .feature-desc { color: #94a3b8 !important; }
.hero-badge { color: white !important; border-color: rgba(255,255,255,0.2) !important; background: rgba(255,255,255,0.05) !important; }
.hero-trusted { max-width: 1200px; margin: 40px auto 0 auto; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.hero-trusted span { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: #64748b; font-weight: 700; }
.hero-trusted-logos { display: flex; justify-content: center; gap: 40px; margin-top: 20px; opacity: 0.5; filter: grayscale(100%) brightness(200%); font-weight: 800; color: white; letter-spacing: 1px; font-size: 18px; }



/* HOTFIX DATAPLUS TITLES & BACKGROUND ANIMATION */
#page-inicio .feature-title { color: #ffffff !important; }

#page-inicio {
  background: #0b0f19 !important;
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Gota Celeste 1 (Flotando arriba derecha) */
#page-inicio::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60vw;
  max-width: 800px;
  height: 60vw;
  max-height: 800px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  animation: floatOrb 15s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Gota Turquesa 2 (Flotando abajo izquierda) */
#page-inicio::after {
  content: "";
  position: absolute;
  top: 40%;
  left: -10%;
  width: 70vw;
  max-width: 900px;
  height: 70vw;
  max-height: 900px;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  animation: floatOrb2 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-10%, 15%); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(15%, -10%); }
}

/* Hacer transparentes los fondos de seccion para que se vea el liquido por debajo */
#page-inicio .hero { background-color: transparent !important; z-index: 1; }
#page-inicio .features { background-color: transparent !important; z-index: 1; position: relative; }
#page-inicio .workflow { background-color: transparent !important; z-index: 1; position: relative; }


/* ══ APP SHELL & SIDEBAR (Intranet Layout) ══ */
.app-shell {
  display: none;
  flex-direction: row;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 200;
}

/* ── Sidebar ── */
/* ── Sidebar (Themable) ── */
:root {
  --sb-bg: #ffffff;
  --sb-color: #64748b;
  --sb-border: rgba(0,0,0,0.06);
  --sb-header-border: rgba(0,0,0,0.05);
  --sb-item-hover-bg: rgba(37,99,235,0.03);
  --sb-item-active-bg: rgba(37,99,235,0.06);
  --sb-item-active-text: #2563eb;
  --sb-logo-text: #0f172a;
  --sb-logo-sub: #64748b;
  --sb-name: #0f172a;
  --sb-role: #64748b;
  --sb-item-color: #475569;
  --sb-section-label: #94a3b8;
}

body.dark {
  --sb-bg: #0d1e3d; /* Deep Blue DeepERP style */
  --sb-color: #94a3b8;
  --sb-border: rgba(255,255,255,0.05);
  --sb-header-border: rgba(255,255,255,0.05);
  --sb-item-hover-bg: rgba(56,189,248,0.04);
  --sb-item-active-bg: rgba(56,189,248,0.1);
  --sb-item-active-text: #38bdf8;
  --sb-logo-text: #ffffff;
  --sb-logo-sub: #94a3b8;
  --sb-name: #ffffff;
  --sb-role: #94a3b8;
  --sb-item-color: #94a3b8;
  --sb-section-label: #4b5563;
}

.app-sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--sb-bg);
  color: var(--sb-color);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border-right: 1px solid var(--sb-border);
  transition: width 0.25s cubic-bezier(.4,0,.2,1), min-width 0.25s cubic-bezier(.4,0,.2,1), background 0.3s, color 0.3s;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.app-sidebar.collapsed {
  width: 72px;
  min-width: 72px;
}

/* ── Sidebar Header (Logo) ── */
.app-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px 18px;
  border-bottom: 1px solid var(--sb-header-border);
  flex-shrink: 0;
}

.sb-logo-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  white-space: nowrap;
}

.sb-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg,#2563eb,#06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37,99,235,.35);
}

.sb-logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--sb-logo-text);
  letter-spacing: -.3px;
  transition: opacity 0.2s, color 0.3s;
}

.sb-logo-sub {
  font-size: 9.5px;
  color: var(--sb-logo-sub);
  letter-spacing: .5px;
  text-transform: uppercase;
  font-weight: 600;
  transition: opacity 0.2s, color 0.3s;
}

.app-sidebar.collapsed .sb-logo-text,
.app-sidebar.collapsed .sb-logo-sub {
  opacity: 0;
  pointer-events: none;
}

/* Collapse toggle button */
.sb-collapse-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--sb-border);
  background: var(--sb-item-hover-bg);
  color: var(--sb-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  font-size: 11px;
  font-weight: 700;
  font-family: monospace;
  user-select: none;
}
.sb-collapse-btn:hover { background: var(--sb-item-active-bg); color: var(--sb-item-active-text); }

/* ── Sidebar User ── */
.app-sidebar-user {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  cursor: pointer;
  border-bottom: 1px solid var(--sb-header-border);
  transition: background 0.15s;
  overflow: hidden;
  flex-shrink: 0;
}
.app-sidebar-user:hover { background: var(--sb-item-hover-bg); }

.sb-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg,#2563eb22,#06b6d422);
  border: 1.5px solid rgba(37,99,235,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  flex-shrink: 0;
}
body.dark .sb-avatar { color: #60a5fa; }

.sb-user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.app-sidebar.collapsed .sb-user-info { opacity: 0; pointer-events: none; }

.sb-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--sb-name);
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}
.sb-role {
  font-size: 11px;
  color: var(--sb-role);
  transition: color 0.3s;
}

/* ── Sidebar Nav ── */
.app-sidebar-nav {
  flex: 1;
  padding: 16px 10px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-sidebar-nav::-webkit-scrollbar { width: 4px; }
.app-sidebar-nav::-webkit-scrollbar-thumb { background: var(--sb-border); border-radius: 2px; }

.sb-section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--sb-section-label);
  letter-spacing: .7px;
  text-transform: uppercase;
  padding: 12px 10px 6px;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.2s, color 0.3s;
}
.app-sidebar.collapsed .sb-section-label { opacity: 0; height: 0; padding: 0; }

.sb-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--sb-item-color);
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.sb-nav-item:hover {
  background: var(--sb-item-hover-bg);
  color: var(--sb-logo-text);
}

.sb-nav-item.active {
  background: var(--sb-item-active-bg);
  color: var(--sb-item-active-text);
  font-weight: 600;
}

.sb-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  background: #2563eb;
  border-radius: 0 2px 2px 0;
}

.sb-icon {
  font-size: 17px;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.sb-item-text {
  transition: opacity 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-sidebar.collapsed .sb-item-text { opacity: 0; pointer-events: none; }

.sb-divider {
  height: 1px;
  background: var(--sb-header-border);
  margin: 8px 0;
}

/* ── Sidebar Footer ── */
.app-sidebar-footer {
  padding: 16px 10px;
  border-top: 1px solid var(--sb-header-border);
  flex-shrink: 0;
}

.sb-logout-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: transparent;
  color: var(--sb-item-color);
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  font-family: inherit;
}
.sb-logout-btn:hover { background: rgba(239,68,68,0.08); color: #f87171; }
.sb-logout-btn .sb-icon { font-size: 17px; width: 22px; text-align: center; flex-shrink: 0; }
.sb-logout-btn .sb-item-text { transition: opacity 0.2s; }
.app-sidebar.collapsed .sb-logout-btn .sb-item-text { opacity: 0; }


/* ── Main Content Area ── */
.app-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--surface2);
  overflow-y: auto;
  position: relative;
  min-width: 0;
  transition: background 0.3s, color 0.3s;
}

body.dark .app-main-content {
  background: #09090b;
  color: #f8fafc;
}


/* ── Content Theming Fixes (High Contrast) ── */
body.dark .premium-card, 
body.dark .panel,
body.dark .hs-card,
body.dark .card,
body.dark .sec-h,
body.dark .sec-b,
body.dark .manual-chapter,
body.dark .m-formula-box {
  background: #18181b !important;
  border-color: #27272a !important;
  color: #f1f5f9 !important;
}

body.dark table,
body.dark .tbl,
body.dark tr,
body.dark td,
body.dark th {
  background: #18181b !important;
  color: #cbd5e1 !important;
  border-color: #27272a !important;
}

body.dark table thead tr,
body.dark .tbl thead tr,
body.dark tr:nth-child(even) {
  background: #27272a !important;
}

body.dark table th,
body.dark .tbl th {
  background: #1e1e24 !important;
  color: #f8fafc !important;
}

body.dark .sec-h {
  background: #1e293b !important;
  color: #38bdf8 !important;
}

body.dark mark,
body.dark .hl-yellow {
  background: #fde047 !important;
  color: #000000 !important;
  font-weight: 700;
  padding: 0 4px;
}

body.dark input,
body.dark select,
body.dark textarea {
  background: #09090b !important;
  border-color: #3f3f46 !important;
  color: #f8fafc !important;
}

body.dark .section-title,
body.dark .m-title,
body.dark h1,
body.dark h2,
body.dark h3,
body.dark b,
body.dark strong {
  color: #f1f5f9 !important;
}

body.dark .section-sub,
body.dark .m-text,
body.dark p,
body.dark span:not(.sb-icon) {
  color: #94a3b8 !important;
}

/* Specific fix for blue result boxes in screenshot */
body.dark div[style*="background:#f0f9ff"],
body.dark div[style*="background:#e0f2fe"] {
  background: #1e3a8a !important;
  color: #e0f2fe !important;
  border-color: #1d4ed8 !important;
}

body.dark div[style*="background:#f0fdf4"] {
  background: #064e3b !important;
  color: #dcfce7 !important;
  border-color: #059669 !important;
}



/* ── Módulo MAP Premium ── */
.map-alert-banner {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 12px;
  color: #991b1b;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(220,38,38,0.05);
}
.map-alert-banner.visible { display: flex; align-items: flex-start; gap: 10px; }
.map-alert-banner b { color: #dc2626; display: block; margin-bottom: 2px; }

.status-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.status-box.ok { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.status-box.err { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
.status-box.suggest { background: #fef9c3; color: #854d0e; border: 1px solid #fef08a; }

.premium-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  margin-bottom: 16px;
}
body.dark .premium-card { background: #27272a; border-color: #3f3f46; }

.th-allcaps {
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: .5px;
  color: #64748b;
  font-weight: 700;
  padding: 10px 12px !important;
}
body.dark .th-allcaps { color: #94a3b8; }

/* ═══ COTIZADOR HONORARIOS (TECH DARK MODE) ═══ */
#page-honorarios {
  background-color: #030712; /* Tailwind gray-950 */
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  color: #f8fafc;
  padding: 60px 20px 80px;
}

.h-bg-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, rgba(3,7,18,0) 70%);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.h-glass-container {
  position: relative;
  z-index: 1;
  max-width: 950px;
  margin: 0 auto;
  animation: hFadeIn 0.6s ease-out forwards;
}

@keyframes hFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.h-title {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  background: linear-gradient(to right, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.h-subtitle {
  font-size: 16px;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.h-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .h-grid { grid-template-columns: 1fr; gap: 24px; }
  .h-title { font-size: 32px; }
}

.h-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.h-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  border-color: rgba(56, 189, 248, 0.2);
}

.h-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.h-icon-box {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #38bdf8;
}

.h-field {
  margin-bottom: 20px;
}

.h-lbl {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.h-radio {
  flex: 1;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #94a3b8;
  transition: all 0.2s;
}
.h-radio:has(input:checked) {
  background: rgba(56, 189, 248, 0.1);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 15px rgba(56,189,248,0.1);
}

.h-sel, .h-inp {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.h-sel:focus, .h-inp:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.h-sel option {
  background: #0f172a;
  color: #f8fafc;
}

.h-chk-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.h-chk-label:hover {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(255,255,255,0.15);
}
.h-chk-neon {
  border-color: rgba(14, 165, 233, 0.3);
  background: linear-gradient(to right, rgba(14, 165, 233, 0.05), rgba(14, 165, 233, 0.02));
}
.h-chk-neon:hover {
  border-color: rgba(14, 165, 233, 0.6);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.1);
}
.h-chk {
  width: 18px;
  height: 18px;
  accent-color: #38bdf8;
  margin-top: 2px;
  cursor: pointer;
}
.h-chk-text {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.4;
}

.h-result-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(56, 189, 248, 0.05) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(14, 165, 233, 0.15);
}
.h-result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.h-res-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #bae6fd;
  font-weight: 600;
  margin-bottom: 8px;
}

.h-res-main {
  font-size: 56px;
  font-weight: 800;
  color: white;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'DM Serif Display', serif;
}

.h-res-detail {
  font-size: 13px;
  color: #7dd3fc;
  margin-bottom: 24px;
}

.h-res-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.3), transparent);
  margin-bottom: 20px;
}

.h-res-minmax {
  text-align: center;
}
.h-res-minmax-lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 4px;
}
.h-res-minmax-val {
  font-size: 18px;
  font-weight: 600;
  color: #cbd5e1;
}

.h-cta-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.h-cta-title {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}
.h-cta-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 16px;
}
.h-cta-btn {
  background: #38bdf8;
  color: #0f172a;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}
.h-cta-btn:hover {
  background: #7dd3fc;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}
