/* MatSoft unified public brand presentation v1: one design language across
   the existing landing sections; no external assets or ClickCard styling. */
.ms-premium.ms-home {
  --ms-brand-ink:#0b1c38;
  --ms-brand-deep:#071830;
  --ms-brand-blue:#2364b6;
  --ms-brand-cyan:#67c5f3;
  --ms-brand-soft:#e5f0fc;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ms-brand-ink);
}
.ms-premium.ms-home .ms-container{max-width:1220px}
.ms-premium.ms-home :is(h1,h2,h3){
  letter-spacing:-.035em;
  text-wrap:balance;
}
.ms-premium.ms-home :is(p,li,small){
  overflow-wrap:break-word;
}
.ms-premium.ms-home :is(a,button):focus-visible{
  outline:3px solid var(--ms-brand-cyan);
  outline-offset:3px;
}
.ms-premium.ms-home .ms-eyebrow{
  font-size:11px;
  letter-spacing:.12em;
  font-weight:750;
}
/* A compact, consistent navigation bar with a visible video command. */
.nfc-bar{
  background:rgba(7,24,48,.98)!important;
  border-bottom:1px solid #173352!important;
  backdrop-filter:blur(14px);
}
.nfc-bar .nfc-bar-inner{
  max-width:1340px;
  gap:clamp(9px,1.4vw,18px);
  padding-inline:clamp(16px,4vw,54px);
}
.nfc-bar .nfc-brand{white-space:nowrap}
.nfc-bar .nfc-video-link{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  flex:0 0 auto;
  width:42px;
  height:42px;
  min-height:42px;
  padding:0;
  border:1px solid #5b8bb4;
  border-radius:12px;
  background:linear-gradient(145deg,#153957,#1a4774);
  color:#a5e3ff;
  box-shadow:inset 0 1px 0 #ffffff18,0 4px 12px #0002;
  font:700 12px/1.2 system-ui,sans-serif;
  cursor:pointer;
  white-space:nowrap;
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.nfc-bar .nfc-video-link:hover{
  background:#2465aa;
  border-color:#7ecff6;
  transform:translateY(-1px);
}
.nfc-bar .nfc-video-link svg{display:block;flex:none}
.nfc-bar .nfc-primary{
  background:#2467c5!important;
  padding:11px 15px!important;
  border-radius:11px!important;
  white-space:nowrap;
  font-size:12px;
}
.nfc-bar .nfc-account{white-space:nowrap;font-size:12px}
.nfc-bar .nfc-bar-inner>nav{min-width:0;gap:0}
.nfc-bar .nfc-bar-inner>nav a{
  font-size:12px;
  white-space:nowrap;
  padding-inline:9px;
}
/* Legacy landing blocks inherit the same spacing, text color and section rhythm. */
.ms-premium.ms-home .mh-crm{
  padding-block:clamp(60px,7vw,110px);
  background:#f4f8fd;
}
.ms-premium.ms-home .mh-crm h2{color:#091e3e}
.ms-premium.ms-home .ms-crm-stage{box-shadow:0 22px 55px #06173318}
.ms-premium.ms-home .ms-faq-grid{padding-block:clamp(40px,6vw,85px)}
.ms-premium.ms-home .mh-final{
  background:linear-gradient(130deg,#071931,#103b64);
}
/* Keyboard, mobile and motion accessibility. */
@media(max-width:1280px){
  .nfc-bar .nfc-bar-inner>nav,
  .nfc-bar .nfc-account{display:none!important}
  .nfc-bar .nfc-mobile-menu{display:block!important}
  .nfc-bar .nfc-brand{margin-right:auto}
  .nfc-bar .nfc-mobile-menu>nav{
    display:grid;
    gap:6px;
    position:absolute;
    top:100%;
    right:12px;
    left:auto;
    width:min(320px,calc(100vw - 24px));
    min-width:0;
    max-height:75dvh;
    overflow-y:auto;
    background:#081b36;
    border:1px solid #325b87;
    padding:11px;
    border-radius:0 0 13px 13px;
    box-shadow:0 19px 30px #0006;
  }
}
@media(max-width:650px){
  .nfc-bar .nfc-bar-inner{min-height:62px;padding-inline:13px;gap:7px}
  .nfc-bar .nfc-brand{font-size:17px}
  .nfc-bar .nfc-brand img{width:30px;height:30px}
  .nfc-bar .nfc-bar-inner>.nfc-video-link{width:38px;height:38px;min-height:38px;padding:0}
  .nfc-bar .nfc-primary{padding:10px!important;font-size:11px}
}
@media(max-width:400px){
  .nfc-bar .nfc-bar-inner>.nfc-video-link{width:34px;height:36px;min-height:36px}
  .nfc-bar .nfc-bar-inner>.nfc-video-link svg{width:20px;height:20px}
  .nfc-bar .nfc-primary{font-size:10px;padding:9px!important}
  .nfc-bar .nfc-brand{font-size:15px}
}
@media(prefers-reduced-motion:reduce){
  .nfc-bar .nfc-video-link{transition:none}
}

/* Identity benefits, using the existing MatSoft brand palette. */
.ms-home .matsoft-feature-grid .mh-product{min-width:0}
.ms-home .matsoft-feature-photo{width:100%;height:clamp(220px,32vw,300px);object-fit:contain;object-position:center;border-radius:12px;margin:12px 0;background:#0b152b}
.ms-home .matsoft-search-preview{background:#0b152b;border:1px solid #465c77;border-radius:12px;padding:16px;margin:8px 0 14px;min-width:0;color:#d7e3f1}
.ms-home .matsoft-search-preview strong{display:block;color:#a9ddff;font-size:17px;margin:7px 0}
.ms-home .matsoft-search-preview small{font-size:12px;color:#bfd4e9;overflow-wrap:anywhere}
.ms-home .matsoft-search-preview p{font-size:13px;line-height:1.5;margin:5px 0}
.ms-home .matsoft-domain-visual{background:var(--ms-brand-deep);color:white;padding:clamp(20px,4vw,44px);min-width:0;align-self:stretch;display:grid;align-content:center;gap:14px}
.ms-home .matsoft-domain-visual .ms-eyebrow,.ms-home .matsoft-domain-visual small{color:#dce9f8}
.ms-home .matsoft-domain-browser{background:#15253c;color:#f4f8ff;border:1px solid #465c77;border-radius:15px;overflow:hidden;box-shadow:0 18px 35px #0003}
.ms-home .matsoft-domain-browser>span{display:block;padding:12px 16px;background:#0b152b;color:#bfd4e9;font-size:11px}
.ms-home .matsoft-domain-browser>strong{display:block;padding:14px 16px;font-size:clamp(19px,3vw,27px);overflow-wrap:anywhere}
.ms-home .matsoft-domain-browser>div{background:#1c3559;padding:22px 16px}
.ms-home .matsoft-domain-browser>div small{color:#a9ddff;font-weight:700}
.ms-home .matsoft-domain-browser h3{font-size:clamp(22px,4vw,34px);margin:8px 0}
.ms-home .matsoft-domain-browser p{font-size:13px;margin:0}
.ms-home #disenos,.ms-home #dominios{scroll-margin-top:90px}
@media(max-width:700px){.ms-home .matsoft-domain-visual{padding:22px}.ms-home .matsoft-domain-section{grid-template-columns:minmax(0,1fr)}}

@media(max-width:360px){.nfc-bar .nfc-bar-inner{gap:5px;padding-inline:9px}.nfc-bar .nfc-primary{padding:7px!important;font-size:10px!important;white-space:normal;text-align:center;line-height:1.15;max-width:72px;min-width:0}.nfc-bar .nfc-brand{gap:4px}.nfc-bar .nfc-brand img{width:26px;height:26px}.nfc-bar .nfc-mobile-menu summary{padding-inline:5px}}

.ms-home .matsoft-campaign-note{padding:12px 16px;margin:0 0 18px;border-left:3px solid var(--ms-brand-blue);background:var(--ms-brand-soft);color:var(--ms-brand-ink);font-size:14px;line-height:1.6;border-radius:6px}
